Diagnose Overnight Battery Drain While a Windows 11 Laptop Is Closed
Before you begin
- Applies to:Windows 11 laptops that lose battery charge with the lid closed.
- Where to start:Start on the affected laptop. Run the report commands in elevated PowerShell 7 or later.
- What you need:Record the battery percentage before closing the lid and after opening it. Save your work before changing power behavior.
Guide tools
Troubleshooting Steps
Check the lid action and supported sleep states
Start hereWhere to click
- Open Control Panel β Hardware and Sound β Power Options in Category view.
- Select Choose what closing the lid does. Record the On battery and Plugged in settings if the device exposes them.
What to look for Β· Run the command and look for Standby (S0 Low Power Idle). That indicates Modern Standby. If the lid action is Do nothing, Windows may keep working with the lid closed. Follow device policy before changing it.
powercfg.exe /aRead the report for the overnight interval
Narrow the causeRun SleepStudy on a Modern Standby PC. Open the new HTML file at the reported path and match the overnight dates and times. Review battery use and active components during the relevant sessions. If the device uses S3 sleep, skip SleepStudy and record the before and after readings and any unexpected wakes for IT.
$Report = Join-Path $env:TEMP ("sleepstudy-{0}.html" -f [guid]::NewGuid())powercfg.exe /sleepstudy /output $Reportif ($LASTEXITCODE -ne 0) { throw "SleepStudy failed with exit code $LASTEXITCODE"}if (-not (Test-Path -LiteralPath $Report -PathType Leaf)) { throw "SleepStudy report was not created at $Report"}$ReportRetest under the same conditions
VerifyAfter an approved change, repeat the test for a similar duration on battery with the same peripherals and power plan. Compare percentage loss and session activity. If drain persists, share the measured interval and the relevant report section with IT. Avoid posting the full report publicly because it contains device details.
Reference
Your feedback keeps these production procedures accurate and battle-tested.