Method and privacy

How the battery health checker works

What the checker reads from your Windows battery report, how it calculates health and wear, what each result label means, and why the report never leaves your browser.

The battery health checker on the homepage is a small script that runs in your browser. You give it the battery-report.html file that Windows creates with powercfg /batteryreport, or you type two numbers from it, and it turns them into a health percentage with a short explanation. This page explains exactly what happens in between, so you can judge the result for yourself.

What the checker reads from your report

From the Installed batteries section of the report it reads:

  • Design Capacity: what the battery held when it was new, in mWh.
  • Full Charge Capacity: what it holds today, in mWh.
  • Cycle Count, if your laptop's firmware reports it.
  • The battery's name, manufacturer and chemistry, shown only as labels on the result.

It also looks for the Battery capacity history table. If that table has at least two usable rows, the result includes a small chart of how health has changed over time.

Windows formats numbers according to your region, so the same value can appear as 47,520, 47.520 or 47 520. The checker keeps only the digits, so all three read as 47,520 mWh. If you're not sure which part of the report is which, how to read a Windows battery report goes through every section.

How it calculates health and wear

The calculation is the same one you can do by hand:

Health = Full Charge Capacity ÷ Design Capacity × 100
Wear = 100 − Health

For example, my office ThinkPad's report shows a Design Capacity of 47,520 mWh and a Full Charge Capacity of 27,380 mWh. 27,380 ÷ 47,520 = 57.6% health, or 42.4% wear. If the full charge figure is higher than the design figure, which can happen after a battery replacement or a firmware recalibration, the checker shows how far above design it is instead of a negative wear figure.

The cycle count is shown as context only. It doesn't change the health percentage, because cycle ratings differ between batteries and some laptops don't report the count at all. The formula is covered in more detail, with a calculator, in how to calculate laptop battery health.

What the result labels mean

HealthLabelSuggested next step
Above 110%Check readingGenerate a fresh report and compare
90–110%ExcellentKeep using normal battery-care habits
80–89.9%GoodMonitor the trend, not a single reading
70–79.9%FairPlan around shorter runtime
60–69.9%WornConfirm, then consider replacement
Below 60%Replace soonArrange inspection or replacement

Below 70%, the result also shows a safety note: capacity is not a safety test, and a swollen, leaking or unusually hot battery needs attention whatever the percentage says. These bands are guidance, not a verdict; is 80% battery health good? explains why the same number can mean different things on a new and an old laptop.

Checks it runs before showing a result

  • The file has to be an HTML file of up to 10 MB, which every normal battery report is.
  • If Full Charge Capacity is below 5% or above 150% of Design Capacity, the checker treats the values as unusual and asks you to check the report or enter the numbers manually, instead of showing a misleading result.
  • In manual entry, both capacities must be positive numbers and the cycle count, if you enter one, must be a whole number.
  • Rows in the capacity history that are clearly impossible (below 5% or above 200% of design) are left out of the chart.

These limits come from real reports. Windows sometimes records odd values, like a battery that seems to triple in capacity for a day; the real battery report data page lists the ones I found.

What happens to your report

Nothing leaves your computer. The checker reads the file with your browser's built-in file API and parses it on the page. The checker's code makes no network request with your report or your numbers, and nothing is stored after you close the page.

The site uses Google Analytics. The checker sends it only an anonymous event such as "analysis completed" and whether you used a report file or manual entry. It never sends capacity values, battery names, serial numbers or the file itself. The page also loads Google's analytics and advertising scripts, which see your visit the way they do on any website, but they never receive the report's contents.

You can check this yourself: open your browser's developer tools, go to the Network tab, and analyse a report. You'll see no upload. The privacy policy covers the rest of the site.

What the checker can't tell you

  • It can only use what Windows reports. The numbers come from the battery's own controller. If the firmware doesn't expose a cycle count, the checker can't show one; see how to check battery cycle count.
  • One report is a snapshot. Readings can jump between reports, so compare two or three before deciding anything.
  • It isn't a safety test. Physical signs like swelling matter more than any percentage.
  • It doesn't measure runtime. For hours per charge, use the battery life calculator.

How it was tested

I built the checker myself and tested it with battery reports from four real laptops: two Lenovo ThinkPads, a Lenovo 82TS and an HP ZBook Firefly 14 G7. Their health ranges from 24.9% to 94.8%, two of them don't report a cycle count, and some of their history rows contain impossible values, which is why the checks above exist. I also tried the manual entry with edge cases, such as a full charge value above design and values far outside the normal range.

If a result looks wrong for your report, tell me what it showed and which laptop you have.

Kamran Liaquat Ali

Written by

Kamran Liaquat Ali

Senior software engineer in Karachi with more than five years of experience building web applications in ASP.NET Core, C# and JavaScript. He built the free battery health checker and checks each guide against Microsoft and laptop makers’ support documentation.