The main thing to note in this test is the Battery Cycle Count. Battery Cycle Count tells you the maximum number of times you can charge your battery and the remaining number of cycle count.
Steps for testing:
1. Open HP Support Assistant.
2. At the Bottom Click on Diagnostics
3. Then Click on HP Battery Check. You should see an image as below:
4. Once the test is successfully conducted in the result screen click on Advanced and you should see a detailed result as below:
In the image as you can see my cycle count is 361/300 means the life span of my batter is already over and I am due by once cycle count; which means time for me to replace my battery.