HP TECH TAKES /...

Exploring today's technology for tomorrow's possibilities
Person holding an HP laptop while reaching for books inside a warmly lit library or bookstore with tall shelves and hanging globe lights.

How to Stop Your Laptop from Sleeping in Windows 11

Taaha Muffaisil
|
Reading time: 4 minutes
If your HP laptop keeps going to sleep while downloading files, presenting, streaming music, or connected to an external monitor, you can adjust the sleep settings in Windows 11 in just a few minutes. This guide explains how to stop your laptop from sleeping, how to keep it awake when the lid is closed, and what to do if Windows keeps overriding your settings.

Quick Answer

To stop your laptop from sleeping in Windows 11:
  1. Open Settings using Windows key + I
  2. Select System
  3. Click Power & battery
  4. Open Screen and sleep
  5. Under Plugged in, set Put my device to sleep after to Never
  6. Under On battery, choose your preferred sleep timer
We recommend only using “Never” while plugged in. On battery power, a 15 to 30-minute sleep timer usually provides the best balance between convenience and battery life.

Method 1: Change Sleep Settings in Windows 11

Windows separates sleep behavior based on whether your laptop is plugged in or running on battery power. If you only adjust one setting, your laptop may still behave differently in the other power state.
HP laptops, including HP OmniBook models, use the standard Windows power management system provided by Microsoft.

Steps to change sleep settings

  1. Open Settings
  2. Click System
  3. Select Power & battery
  4. Open Screen and sleep
  5. Under Plugged in, set Put my device to sleep after to Never for uninterrupted use
  6. Under On battery, choose your preferred sleep timer
You can also adjust:
  • Turn off my screen after
  • Put my device to sleep after
These settings work independently. For example, you can turn the display off while keeping the laptop awake for downloads, streaming, or background tasks.

Method 2: Change What Happens When You Close the Lid

If your laptop goes to sleep whenever you close the lid, you can change that behavior in either Settings or Control Panel depending on your Windows version.
This is especially useful when using external monitors, docking stations, or desktop-style workstation setups.

From Settings

  1. Open Settings
  2. Select System
  3. Click Power & battery
  4. Open Lid & power button controls (Windows 11 24H2)
  5. Under When I close the lid (Plugged in), select Do nothing
  6. Under When I close the lid (On battery), choose your preferred option

From Control Panel

  1. Open Control Panel
  2. Select Hardware and Sound
  3. Click Power Options
  4. Choose Choose what closing the lid does
  5. Set When I close the lid to Do nothing
This allows your laptop to remain awake even when the lid is closed.

Method 3: Use Power Plans for Advanced Control

Windows still supports traditional Power Plans alongside the newer Settings interface. Power Plans provide additional control and can help if your sleep settings are restricted or do not save correctly.

Steps to access Power Plans

  1. Press Windows key + R
  2. Type powercfg.cpl
  3. Press Enter
  4. Select your active power plan
  5. Click Change plan settings
  6. Adjust Put the computer to sleep for both:
    • Plugged in
    • On battery
Advanced users can also access additional power management options through:
  • Advanced power settings
  • Wake timers
  • Hibernate configuration
  • USB selective suspend settings

Why Your Laptop Might Still Keep Going to Sleep

If your laptop continues entering sleep mode after changing the settings, one of the following issues may be causing the problem:
Problem Possible Cause
Settings are greyed out
Device may be managed by an IT administrator or organization policy
Settings reset after restart
Windows Update or power plan conflicts
Laptop sleeps immediately after waking
Driver issues or wake timer conflicts
Lid settings are not applying
Settings app and Control Panel configuration mismatch
If the problem continues after checking these settings, consider:
  • Updating device drivers
  • Running Windows Update
  • Using HP diagnostics tools
  • Visiting HP Support

Related Guides

FAQ

How do I stop my laptop from going to sleep in Windows 11?

Open Settings, go to System > Power & battery > Screen and sleep, then adjust the sleep timers for both Plugged in and On battery. Setting the plugged-in option to Never prevents your laptop from automatically entering sleep mode during downloads, presentations, or streaming.

What is the difference between sleep and hibernate in Windows 11?

Sleep stores your active session in memory for fast wake times while using a small amount of power. Hibernate saves your session to the storage drive and uses almost no power, but restarting takes longer compared to sleep mode.

Why does my laptop keep going to sleep even after I change the settings?

This usually happens when another setting overrides your preferences. Common causes include organization policies, power plan conflicts, Windows updates resetting settings, outdated drivers, or wake timer issues.

How do I keep my HP laptop awake when the lid is closed?

Open Control Panel > Power Options > Choose what closing the lid does, then set When I close the lid (Plugged in) to Do nothing. This keeps your HP laptop running while connected to external monitors or docking stations.

Will changing sleep settings affect battery life?

Yes. Preventing your laptop from sleeping increases battery usage because the system remains active instead of entering a low-power state. For most users, a 15 to 30-minute sleep timer on battery power provides a good balance between convenience and battery efficiency.

About the Author

Taaha Muffasil is a contributing writer for HP® Tech Takes and specializes in gaming hardware and PC technology. He has collaborated with multiple technology brands on content related to gaming hardware, laptops, and PC performance optimization.

Disclosure: Our site may get a share of revenue from the sale of the products featured on this page.