Test a laptop battery: the powercfg report, step by step
Windows measures battery wear without extra software. Run the powercfg battery report, work out the wear, and decide: keep it, new battery or new laptop.
Updated 14 November 2026 · 5 min read
"My laptop no longer lasts the day." It is one of the most frequent complaints, and often the reason for a complete replacement. Yet the battery is a wear part: it loses capacity with every cycle, while the rest of the machine may be in perfect condition. Before replacing the laptop, measure the battery. Windows can do it on its own.
The short answer
To test a laptop battery on Windows, run powercfg /batteryreport in PowerShell, open the generated report, then compare the current capacity (Full charge capacity) with the original capacity (Design capacity). Below 80%, the wear is noticeable; below 60 to 70%, replacing the battery is justified, often long before replacing the laptop. For a whole fleet, LongLife tracks the wear of every battery continuously, without running anything on the devices.
Step 1: generate the battery report
Open PowerShell (right-click the Start button, then "Terminal") and run:
powercfg /batteryreport /output "$env:USERPROFILE\rapport-batterie.html"Windows replies with the path of the file it created. Open it in the browser:
Start-Process "$env:USERPROFILE\rapport-batterie.html"On a desktop with no battery, the command reports that no battery was found.
Step 2: read the report
Four sections are enough.
Installed batteries: the battery's identity card.
| Report line | What it means |
|---|---|
| DESIGN CAPACITY | Original capacity, in mWh, when the battery was new |
| FULL CHARGE CAPACITY | Current capacity, what the battery holds today when full |
| CYCLE COUNT | Number of full charge cycles (two 50% charges make one cycle) |
| CHEMISTRY | Battery technology (LiP, Li-ion) |
Battery capacity history: how capacity has changed week after week. A sharp drop signals a battery that is degrading fast.
Battery life estimates: estimated battery life today, compared with that of the new battery (At design capacity column).
Recent usage: periods on battery and on mains power over the last few days, useful to check a battery life complaint.
A possible surprise: a new battery sometimes shows a current capacity slightly above its original capacity. That is normal; it then decreases over time.
Step 3: calculate the wear
The formula is simple:
state of health = current capacity ÷ original capacity × 100
Example: original capacity 50,000 mWh, current capacity 38,000 mWh, the battery is at 76%, which means 24% wear.
To get the percentage directly, or to use it in a script, query Windows in PowerShell as administrator:
$origine = (Get-CimInstance -Namespace root\wmi -ClassName BatteryStaticData).DesignedCapacity
$actuelle = (Get-CimInstance -Namespace root\wmi -ClassName BatteryFullChargedCapacity).FullChargedCapacity
[math]::Round($actuelle / $origine * 100)The result is the state of health as a percentage. On a laptop with two batteries, these commands return two values: use the report instead.
The cycle count is also available, when the manufacturer provides it (a value of 0 often means "not reported"):
(Get-CimInstance -Namespace root\wmi -ClassName BatteryCycleCount).CycleCountLongLife does this calculation for you on every laptop in the fleet. Battery wear feeds into the device's health grade: tired batteries rise to the top of the list on their own.
Step 4: interpret the result
| State of health | What the user notices | Recommended decision |
|---|---|---|
| 80% and above | Battery life close to new | Nothing to do |
| 70 to 80% | One to two hours less than at the start | Monitor, power-saving settings |
| 60 to 70% | No longer lasts half a day of meetings | Replace the battery if the device is used on the move |
| Below 60% | Has to stay plugged in | Replace the battery, or the device if other parts are worn |
These thresholds are benchmarks, not rules: a device that sits on a desk plugged in all day can keep a worn battery without any problem. Add the unmistakable signs to the diagnosis: a swollen battery (casing that deforms, touchpad lifting), sudden shutdown at 20 or 30%. A swollen battery must be replaced without delay.
Manufacturer tools
The major manufacturers also offer their own diagnostics, sometimes more detailed: Dell SupportAssist, HP Support Assistant and HP hardware diagnostics, Lenovo Vantage (or Commercial Vantage in businesses). They also let you limit charging to 80% on devices that stay plugged in, which slows wear.
Replace the battery or the laptop?
A new battery costs a fraction of the price of a new laptop and gives several more years of mobile use. If the rest of the device is healthy (disk, memory, reasonable startup, processor compatible with Windows 11), replacing the battery is almost always the best decision, for the budget as well as for the carbon footprint. Replacing the laptop is worth discussing when several parts are worn at the same time: also check the startup time and the state of updates. We set out the complete method in our article on the lifespan of a laptop.
LongLife: every battery in the fleet, without running a single command
Testing one battery takes two minutes. Testing 80 laptops every month takes a lot longer. With LongLife:
- the wear of each battery is tracked continuously, and feeds into the device's health grade;
- batteries that need replacing stand out on their own, ranked by urgency, alongside the rest of the device's condition (disk, memory, startup, security);
- the decision is costed: keep, replace the battery or replace the laptop, with the cost and CO₂e of each option, device by device or in batches for a site;
- the replacement follows: the OPP! workshop in Nantes, which publishes LongLife, replaces batteries, repairs boards with micro-soldering and refurbishes devices.
Replacing a battery at the right time instead of a whole laptop means avoiding the price of a new laptop and the footprint of its manufacture, device after device. The free plan covers up to 15 devices: estimate the gain with the simulator or book a meeting.
Sources
- Microsoft, powercfg command-line options: learn.microsoft.com
- Microsoft, Get-CimInstance documentation: learn.microsoft.com
Frequently asked questions
How do I test a laptop battery on Windows?
Open PowerShell and run powercfg /batteryreport. Windows generates an HTML report showing the battery's original capacity (Design capacity), its current capacity (Full charge capacity) and the cycle count. The ratio between the two capacities gives its state of health.
How do I calculate battery wear?
Divide the current capacity by the original capacity and multiply by 100. A battery designed for 50,000 mWh that now holds only 38,000 is at 76% of its original capacity, which means 24% wear.
When should a laptop battery be replaced?
A common benchmark: below 80% of its original capacity, the loss of battery life becomes noticeable day to day. Below 60 to 70%, and if the user often works away from a socket, replacing the battery is justified. The rest of the device may be in perfect condition.
Is it better to replace the battery or the laptop?
If the rest of the device is healthy and compatible with Windows 11, replacing the battery is almost always cheaper and extends its use by several years. Replacing the laptop is worth discussing when several components are worn at the same time.
How much longer can your fleet last?
The simulator estimates in one minute the budget and CO₂ saved by extending your renewal cycle.