Create a Battery Health Report with powercfg in Windows 10/11

Create a Battery Health Report with powercfg in Windows 10/11​

Difficulty: Beginner | Time Required: 10 minutes
If your laptop does not last as long as it used to, Windows can help you investigate why. Both Windows 10 and Windows 11 include a built-in command-line tool called powercfg that can generate a detailed battery health report. This report shows battery capacity, recent usage, charge history, and estimated battery life based on your real usage.
This tutorial walks you through creating and reading a battery report using powercfg /batteryreport. It is a quick, safe way to check whether your battery is aging normally, losing capacity, or behaving unexpectedly.

Prerequisites​

Before you begin, you will need:
  • A Windows 10 or Windows 11 laptop, tablet, or other battery-powered PC
  • Access to Command Prompt, PowerShell, or Windows Terminal
  • A few minutes to generate and review the report
  • Optional but recommended: an administrator account
Note: Desktop PCs without an internal battery usually cannot generate a useful battery health report. If Windows does not detect a battery, the report may be empty or unavailable.

Step 1: Open Command Prompt or Windows Terminal​

You can use Command Prompt, PowerShell, or Windows Terminal. The command works the same in each.

On Windows 11​

  1. Right-click the Start button.
  2. Select Terminal or Terminal (Admin).
  3. If prompted by User Account Control, select Yes.

On Windows 10​

  1. Right-click the Start button.
  2. Select Windows PowerShell, Windows PowerShell (Admin), Command Prompt, or Command Prompt (Admin).
  3. If prompted, select Yes.
Running as administrator is not always required for the battery report, but it helps avoid permission problems when saving the file.

Step 2: Generate the Battery Report​

In the command window, type the following command and press Enter:
powercfg /batteryreport
Windows will generate an HTML report and save it in the current folder. After the command runs, you should see a message showing the exact location of the report file.
The default file name is usually:
battery-report.html
Depending on which command window you opened, the report may be saved in a folder such as your user profile folder or System32.

Step 3: Save the Report to an Easy-to-Find Location​

If you want to save the report directly to your Desktop, use the /output option instead:
powercfg /batteryreport /output "%USERPROFILE%\Desktop\battery-report.html"
This creates the report on your Desktop with the file name battery-report.html.
Tip: The quotation marks are important when a path contains spaces. Keeping them in the command helps prevent path-related errors.
You can also save the report to your Documents folder:
powercfg /batteryreport /output "%USERPROFILE%\Documents\battery-report.html"

Step 4: Open the Battery Report​

Once the command finishes:
  1. Go to the location where the report was saved.
  2. Double-click battery-report.html.
  3. The report should open in your default web browser.
The report is a local HTML file, not a website. It is safe to open and can be copied, archived, or shared if you are troubleshooting with someone you trust.
Privacy Note: The report may include your computer name, usage times, battery history, and other system details. Review it before posting screenshots or uploading it to a public forum.

Step 5: Review the Installed Batteries Section​

Near the top of the report, look for Installed batteries.
This section usually includes:
  • Name
  • Manufacturer
  • Serial number
  • Chemistry
  • Design capacity
  • Full charge capacity
  • Cycle count, if reported by the device
The two most useful numbers are:
  • Design capacity: The original capacity the battery was designed to hold.
  • Full charge capacity: The amount the battery can currently hold when fully charged.
For example, if your design capacity is 50,000 mWh and your full charge capacity is 40,000 mWh, the battery currently holds about 80% of its original capacity.
You can estimate battery health with this formula:
Full charge capacity ÷ Design capacity × 100
So:
40,000 ÷ 50,000 × 100 = 80%
Battery wear is normal over time. However, if the full charge capacity is much lower than the design capacity, your laptop may run out of power sooner than expected.
Note: Some systems do not report cycle count. If that field is blank or missing, it does not necessarily mean something is wrong.

Step 6: Check Recent Usage​

The Recent usage section shows power state changes over the last few days. This can help you understand when the system was active, suspended, connected to AC power, or running on battery.
Look for patterns such as:
  • Battery draining quickly while the laptop is asleep
  • Unexpected wake events
  • Long periods of active battery use
  • Sudden drops in remaining capacity
