TechBuzzPro

Laptop Sleeps When Working: Fix It Now

· 5 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, your laptop can stop going to sleep unexpectedly while you're using it—this usually happens because power settings are configured to conserve energy, not because of a hardware failure. The fix is adjusting your power plan settings in Windows or macOS so the device stays awake during active use. This guide walks you through how to identify and change the settings causing unwanted sleep, with steps for both operating systems, plus troubleshooting if the problem persists.

What You'll Need

  • Access to your laptop’s operating system (Windows or macOS)
  • Administrator rights (for changing system settings)
  • Charger connected (recommended while adjusting power settings)

Step-by-Step

  1. Open the power settings on your laptop. On Windows, press the Windows key, type “Power & sleep settings,” and select the result. On macOS, click the Apple menu and choose System Settings (or System Preferences on older versions), then select Battery or Energy Saver.
  2. Adjust when the device sleeps. In Windows, under “Screen and sleep,” change both “On battery power, turn off my display after” and “When plugged in, turn off my display after” to “Never” or a longer duration. Then set “Put my device to sleep” to “Never” when plugged in.
  3. Access advanced power settings in Windows. Scroll down and click “Additional power settings,” then select “Change plan settings” next to your active plan. Click “Change advanced power settings.” Expand the “Sleep” section, then set “Sleep after” to “0” for both battery and plugged in. Also ensure “Hibernate after” is set to “0” or a high value.
  4. Check lid close and power button actions. In the same advanced settings, expand “Power buttons and lid,” then set “Lid close action” to “Do nothing” when plugged in (if you want it to stay awake when closed). Set “Power button action” to “Do nothing” if accidental presses are an issue.
  5. On macOS, adjust Energy Saver settings. In the Battery or Energy Saver panel, move the “Turn display off after” slider to a longer time or “Never.” Uncheck “Put hard disks to sleep when possible” and disable “Enable Power Nap” if enabled. If you're on a Mac notebook, ensure the “Prevent computer from sleeping automatically when the display is off” box is checked when using power adapter.
  6. Disable hybrid sleep (Windows only). In advanced power settings, expand “Sleep” > “Allow hybrid sleep” and set it to “Off.” This prevents the system from entering a deep sleep state that can be hard to wake from.
  7. Update your system. Go to Windows Update or macOS Software Update and install any pending updates. Outdated drivers or OS bugs can cause incorrect sleep behavior.
  8. Check for running apps that trigger sleep. Some backup or security software may include power management features. Review recently installed apps and check their settings for sleep or power controls.

Common Mistakes

  • Only changing display sleep time but not system sleep—both settings must be adjusted.
  • Forgetting to switch between battery and plugged-in plans—settings differ for each.
  • Assuming the problem is hardware-related without checking software settings first.
  • Disabling sleep entirely without considering overheating or battery drain risks.
  • Ignoring lid-close actions, which can trigger sleep even if the laptop is in use externally.

Tips

  • Create separate power plans for battery and AC use to balance performance and power savings.
  • Use the command powercfg /requests in Command Prompt (Windows) to see if any app or process is blocking sleep or forcing it.
  • On Windows laptops, check manufacturer utilities (like Lenovo Vantage or Dell Power Manager) for additional power controls.
  • Consider using “Presentation Mode” in Windows (via Action Center) to temporarily disable sleep during meetings or long tasks.
  • On macOS, use the caffeinate command in Terminal to prevent sleep temporarily: type caffeinate -u -t 3600 to stay awake for one hour.

Troubleshooting

If your laptop still sleeps unexpectedly after adjusting settings, restart it to apply changes fully. Then check for driver issues—go to Device Manager (Windows) and look for warnings under “System devices” or “Batteries.” Update the BIOS or SMC (on Mac) if available through system updates. Test with all peripherals disconnected, as faulty USB devices can signal sleep states. If using remote desktop or screen sharing, ensure the host system isn’t set to sleep when idle. If nothing works, reset power settings: on Windows, open Command Prompt as admin and run powercfg -restoredefaultschemes, then reconfigure. On macOS, reset the SMC (shut down, press Shift+Control+Option+Power for 10 seconds, then release). If the issue continues, it may indicate a failing battery or sensor—contact manufacturer support.

Frequently Asked Questions

Why does my laptop sleep even when I’m typing?

Some power plans ignore user activity if a timer is set too aggressively. Check that both display and system sleep times are set correctly and that no app is overriding settings.

Can a virus make my laptop sleep?

Not directly. Malware can’t trigger sleep mode, but it may run processes that interfere with power management. Run a full antivirus scan if you suspect infection.

Does closing the lid always make the laptop sleep?

By default, yes—but you can change this in power settings to “Do nothing” or “Ask” when the lid is closed.

Why does my laptop sleep when plugged in?

Even when charging, power plans may still enforce sleep. Check both battery and plugged-in settings separately in your OS.

How do I keep my laptop awake without changing settings?

Use the caffeinate command on macOS or third-party apps like “Caffeine” (Windows) to temporarily prevent sleep.

Will stopping sleep harm my laptop?

Not immediately, but prolonged use without sleep or shutdown can increase heat buildup and wear components over time. Use moderation and monitor temperatures.