To turn off sleep mode on an HP laptop with Windows 10, open Settings > System > Power & sleep and set both Sleep options (on battery and when plugged in) to Never. To stop the laptop sleeping when you close the lid, open Control Panel > Power Options > Choose what closing the lid does and set it to Do nothing. These settings work the same on HP and other laptops.
Windows 10 reached end of support on October 14, 2025. Consumer Extended Security Updates (ESU) now run until October 12, 2027.
Quick Answer
Settings > System > Power & sleep > Sleep: Never for both options.
Turn Off Sleep
- Open Settings (Windows + I) > System > Power & sleep.
- Under Sleep, set On battery power, PC goes to sleep after to Never.
- Set When plugged in, PC goes to sleep after to Never.

Stop Sleep When Closing the Lid
- Open Control Panel > Hardware and Sound > Power Options.
- Click Choose what closing the lid does.
- Set When I close the lid to Do nothing for Plugged in (and On battery if you want).
- Click Save changes.
Don’t put a laptop in a bag with the lid closed while it’s still running; it can overheat.
Related Settings
| Setting | Where |
|---|---|
| Screen turning off | Power & sleep > Screen |
| Hibernate | Power Options > Change plan settings > Advanced > Sleep > Hibernate after |
| Power button action | Power Options > Choose what the power buttons do |
| Screen saver | Settings > Personalization > Lock screen > Screen saver settings |
If an animation appears instead of sleep, disable the screensaver.
Troubleshooting
- Still sleeps: Check Hibernate after in Advanced power settings, and HP’s own power utility if installed.
- Screen goes dark but PC stays on: That’s the Screen setting, not sleep.
- Want it to hibernate instead? See hibernating Windows 10.
- Keep a laptop running with the lid closed on Windows 11? See keeping a laptop on when closed.
Frequently Asked Questions
Is it bad to never sleep?
It uses more power and battery. Consider a long timeout instead of Never on battery.
Does this affect Windows updates?
Updates may restart the PC outside active hours regardless of sleep settings.
Summary
- Power & sleep > Sleep: Never.
- Set lid close to Do nothing if needed.
- Check hibernate and HP utilities.
- Watch battery and heat.

Kermit Matthews is a freelance writer based in Philadelphia, Pennsylvania with more than a decade of experience writing technology guides. He has a Bachelor’s and Master’s degree in Computer Science and has spent much of his professional career in IT management.
He specializes in writing content about iPhones, Android devices, Microsoft Office, and many other popular applications and devices.