A Windows laptop that suddenly drains fast gives you very little to go on from the battery icon alone. The built-in powercfg /batteryreport command creates a detailed battery report you can open in your browser. Start with the fastest Windows 11 path, then use the optional commands when you need a cleaner save location or a shorter report.
1. Generate the battery report from Command Prompt
Use Command Prompt first. Microsoft lists this as the consumer path for creating a battery report on Windows 11 devices with a battery.
- 1.Select Start.
- 2.Type Command Prompt.
- 3.Press and hold or right-click Command Prompt.
- 4.Choose Run as administrator.
- 5.Select Yes.
- 6.Type
powercfg /batteryreport, then press Enter. - 7.Copy or note the saved HTML file path shown in the Command Prompt window.
The battery report is not a download. Windows creates it with the built-in powercfg command.
2. Open the HTML file in your browser
- 1.Open File Explorer.
- 2.Go to the folder shown in the Command Prompt result.
- 3.Double-click the battery report HTML file.
The report opens in your web browser. Start with Installed battery, Recent usage, and Battery usage, since Microsoft names those sections as useful places to begin.
3. Save the report to your desktop
The default save location depends on the command path you used. Send the file straight to your desktop when you want it easy to find.
- 1.Open Command Prompt, PowerShell, or Windows Terminal.
- 2.Run
powercfg /batteryreport /output "C:\Users\<your-user-name>\Desktop\batteryreport.html". - 3.Replace
<your-user-name>with your Windows user folder name. - 4.Keep the
.htmlending for the normal browser-friendly report.
4. Run it from Windows Terminal or PowerShell
Command Prompt is the clearest starting point, but the same command also runs from Microsoft’s current Windows command-line tools.
- Windows Terminal: Press Windows key + X, select Windows Terminal (Admin), open a PowerShell or Command Prompt tab, then run
powercfg /batteryreport. - Windows PowerShell: Open Start, type Windows PowerShell, select Windows PowerShell, choose Run as administrator, then run
powercfg /batteryreport.
Use Windows Terminal (Admin) from the Windows key + X menu on current Windows 11 PCs. Older instructions that point to Command Prompt (Admin) from that menu are legacy Windows 10-era directions.
5. Trim the report to recent days
Use the duration option when you only want recent battery behavior.
- 1.Open Command Prompt, PowerShell, or Windows Terminal.
- 2.Run
powercfg /batteryreport /duration 4. - 3.Replace
4with the number of days you want to analyze.
Run the plain powercfg /batteryreport command again when you want the standard report.
6. Export XML for parsing tools
Stick with HTML for normal reading. Use XML only when another tool needs to parse the battery data.
- 1.Open Command Prompt, PowerShell, or Windows Terminal.
- 2.Run
powercfg /batteryreport /output "C:\Users\<your-user-name>\Desktop\batteryreport.xml" /xml. - 3.Replace the path and file name with the location you want.
7. Check app drain in Settings
The full battery report gives you detail. Windows Settings gives you a faster app-by-app view.
- 1.Select Start.
- 2.Go to Settings > System > Power & battery > Battery usage.
- 3.Under Battery usage per app, review apps using more battery in the background.
- 4.For supported apps, select More options > Manage background activity.
- 5.Change Let this app run in the background.
8. Handle blocked Command Prompt access
Work and school PCs can block interactive Command Prompt access through device management policy. When that block is active, use the Settings battery page for basic checks.
- 1.Open Start.
- 2.Go to Settings > System > Power & battery > Battery usage.
- 3.Review Battery usage per app.
- 4.Contact your organization’s support team for access to the full battery report.
For current consumer instructions in 2026, treat Windows 11 as the main path. Windows 10 Home and Pro reached end of support on October 14, 2025, though the powercfg command remains documented for Windows 10 command-line environments.
Frequently Asked Questions
Which Windows PCs support powercfg /batteryreport?
Microsoft’s consumer battery report instructions apply to Windows 11 devices with a battery. Microsoft’s command documentation also lists powercfg support for Windows 10 and Windows Server 2016 and later.
Where does powercfg /batteryreport save the file?
By default, it saves the HTML report in the current working directory and shows that location in the command window. Use the /output option to choose a specific location.
Should I use HTML or XML for the battery report?
Use HTML for normal troubleshooting because it opens in a browser. Use XML when an advanced tool needs structured battery report data.
Is Windows 10 still the best target for battery report instructions?
No. Windows 10 Home and Pro reached end of support on October 14, 2025, so current consumer instructions should prioritize Windows 11.











