Windows 11 Battery Drains in Sleep? Use SleepStudy to Compare Sessions

If your laptop loses charge while the lid is closed, compare the sleep period with a SleepStudy report, when the hardware supports it. This shows when the PC was active during the interval you care about. It is a way to investigate a repeated pattern before changing several power settings at once.
Check for Modern Standby
Open Command Prompt and run powercfg /a. Look for the available standby states. SleepStudy applies to PCs using Modern Standby, which is identified by Standby (S0 Low Power Idle). If only traditional sleep is available, the report may not apply. Microsoft describes supported systems in its SleepStudy guide.
Create the report after the drain occurs
On a PC you administer, open Command Prompt as administrator and run powercfg /sleepstudy /output "%TEMP%\pcra-sleepstudy.html". Open the file indicated by the command. The normal report covers recent sessions. Record the start time, duration and battery change for the interval that matches your observation. A report can include system and device information, so keep it local or redact it before sharing.
Check the same session before changing anything
If the report has multiple rows, match one to the time the lid was closed or the device entered sleep. Compare how long that session lasted and whether it was on battery. A long session can lose more percentage points even when its hourly drain is similar. Compare sessions of similar length and charging conditions before singling out a listed component.
Example: Afternoon sleep loses more charge
Suppose the report shows the afternoon session lasted 90 minutes on battery and used more charge than an earlier session of similar length. If the afternoon session repeatedly lists an optional connected dock, record that clue. Save work and repeat an ordinary test without the dock if it is safe to unplug. Compare the new report and the actual charge change. Reconnect the dock if the change made no difference.
Pick the next check
If the laptop drains quickly while you use it, compare capacity and active usage with the Windows battery report. For a general performance problem, follow PC optimization software and built-in alternatives to choose a test that matches the symptom.