Power · Windows 11
Fix a laptop that drains its battery or runs hot while asleep in a bag
You close the lid with most of your charge left and open it hours later to a flat battery, a warm bag, or a fan that was clearly running while the laptop was supposed to be asleep. A sleeping laptop should lose very little charge. When it loses a lot, something woke it, kept it awake, or it never really slept at all. Read what the laptop itself recorded overnight first, then fix the cause that record points to — in that order, not the other way around.
What you need
- One real overnight test. Note the battery percentage when you close the lid and again when you open it. A drain you have measured is a drain you can prove you fixed.
- The charger, for the first tests. Run the report steps while plugged in, so a nearly flat battery does not shut the laptop down mid-fix.
- Nothing plugged in for the deciding test. USB drives, docks, and mice can wake a laptop. The final overnight test should match how you actually carry it — in the bag, with nothing attached.
Read the overnight record before you change anything
- Generate the battery report. Open Terminal or Command Prompt and run
powercfg /batteryreport. Windows saves an HTML report and prints its path. Open it and look at two things: the recent usage section, which shows when the laptop was active, sleeping, and charging, and the battery capacity history, which shows whether the battery itself still holds close to its design charge. Microsoft documents this report in Powercfg command-line options. If the usage section shows the laptop active for long stretches overnight, it was awake, not draining in its sleep — that distinction decides everything below. - Ask what woke it last. In the same window, run
powercfg /lastwake. After an unexpected wake, this names the device or process that woke the system most recently, when Windows recorded one. Run it right after you find the laptop warm or drained, before you use it for other work, because each new wake replaces the answer. - Decide which fault you have. Three faults look identical from the outside. The laptop never sleeps — the lid or the sleep timer is not putting it to sleep. The laptop sleeps and something wakes it — a timer, a device, or the network. Or the laptop sleeps soundly but its battery is worn, so a normal small overnight loss looks like a huge percentage. The battery report separates all three; do not buy a battery, or change a dozen settings, until you know which one is yours.
The simple fixes, in order
- Confirm closing the lid actually sleeps. Open Settings > System > Power & battery and look for the lid, power button, and sleep controls your version shows. Set closing the lid to Sleep for battery power. A lid set to do nothing leaves the laptop running at full speed inside a closed bag, which explains both the flat battery and the heat in one move. While you are there, set the sleep timer to a short interval on battery, so a laptop left open on a desk also reaches sleep instead of idling all night.
- Use Hibernate for bag time. Sleep keeps the session in memory and draws a small amount of power; hibernate writes the session to disk and draws essentially none. If your laptop supports it, set the lid or the power button to Hibernate for the times it travels in a bag, or choose Hibernate from the power menu before you pack it. The trade is a slower wake, measured in seconds. For a laptop that lives in a bag between uses, that trade is almost always worth it, and it ends the heat problem completely because a hibernated laptop cannot wake itself.
- Unplug anything that can wake it. A USB mouse jostled in a bag, a dock, or an external drive can wake a sleeping laptop repeatedly. For one night, sleep the laptop with nothing plugged in except, if you must, the charger. If the drain stops, reconnect one device at a time on later nights until the drain returns; the last device reconnected is the one waking it, and the advanced route below shows how to stop it waking the machine without unplugging it forever.
- Check the power mode is not fighting you. In Settings > System > Power & battery, the power mode chooses between battery life and performance. Microsoft describes the choices in Change the power mode for your Windows PC. Best power efficiency will not fix a laptop that wakes itself, but a best-performance setting makes every accidental wake cost more, so set it while you are here and judge the real fix by the overnight test, not by this slider.
The advanced route: wake sources and sleep study
- List everything allowed to wake the laptop. Run
powercfg /devicequery wake_armedto list the devices currently allowed to wake the system, andpowercfg /waketimersto see any active wake timers — scheduled jobs that are permitted to wake the laptop at a set time. Both are documented in the same Powercfg command-line options reference. A wake timer set for the middle of the night, or a network adapter in the armed list you never use for waking, is a concrete suspect rather than a guess. - Disarm the device that woke it. Open Device Manager, find the device that
powercfg /lastwakeor the armed list named, open its Properties, and on the Power Management tab uncheck Allow this device to wake the computer. Network adapters are the usual entry here: an adapter allowed to wake the machine can respond to network activity while the laptop is in a bag on your home Wi-Fi before you leave, or wake on routine traffic all night at home. Leave wake enabled only on a device you genuinely use to wake the laptop, such as a keyboard at a desk. - Turn off wake timers on battery. Open the older Control Panel > Power Options, choose Change plan settings for your plan, then Change advanced power settings. Under Sleep > Allow wake timers, set the on-battery option to Disable. Scheduled maintenance can still run while the laptop is plugged in and awake; it simply stops pulling the laptop out of sleep on battery power.
- Read the sleep study on Modern Standby laptops. Many current laptops do not use classic sleep; they use Modern Standby, a low-power idle in which the system can still do small amounts of work and stay connected to a network. Microsoft describes how it behaves in Modern Standby. On such a laptop, run
powercfg /sleepstudyfrom an administrator Command Prompt or Terminal. The report shows each sleep session, how long it lasted, and which components were active during it. A session where one app or device stays active for hours is the drain, named. Update that app, or disconnect the network during sleep where your laptop offers that choice, and retest. - Retest overnight, unchanged. Finish with the same test you started with: note the percentage, close the lid, leave the laptop in the bag overnight with nothing plugged in, and note the percentage in the morning. One clean night after one change tells you more than five changes made at once.
End state
- An overnight test in the bag loses only a small percentage — or nothing at all on Hibernate — and the laptop is cool when you take it out.
- The battery report's usage section shows one continuous sleep or hibernate period overnight, not repeated active stretches.
- No device or timer you do not use for waking is still allowed to wake the laptop on battery power.
When it goes wrong
- The battery report shows a battery at a fraction of its design capacity. That is wear, not a wake problem. A battery whose full charge capacity has fallen far below its design capacity makes every overnight loss look enormous in percentage terms. The fixes above still help, but the honest fix for a worn battery is replacement.
- The laptop is hot within an hour of closing the lid. Heat that fast means it is running, not sleeping badly. Recheck the lid action first, then look for a program that blocks sleep: run
powercfg /requestswhile the laptop is awake to see anything currently asking the system to stay on. - There is no Hibernate option anywhere. Some laptops ship with it hidden or unsupported. Use Sleep with wake timers and device waking disabled, and shut down fully for long trips. A shutdown laptop uses no power and cannot wake.
- It only drains at home, never when traveling. That pattern points at the network: at home the laptop stays in range of your router and wakes on network activity. Disarm the network adapter in Device Manager, as above, and retest at home.
Related fixes
-
Fix a laptop that only charges while it is off or asleep
The battery fills overnight but never gains a percent while you work. The laptop is using everything the adapter can give, or a battery limit is quietly holding the charge. Check the adapter's wattage first, then the charge limit, then the battery's own report.
-
Fix a laptop battery that drains fast or will not charge
A laptop that drains fast or will not charge may be wasting power on background apps and settings, or its battery may simply have worn down. This guide reads the built-in battery report first, then works through the settings, driver, and charging checks.
-
Fix a laptop that only works while plugged in and reports no battery detected
No battery detected means Windows cannot talk to the battery — a loose connector on a removable pack, a disabled or damaged battery driver, or a pack that has genuinely failed. Reseat what you can reach, check the driver and the battery report, and let the report's numbers decide whether the pack is done.
-
Fix a laptop battery that charges to full but drops to zero in minutes
A battery that shows 100 percent and then collapses to zero in minutes is either badly worn or reporting its charge wrong — and the fix differs completely between the two. Generate the built-in battery report first to read the wear level, then calibrate only if the battery itself still holds a real charge.
Sources
- Microsoft Learn, Powercfg command-line options — the battery report, sleep study, last wake, wake timers, and wake-armed device commands.
- Microsoft Learn, Modern Standby — how Modern Standby laptops idle, stay connected, and use power while the screen is off.
- Microsoft Support, Change the power mode for your Windows PC — the Power & battery settings and the power mode choices.