We only use strictly necessary cookies. See our Privacy & Cookies Policy.

Windows Laptop Battery Command Helper – powercfg /batteryreport Generator

Windows includes a built-in command-line tool called powercfg. With a few commands you can
generate detailed battery and power reports and save them as HTML files on your laptop. On this page we
collect the most useful commands so you can simply copy & paste them into an elevated
Command Prompt or PowerShell / Windows Terminal.

These reports are especially helpful when you want to check battery health before deciding whether to
replace your laptop battery.


Browse replacement laptop batteries

How to run these commands (step by step)

  1. Press the Windows key, type cmd.
  2. Right-click Command Prompt and choose Run as administrator.
  3. Copy one of the commands below and paste it into the black window.
  4. Press Enter. After a few seconds, Windows will generate the report.
  5. Open the generated .html file in your browser to read the report.
Tip: The same commands also work in PowerShell or
Windows Terminal as long as you run them “as administrator”.

1. Basic battery report commands

These commands use powercfg /batteryreport to generate a battery report and save it in a
convenient location.

1.1 Save battery report to Desktop (recommended)

Creates battery-report.html on the current user’s Desktop.

powercfg /batteryreport /output "%USERPROFILE%\Desktop\battery-report.html"

1.2 Save battery report to Documents

Creates battery-report.html in your Documents folder.

powercfg /batteryreport /output "%USERPROFILE%\Documents\battery-report.html"

1.3 Save battery report to a custom folder (example: D:\Reports)

Adjust the folder path if needed. Make sure the folder already exists, otherwise Windows will not
create the report.

powercfg /batteryreport /output "D:\Reports\battery-report.html"

1.4 Use a more descriptive file name

You can change the file name to include your laptop brand and model, which is useful if you keep
reports for multiple devices.

powercfg /batteryreport /output "%USERPROFILE%\Desktop\hp-envy-battery-report.html"
powercfg /batteryreport /output "%USERPROFILE%\Desktop\dell-xps-13-battery-report.html"
powercfg /batteryreport /output "%USERPROFILE%\Desktop\lenovo-t480-battery-report.html"

2. Other useful power reports

Besides the battery report, powercfg can generate other diagnostic reports that help you
understand power efficiency and battery drain while the system is idle or in Modern Standby.

2.1 Energy efficiency report (/energy)

Analyses your current power settings and detects common misconfigurations that waste energy
(for example, devices that do not enter sleep properly).

powercfg /energy /output "%USERPROFILE%\Desktop\energy-report.html"

2.2 Sleep study report (/sleepstudy) – Modern Standby only

On laptops that support Modern Standby, this report shows which apps and devices
keep the system busy while the screen is off, causing unexpected battery drain.

powercfg /sleepstudy /output "%USERPROFILE%\Desktop\sleepstudy-report.html"

2.3 Custom path examples

Use a separate folder to store all power reports together:

powercfg /batteryreport /output "D:\PowerReports\battery-report.html"
powercfg /energy       /output "D:\PowerReports\energy-report.html"
powercfg /sleepstudy   /output "D:\PowerReports\sleepstudy.html"

3. What to look for in the battery report

Once you open battery-report.html in your browser, focus on a few key fields:

  • DESIGN CAPACITY – the original battery capacity when new.
  • FULL CHARGE CAPACITY – the maximum charge your battery can hold today.
  • Recent usage – how quickly the laptop drains during normal use or standby.
  • Battery capacity history – if available, shows how capacity changed over time.

A simple rule of thumb: if the full charge capacity is much lower than the design capacity, your
battery is worn.

  • 80–100% of design capacity – battery health is still good.
  • 60–79% – noticeable wear; battery life will be shorter than when new.
  • Below 60% – heavy wear; you may see sudden shutdowns or very short runtime.
Important: If your laptop switches off suddenly even when Windows shows 20–30% battery
remaining, or if the battery report shows a very low full charge capacity, it is usually a strong sign
that the battery should be replaced.

4. FAQ – quick questions and answers

Do I always need administrator rights?

Yes. powercfg /batteryreport, /energy and /sleepstudy all
need to be run in an elevated Command Prompt or PowerShell window. Otherwise the report will not be
created or you will see an “Access denied” message.

Can I change the output folder?

Yes. You can replace %USERPROFILE%\Desktop or %USERPROFILE%\Documents with
any path you like, such as D:\Reports. Just make sure that the folder already exists.

Does this work on both Windows 10 and 11?

The battery and energy reports work on both Windows 10 and Windows 11. The sleep study report is only
useful on laptops that support Modern Standby, which is common on many newer ultrabooks and tablets.

Is it safe to run these commands?

Yes. These commands are read-only diagnostics. They do not change your settings; they simply read system
information and write it into an HTML report file.

5. Next steps if your battery is worn

If your battery report shows a large gap between design capacity and full charge capacity, or if you
already experience very short battery life, a quality replacement battery is usually the most effective
solution.

To choose the correct replacement:

  • Check the exact laptop model printed on the bottom case.
  • Open the laptop (if possible) and read the original battery part number on the label.
  • Match the voltage (V) and capacity (Wh or mAh) with the specifications of the original battery.

If you are unsure, you can always contact the seller with your laptop model and a clear photo of the old
battery label – they can help you confirm compatibility.


View compatible laptop batteries

Leave a Comment

Your email address will not be published. Required fields are marked *

83 + = 86
Powered by MathCaptcha

Scroll to Top