Laptop power & battery

Laptop won't go to sleep or wakes up immediately

A background app, driver, or a device left plugged in is almost always the reason a laptop won't stay asleep, rather than a hardware fault.

Difficulty
Easy
Time
15–30 minutes
DIY cost
$0
Pro cost
$60–$100

Symptoms

  • Laptop wakes itself up seconds after closing the lid
  • Fan keeps running and screen turns back on in a bag
  • Battery drains fast because it never really sleeps
  • Sleep setting seems to be ignored

Likely causes

  • CommonA background app or scheduled task waking the systemWindows Update, antivirus scans, or sync apps can be set to wake the PC.
  • CommonUSB device or mouse movement triggering wakeA sensitive wireless mouse receiver is a very common culprit.
  • PossibleNetwork adapter set to allow wake-on-LANNetwork activity can wake a laptop if this setting is enabled.
  • PossibleLid sensor malfunctionA faulty magnetic sensor can fail to register the lid as closed.
  • Less commonPower plan misconfigurationSleep settings may have been changed accidentally.

What to do

  1. Check Windows' 'powercfg /lastwake' command (or Mac's Console app) to see what triggered the last wake-up.
  2. Disable 'Allow this device to wake the computer' for the mouse and network adapter in Device Manager.
  3. Turn off wake timers for scheduled tasks and updates in Power Options.
  4. Confirm the lid-closed action is actually set to 'Sleep' and not 'Do Nothing.'
  5. Test with all USB peripherals unplugged to isolate whether one of them is causing wake-ups.
  6. Reset the power plan to the manufacturer's default and reconfigure sleep settings from there.

Tools and parts

  • None required

When to call a pro

If the laptop keeps waking with no identifiable trigger, a technician can check the lid sensor and motherboard wake circuitry.

Safety

Generally low risk

Generally low risk for a careful person. Stop if anything looks different from what this guide describes.

Related guides

Operator provides AI-generated troubleshooting information. It can be wrong. For safety-critical, electrical, gas, structural, medical, automotive safety, or other high-risk problems, consult a qualified professional.