If your Windows 11 battery report is not working, the problem is often the command syntax, permission level, save location or the way the generated HTML file is opened. The report may also work correctly while showing blank fields because Windows can include only the battery information provided by the device.
This guide explains how to get a battery report in Windows 11 and troubleshoot the most common failures without installing an unknown utility. Start with the quick command below, then match your symptom to the relevant fix.
powercfg /batteryreport /output "%USERPROFILE%\Desktop\battery-report.html"The command requests a fresh report and gives it an easy-to-find location on your desktop.
Did the report generate successfully?
Upload the original battery-report.html file to Battery Health Lab for a private, browser-based summary of reported capacity health, wear and available cycle data.
1. Use the correct powercfg battery report command
The standard command documented by Microsoft is:
powercfg /batteryreport
Keep a space between powercfg and /batteryreport. A spelling mistake such as betteryreport, a missing slash or a command joined together without a space can produce an invalid-parameter or unrecognized-command message.
Type the command instead of copying decorative quotation marks from a formatted document. If you want to confirm that Windows recognizes the option, run powercfg /? and review the available commands.
2. Run Command Prompt as administrator
- Open the Start menu.
- Type Command Prompt.
- Select Run as administrator.
- Approve the User Account Control prompt.
- Run
powercfg /batteryreportagain.
Microsoft's Windows 11 battery guidance recommends using an administrator Command Prompt to generate the report. An ordinary window may work on some systems, but using the elevated prompt removes a common permission obstacle.
3. Choose a simple, writable output location
If Windows reports that it cannot save the file, specify the complete output path instead of relying on the current command-line folder:
powercfg /batteryreport /output "%USERPROFILE%\Desktop\battery-report.html"
The quotation marks keep the path valid when a Windows user-folder name contains spaces. The %USERPROFILE% variable points to the currently signed-in user's profile, so you do not need to guess the account folder name.
If the desktop path is redirected by OneDrive or organizational policy, try the Documents folder:
powercfg /batteryreport /output "%USERPROFILE%\Documents\battery-report.html"
Do not save over a report that is currently open in a browser or editor. Close it, choose a new filename or delete the old copy only if you no longer need it.
4. Find the generated battery-report.html file
After a successful command, Command Prompt displays the full path of the saved report. Read that confirmation line carefully. When no custom output is supplied, powercfg creates the HTML report in the current command-line directory, which may not be the folder you expected.
You can also search File Explorer for battery-report.html. Sort the results by date modified to identify the newest file. Avoid uploading or interpreting an older report from a different laptop.
5. Fix a battery report that will not open
A Windows battery report is an HTML document, not an application. If double-clicking does nothing or opens the wrong program:
- Right-click
battery-report.html. - Select Open with.
- Choose Microsoft Edge, Google Chrome or another current browser.
- Confirm that the filename ends in
.html, not.txtor.html.txt. - Generate a fresh report if the file size is zero bytes or the page is visibly incomplete.
The report works locally and does not need to be published online. If it opens as source code in a text editor, use Open with and select a browser.
6. Regenerate a blank or outdated report
A report can open correctly but appear outdated if you selected an older file. Generate a new copy with a unique name, such as:
powercfg /batteryreport /output "%USERPROFILE%\Desktop\battery-report-new.html"
Check the report time near the top and confirm that it describes the correct computer. Recent usage can contain limited history on a newly installed system, after a major reset or when Windows has collected little battery telemetry. That is different from a command failure.
7. Understand missing cycle count or capacity fields
The battery report can generate successfully while Cycle Count, Design Capacity or other fields remain blank. Windows reports data supplied by the battery controller, firmware and drivers; it cannot reliably invent a value that the hardware does not expose.
A missing cycle count does not mean zero cycles. Likewise, incomplete history does not automatically prove that the battery is defective. Review our guide to checking laptop battery cycle count in Windows 11 for the correct interpretation.
8. Confirm that Windows detects a battery
A desktop PC, virtual machine or laptop running without a recognized battery may produce no useful portable-battery data. Check whether Windows shows a battery icon and a charge percentage. On a laptop, also review the manufacturer's diagnostic or BIOS information for the exact model.
If Windows suddenly stopped detecting a previously working battery, restart the laptop and follow the manufacturer's support instructions. Obtain BIOS, firmware and chipset updates only from Windows Update or the device manufacturer's official support page. Do not install an unrelated driver package from a third-party download site.
9. Separate a report problem from a battery-health problem
A successful report does not certify that a battery is healthy, and a command error does not prove that the battery has failed. Once the HTML file works, compare Design Capacity with Full Charge Capacity, review capacity history and consider real-world runtime.
To check battery health in Windows 11, use our complete Windows 11 battery health guide. For a section-by-section explanation, see how to read a Windows battery report. Our battery health percentage guide explains the capacity calculation and its limits.
Windows 11 battery report problems at a glance
| Symptom | Likely explanation | What to try |
|---|---|---|
| Invalid parameters | Spelling, slash or spacing error | Use powercfg /batteryreport exactly |
| Access or save error | Permission or output-folder problem | Run as administrator and specify the desktop output path |
| Command succeeds but file seems missing | Report saved in the current command folder | Read the displayed path or generate it directly on the desktop |
| HTML opens in a text editor | Wrong default application | Open the file with a web browser |
| Old information appears | An earlier report was opened | Create a fresh file with a new name and check its report time |
| Cycle Count is blank | Firmware does not expose the value | Check official manufacturer diagnostics; do not treat blank as zero |
| No installed battery information | Windows may not detect a supported battery | Check Windows, BIOS and manufacturer diagnostics |
Frequently asked questions
Why is powercfg /batteryreport not working in Windows 11?
First check the exact command, use an administrator Command Prompt and provide a simple output path. If the file generates but lacks data, Windows may not be receiving all battery values from the hardware.
What command saves the battery report to my desktop?
Use powercfg /batteryreport /output "%USERPROFILE%\Desktop\battery-report.html". Command Prompt should display the final saved location after completion.
Can I generate a battery report with PowerShell?
The powercfg executable can also be called from an elevated PowerShell or Windows Terminal session. The same /batteryreport and /output arguments apply.
Why does the report show no cycle count?
The laptop firmware or battery controller may not supply cycle data to Windows. The missing field is not evidence of zero cycles and does not necessarily mean the report is broken.
Can Battery Health Lab repair the Windows report?
No. Battery Health Lab reads supported values from an existing report and processes them locally in your browser. It does not modify Windows, repair hardware or invent missing telemetry.
Official Windows documentation
Microsoft explains how to generate the HTML file in Caring for your battery in Windows. The complete syntax, including /output, /xml and /duration, appears in Microsoft's Powercfg command-line documentation.
Final checklist
- Use the exact
powercfg /batteryreportsyntax. - Run Command Prompt as administrator.
- Choose a writable output path you can find.
- Open the generated HTML file in a browser.
- Confirm that it is the newest report from the correct laptop.
- Treat missing fields as unavailable data, not automatic proof of failure.
- Use capacity, history, runtime and physical condition together when assessing battery health.