Command Prompt remains the fastest way to pull your battery’s health data on Windows 11 24H2. One command generates a detailed HTML report; this guide shows you the exact commands, where the file lands, and how to read every section that matters.
No software to install, no settings to hunt — just CMD and two minutes.
This guide is written for 24H2 specifically because that’s where most of the confusion lives: the update changed drivers, renamed power features, and left some users with empty reports. Every command below is tested against 24H2, with the 24H2-specific gotchas called out where they bite. By the end you’ll not only have the report — you’ll know exactly which numbers prove your battery’s condition and which ones you can safely ignore.
Why this happens
- Settings hides the data: Windows 11 shows battery percentage but never the underlying health numbers. CMD is the only built-in route to them.
- Silent failures confuse users: Without admin rights, the command appears to do nothing. Knowing the exact elevation requirement avoids the confusion.
- Default path is unreachable: The report lands in System32 by default, so users think the command failed when the file is just hard to open.
- 24H2 driver issues: The 24H2 update can leave battery drivers broken, producing empty reports that look like a CMD problem.
- Misread numbers: Even when the report opens, users don’t know which figures matter. The guide below decodes them.
How to fix it
Work through these in order — run the command correctly, find the file, read it, and act on it.
Fix 1: Open CMD as administrator
Elevation is non-negotiable for this command.
- Press Win + S, type cmd.
- Right-click Command Prompt and choose Run as administrator.
- Click Yes on the UAC prompt.
- Confirm the title bar says Administrator: Command Prompt — if not, you’re not elevated.
Fix 2: Run the battery report command
The basic command plus the output redirect you’ll actually use.
- In the admin Command Prompt, type
powercfg /batteryreportand press Enter. - Look for the success message:
Battery life report saved to file path C:\Windows\System32\battery-report.html. - Now run it with a friendly output path:
powercfg /batteryreport /output %USERPROFILE%\Desktop\battery-report.html. - You should see the new path in the confirmation message.
Fix 3: Open and navigate the report
Know where the important sections are.
- Double-click battery-report.html on your Desktop — it opens in your browser.
- Scroll to Installed Batteries: read DESIGN CAPACITY, FULL CHARGE CAPACITY, and CYCLE COUNT.
- Check Recent usage (last 3 days) for abnormal drain patterns.
- Review Battery capacity history — a table of full-charge capacity over time that reveals the wear trend at a glance.
- Our design vs full charge capacity guide decodes these numbers in detail.
Fix 4: Generate a longer history with /duration
The default covers 3 days; a longer window shows trends.
- In the admin CMD, run
powercfg /batteryreport /duration 14 /output %USERPROFILE%\Desktop\battery-14day.html. - Open the file and check the extended Usage history table.
- Look for days where drain was far above your normal pattern — those point to specific events or apps.
- Save one of these per quarter to build a wear timeline.
Fix 5: Fix the empty-report problem on 24H2
When the HTML opens blank, the data source is broken — not CMD.
- Press Win + X, open Device Manager, expand Batteries.
- Right-click Microsoft ACPI-Compliant Control Method Battery and choose Uninstall device. Do the same for Microsoft AC Adapter.
- Shut down, unplug for 30 seconds, reconnect, and boot.
- Re-run the report command as admin — the tables should now populate.
- If the battery category is missing entirely, see our battery not detected guide .
Fix 6: Pair it with the energy report for drain diagnosis
When capacity looks fine but runtime is bad, find the drain.
- In the admin Command Prompt, run
powercfg /energy. - Wait 60 seconds while Windows observes the system.
- Open the generated energy-report.html and read the red Errors section first.
- Common findings: USB devices not suspending, display drivers blocking idle, CPU stuck at high frequency.
- Fix what’s listed, then re-run after a day of normal use to confirm improvement.
Fix 7: Automate monthly reports with Task Scheduler
Set it once and never think about the command again.
- Open Task Scheduler (Win + S, type Task Scheduler).
- Create a basic task named Monthly Battery Report, triggered monthly.
- Set the action to start
powercfg.exewith arguments/batteryreport /output %USERPROFILE%\Documents\battery-monthly.html. - Tick Run with highest privileges on the task’s General tab.
- You’ll accumulate a hands-free wear history. For official command documentation, see the Microsoft Windows support hub .
Fix 8: Verify the report data with WMIC as a cross-check
When you want a second opinion on the numbers without opening the HTML, WMIC gives a quick readout.
- In the admin Command Prompt, run
wmic path Win32_Battery get EstimatedChargeRemaining, BatteryStatus. - BatteryStatus 2 means charging; 1 means discharging. Compare the estimated charge with the taskbar icon.
- If WMIC and the taskbar disagree wildly, the shell’s battery indicator is misreading — the report’s numbers are the authoritative ones.
- For a deeper hardware check, compare against your manufacturer’s own battery app reading (Vantage, MyASUS, Dell Power Manager), which talks to the controller directly.
Closing
CMD gives you the battery truth in under a minute: run it elevated, point the output somewhere sensible, and read the Installed Batteries section. Do it quarterly and you’ll spot wear, driver glitches, and drain problems early — long before they become expensive or leave you stranded without warning. For a second opinion on the numbers, compare the report’s full charge capacity against what HWiNFO or BatteryInfoView shows — if all three agree, you can trust the reading completely.
