Windows 11's powercfg command can do far more than switch power plans. It can produce detailed HTML reports and quick text lists that explain battery wear, overnight drain, sleep failures and unexpected wake-ups - all free and already on your PC. Here are the most useful ones and when to reach for each.
We've put this list together from Microsoft's powercfg and SleepStudy documentation on Microsoft Learn, checked on 6 December 2026. Most of the HTML reports need an administrator Command Prompt.
Quick picks
Command | Best for |
|---|
powercfg /batteryreport | Lifetime battery usage |
powercfg /sleepstudy | Battery drain while a modern standby laptop sleeps |
powercfg /energy | Common energy-efficiency and battery-life problems |
powercfg /systemsleepdiagnostics | Checking whether the PC went to sleep when you were away |
powercfg /lastwake and /waketimers | Finding what wakes the PC |
powercfg /requests | Finding what stops the PC sleeping |
powercfg /srumutil | Exporting raw energy estimates |
1. powercfg /batteryreport: best for long-term battery use
Microsoft says this generates a report of battery usage characteristics over the lifetime of the system, saved as an HTML file in the current folder. Add /duration with a number of days to narrow it down, or /output to choose the file name. It's the first report to run when a laptop's battery life has got worse over time. Our guide on how to generate a battery report walks through it.
2. powercfg /sleepstudy: best for overnight battery drain
Microsoft describes this as a diagnostic report of modern standby quality, covering the last three days by default (up to 28 with /duration). It splits each session into Screen Off and Sleep states, colours high-drain sessions red - a drain rate of 1% per hour or more - and lists the top offenders behind each Sleep session. It applies to PCs that use modern standby. See our guide on how to check what drains your laptop battery in sleep.
3. powercfg /energy: best for a quick efficiency check
This analyses the system for common energy-efficiency and battery-life problems and writes an HTML report. By default it observes the system for 60 seconds; /duration changes that. Microsoft says to run it when the computer is idle with no open programs or documents. Our powercfg /energy guide explains the results.
4. powercfg /systemsleepdiagnostics: best for desktops that should be sleeping
Microsoft says this reports intervals over the last three days when the user was not present, and whether the system went to sleep. It's a useful check for a PC that seems to stay awake when you're away from it, and it needs an administrator Command Prompt. A related command, powercfg /systempowerreport (or /spr), reports system power transitions over the last three days, including connected standby power efficiency.
5. powercfg /lastwake and /waketimers: best for unexpected wake-ups
/lastwake reports what woke the system from the last sleep transition, while /waketimers lists active wake timers that can wake the PC from sleep and hibernate. Together they're the quickest way to see what is behind a PC that turns itself back on. Our guide on how to stop your PC waking from sleep covers the fixes.
6. powercfg /requests: best when the PC won't sleep
This lists application and driver power requests, which Microsoft says prevent the computer from automatically turning off the display or entering sleep. If an app or driver shows up here, /requestsoverride can tell Windows to ignore that request. Our PC won't sleep guide covers it in more detail.
7. powercfg /srumutil: best for raw data
This exports the Energy Estimation data from the System Resource Usage Monitor (SRUM) to an XML or CSV file. It's raw data rather than a friendly report, so it suits people who want to dig into usage figures in a spreadsheet.
Which should you run first?
For a laptop with worse battery life, start with the battery report. For a battery that empties while the lid is closed, run Sleep Study. For a PC that won't sleep or keeps waking, use /requests, /lastwake and /waketimers. For a wider look at Windows' built-in hardware commands, see our guide to the best built-in Windows 11 hardware commands, and for third-party apps see our best free laptop battery tools.