Inspect Sleep Study Logs with Powercfg on Windows 11
The Windows 11 System Sleep Study tool is an essential diagnostic
utility designed to track and troubleshoot battery life and modern
standby behavior. By generating a detailed HTML report using the
powercfg /sleepstudy command, users can identify background
apps, hardware drivers, and system components that prevent the computer
from entering low-power sleep states. This guide covers how to generate,
open, and interpret the Sleep Study log.
Generating the Sleep Study Report
To create a Sleep Study log, you must run the command with administrative privileges:
Press Windows Key + X and select Terminal (Admin) or Command Prompt (Admin).
In the console window, type the following command and press Enter:
powercfg /sleepstudyThe system will analyze the last three days of sleep data by default and output a file path confirming where the report is saved (typically
C:\Windows\System32\sleepstudy-report.html).
Tip: To change the duration analyzed or save the file to a custom directory, customize the command:
powercfg /sleepstudy /output "%USERPROFILE%\Desktop\sleepstudy.html" /duration 7Opening the Report
- Open File Explorer and navigate to the location where the report was saved.
- Double-click the generated
.htmlfile (e.g.,sleepstudy-report.html) to open it in any web browser.
Analyzing the Sleep Study Log
The generated report organizes sleep sessions chronologically and color-codes power usage:
1. System Overview
The top section displays hardware information, BIOS version, standby capabilities, and the total design capacity versus the full charge capacity of the battery.
2. Session Summary Chart
A visual timeline illustrates battery level trends alongside system states (Active, Screen Off, Sleep, or Hibernate). Sharp downward slopes indicate rapid battery drain during standby.
3. Session Details Table
Below the chart, every standby and active session is listed with details on duration, energy drained, and rate of discharge (%/hr): * Green: Normal, low energy drain. * Yellow: Moderate power consumption. * Red: Abnormal, high power drain requiring investigation.
4. Identifying “Top Offenders”
Clicking on any specific session (especially those highlighted in red or yellow) expands the detailed session view: * Top Offenders: Displays the specific hardware devices, drivers, network connections, or software tasks that remained active. * Active Time & Percentage: Shows how long an offender prevented the system from entering Deepest Runtime Idle Power State (DRIPS). * Components to check: Look closely for rogue USB devices, Wi-Fi adapters maintaining network connectivity, audio drivers, or background sync software preventing sleep.