If your battery drains overnight, this section may help confirm whether the PC stayed active instead of sleeping properly.

Step 7: Review Battery Usage​

The Battery usage section provides a visual and numerical summary of battery drain over recent days.
This is useful for spotting:
  • Heavy battery drain during specific time periods
  • Unusual power loss when the PC should have been idle
  • Differences between light and heavy usage days
Keep in mind that battery life depends heavily on screen brightness, background apps, CPU/GPU workload, Wi-Fi usage, connected devices, and power mode settings.

Step 8: Check Usage History and Capacity History​

The Usage history section shows how much time the system has spent on battery and AC power.
The Battery capacity history section is especially helpful because it tracks how full charge capacity has changed over time. If the full charge capacity has gradually decreased, that usually indicates normal battery aging. If it dropped suddenly, there may have been a calibration issue, firmware change, battery fault, or reporting error.
Tip: If the numbers look strange, generate another report after a few charge cycles. Battery reporting can sometimes become more accurate after the device has been fully charged and discharged through normal use.

Step 9: Review Battery Life Estimates​

Near the bottom of the report, the Battery life estimates section shows estimated runtime based on observed usage.
This section may include:
  • Estimated battery life at full charge
  • Estimated battery life at design capacity
  • Connected standby or modern standby estimates on supported devices
These estimates are not guarantees. They are based on previous usage patterns, so they can change depending on how you use the device.
For example, gaming, video editing, virtual machines, high brightness, or many browser tabs can reduce battery life significantly. Light browsing or document editing may produce much longer runtimes.

Optional: Generate a Report for a Specific Number of Days​

You can also ask Windows to analyze a specific number of days by using the /duration option:
powercfg /batteryreport /duration 7
This requests a battery report focused on the last 7 days of available data.
You can combine this with an output path:
powercfg /batteryreport /duration 7 /output "%USERPROFILE%\Desktop\battery-report.html"

Troubleshooting​

“Unable to perform operation” or “Access denied”​

Try running the terminal as administrator, or save the report to a folder where you definitely have permission, such as your Desktop:
powercfg /batteryreport /output "%USERPROFILE%\Desktop\battery-report.html"

The report was created, but you cannot find it​

Run the command again and carefully read the output path shown in the terminal. To avoid searching for it, generate it directly on your Desktop using the /output command above.

The report opens as code or text​

Make sure the file ends in .html. If needed, right-click the file, choose Open with, and select your preferred web browser.

The report shows no battery information​

This usually means Windows does not detect an internal battery. This can happen on desktop PCs, some virtual machines, or systems with battery/firmware detection problems. If this is a laptop, check Device Manager under Batteries and consider installing firmware, chipset, or battery-related updates from your device manufacturer.

The battery health looks poor​

If full charge capacity is significantly lower than design capacity, the battery may be worn. Before replacing it, consider:
  1. Restarting the PC.
  2. Installing Windows updates.
  3. Checking for BIOS/UEFI or firmware updates from the manufacturer.
  4. Running another report after several normal charge cycles.
  5. Checking the manufacturer’s battery diagnostics, if available.

Conclusion​

The powercfg /batteryreport command is one of the easiest ways to understand your laptop’s battery health in Windows 10 and Windows 11. In just a few minutes, you can create a detailed report showing current capacity, historical capacity changes, recent usage, and estimated battery life.
This is especially useful before buying a replacement battery, troubleshooting poor runtime, purchasing a used laptop, or confirming whether battery drain is caused by aging hardware or usage patterns.
Key Takeaways:
  • Windows 10 and Windows 11 include a built-in battery report tool.
  • Use powercfg /batteryreport to generate a local HTML report.
  • Save the report to your Desktop with the /output option for easier access.
  • Compare full charge capacity with design capacity to estimate battery health.
  • Review recent usage and battery life estimates to spot unusual drain patterns.
  • Battery wear is normal, but sudden or severe capacity loss may require further troubleshooting.

This tutorial was generated to help WindowsForum.com users get the most out of their Windows experience.
 

Back
Top