Back to docs
Tools - DiagnosticsUpdated: November 23, 2024

powercfg /batteryreport

See battery health, usage, and charge history with a detailed report.

powercfg /batteryreport

Command: powercfg /batteryreport

Category: Diagnostics

Type: CMD

Purpose

Generates a comprehensive HTML report containing detailed information about your laptop's battery health, usage history, charge cycles, capacity degradation, and power consumption. Essential for diagnosing battery issues and monitoring battery health over time.

Quick Summary

Create a detailed battery health report in seconds. See your battery's design capacity vs. current capacity, track degradation over time, view recent usage patterns, and identify what's consuming power. The HTML report is easy to read and perfect for troubleshooting battery life problems.

How to Use

  1. Open Command Prompt (standard user rights are sufficient).
  2. Type powercfg /batteryreport and press Enter.
  3. The report is saved to your user directory (check the output for exact path).
  4. Navigate to the location and open battery-report.html in a web browser.

Common variations:

  • powercfg /batteryreport - Save to default location
  • powercfg /batteryreport /output C:\Reports\battery.html - Specify custom location
  • powercfg /batteryreport /duration 14 - Analyze last 14 days (default is 3 days)

Tips and Best Practices

  • Generate reports regularly to track battery degradation over time.
  • Compare "Design Capacity" vs "Full Charge Capacity" to assess battery health.
  • A Full Charge Capacity significantly lower than Design Capacity indicates battery wear.
  • Check "Battery capacity history" section to see degradation trends.
  • Review "Battery usage" section to identify power-hungry periods.
  • Use longer duration for more comprehensive analysis: /duration 28 for 28 days.
  • Save reports with dates in filename for comparison: battery-report-2024-11.html

Report Sections Explained

Computer Information:

  • Computer name and system details
  • Windows version and BIOS information

Installed Batteries:

  • Battery name, manufacturer, serial number
  • Chemistry type (e.g., Li-Ion)
  • Design Capacity vs. Full Charge Capacity
  • Cycle count (if available)

Recent Usage:

  • Power state transitions (Active, Suspended, etc.)
  • Time spent in each state
  • Battery drain during sleep or hibernation

Usage History:

  • Graphical timeline of battery usage over recent days
  • Charge/discharge cycles
  • Duration on AC vs battery power

Battery Capacity History:

  • Historical tracking of full charge capacity
  • Shows battery degradation over time
  • Design capacity comparison

Battery Life Estimates:

  • Estimated battery life at full charge
  • Based on recent usage patterns
  • Estimates for different activity levels

Common Use Cases

  • Battery health check: Determine if battery is degraded and needs replacement.
  • Troubleshooting poor battery life: Identify usage patterns causing rapid drain.
  • Pre-purchase verification: Check battery health before buying used laptops.
  • Warranty claims: Document battery degradation for warranty replacement.
  • Power optimization: Understand when and how battery is being used.
  • Sleep/hibernate diagnostics: Verify battery drain during low-power states.

Prerequisites

  • Laptop or device with a battery (not applicable to desktop PCs without UPS)
  • Windows Command Prompt or PowerShell
  • No administrator rights required
  • Available on Windows 8 and later

Calculating Battery Health

Battery Health Percentage:

(Full Charge Capacity / Design Capacity) × 100 = Battery Health %

Example:

  • Design Capacity: 45,000 mWh
  • Full Charge Capacity: 38,000 mWh
  • Battery Health: (38,000 / 45,000) × 100 = 84.4%

General Guidelines:

  • 90-100%: Excellent - Like new
  • 80-89%: Good - Minor wear
  • 70-79%: Fair - Noticeable degradation
  • Below 70%: Poor - Consider replacement

Troubleshooting

  • "Unable to perform operation" - Ensure you're on a device with a battery (not a desktop without battery).
  • Report shows no battery - Verify battery drivers are installed in Device Manager.
  • Can't find report file - Check the Command Prompt output for the exact path, usually C:\Users\YourUsername\battery-report.html
  • Empty or incomplete data - Wait a few days of use and generate report again for more meaningful data.
  • Battery not charging to 100% - Some laptops have charging limits to preserve battery health; check manufacturer software.

Energy Report (power efficiency analysis):

powercfg /energy

Sleep Study (Modern Standby diagnostics):

powercfg /sleepstudy

Power configuration settings:

powercfg /?

Best Practices for Battery Health

  • Avoid leaving laptop plugged in at 100% constantly
  • Maintain charge between 20% and 80% when possible
  • Use manufacturer's battery care software if available
  • Avoid extreme temperatures
  • Generate battery reports every few months to track health trends
  • powercfg /energy - Generate energy efficiency report
  • powercfg /sleepstudy - Analyze Modern Standby power usage
  • powercfg /q - Display current power scheme settings
  • Battery manufacturer software (Dell Power Manager, Lenovo Vantage, etc.)
  • Task Manager - Real-time power usage monitoring