Windows 11 includes a powerful diagnostic tool known as SleepStudy, designed to help users identify why their PC is draining battery while in Sleep or Modern Standby modes. If you find your laptop battery significantly depleted after leaving it closed overnight, the powercfg /SleepStudy command will generate a detailed HTML report pinpointing the exact hardware components, drivers, or software processes keeping the system awake.
How to Generate a SleepStudy Report Using Command Prompt
Because the SleepStudy tool requires deep system access to read power states and event traces, you must execute the command using an elevated Command Prompt.
- Click the Windows Start menu and type cmd.
- Right-click Command Prompt and select Run as administrator.
- When prompted by User Account Control (UAC), click Yes.
- In the terminal window, type the following command exactly:
powercfg /SleepStudy - Press Enter.
Windows will immediately begin compiling the diagnostic data. This process typically takes about 60 seconds. Once complete, the terminal will display the file path where the HTML report has been saved (usually C:\Windows\System32\sleepstudy-report.html).
How to Analyse the SleepStudy Diagnostic Report
Because the report is saved within the protected System32 directory, you may need to copy it to your Desktop before opening it in a web browser.
- Navigate to
C:\Windows\System32\using File Explorer. - Locate the file named sleepstudy-report.html.
- Copy the file and paste it onto your Desktop.
- Double-click the HTML file to open it in your default web browser.
The report is divided into several visual sections. At the top, you will see a system overview and battery degradation chart. Scroll down to the System Sessions table to view every sleep cycle from the past three days. Look for any session marked in red or orange, which indicates an abnormally high drain rate.
Click on the specific session number to expand the details. The Top Offenders section will list the exact processes or hardware responsible. Common culprits include network adapters waking the system for updates, rogue background applications, or incompatible USB devices preventing the CPU from entering deep sleep states (DRIPS).