
Tired of your laptop with Windows 11 The screen turns off or goes to sleep just when you need it most? This situation is more common than it seems and can be quite frustrating, especially when you're in the middle of an important task or leaving your computer running on its own. Power management is vital for saving battery life and protecting the lifespan of your devices, but it can also play tricks on you if the settings aren't properly customized.
If you want to take full control over the auto-shutdown and sleep behavior on your laptop, whether you use Windows 11 and previous versions, you've come to the right place. Here we'll go over every setting, tool, and option in absolute detail, so you'll never be surprised again. black screen inopportune. In addition, you will discover Tricks additional tips and tricks to get the most out of your equipment without sacrificing performance or safety.
Why does Windows 11 automatically turn off the display?
La automatic energy management It's a feature that's been built into Windows for years. By default, the system is configured to turn off the screen and go to sleep after a specific period of inactivity. The goal is simple: conserve energy, extend laptop battery life, and, in the process, protect components like the hard drive or screen. However, these generic configurations may not suit your specific needs.
In most cases, after just 20 minutes without moving the mouse or typingThe laptop turns off the screen and, if inactive, goes to sleep. This is great for those who forget to turn off their computer, but a real pain if you tend to leave it working, transferring files, or just don't want to be bothered with moving the mouse every few minutes.
Options to prevent automatic screen shutdown and sleep in Windows 11
There are Different ways to take control over sleep and auto-shutdown in Windows 11. From modifying basic settings to creating your own custom power plans, to using advanced Microsoft utilities. We'll go over each method so you can choose the one that best suits you.
From Windows Settings
The most direct and easy way to prevent the screen from turning off or the laptop from going to sleep is through the application itself. Configuration of Windows 11.
- Open the menu Home and click on the icon Configuration (the gear).
- Access the section System and look for the section Start / stop and suspend.
- Here you will see several options, such as There to turn off the display or put the computer to sleep, whether you are using a battery or the laptop is connected to the power supply.
To avoid automatic suspension, set all these options to NeverThis way, the screen won't automatically turn off and the laptop won't go to sleep, regardless of whether you're using a battery or a power source.
- Display:
- When using the battery, disconnect after: Never
- When plugged in, disconnect after: Never
- Lay off:
- When using the battery, suspend the team after: Never
- When plugged in, suspend the team after: Never
This configuration, although initially aimed at Windows 10, is also valid and functional for Windows 11, since the menus and options have barely changed.
From the Power Options in the Control Panel
If you prefer the "traditional" method, you can manage the behavior of your laptop through the Control panel Classic. This is a more advanced route and gives you access to additional options:
- Open the Control panel (you can search for it in the start menu).
- Choose Hardware and sound and then Energy options.
- Next to the active power plan, click Change plan settings.
On this screen, you can adjust the screen-off and sleep times for both battery and power scenarios.
- Turn off the screen: Put it on Never both for battery and when plugged in.
- Put the computer into sleep mode: Also adjust to Never in both cases.
With these settings, your laptop will stay active even when you're not using it, keeping the screen on and not automatically going to sleep.
Creating a personalized energy plan
Do you find the default plans insufficient? Windows allows you to create custom power plans tailored to your daily routine:
- Go to System > Start/Shutdown in Settings.
- At the bottom, select Additional power settings.
- In the left panel, click on Create an energy plan.
- Choose a name, like “No Sleep” or “Long Work,” and click Next.
- Set the screen off and sleep times, setting everything to Never if you want your laptop to always be active.
- Save and select your new plan as default.
This option is ideal if you need different profiles for different situations (for example, one for maximum performance and another for battery saving). You can also check out our guide to choosing the best 3D printer for specific tasks if you're working on related projects.
Prevent automatic hard drive shutdown

- Please log back in Control Panel> Opciones de energía.
- Click on Change plan settings and later Change advanced power settings.
- Expand the section HDD and locate Turn off hard drive after (minutes).
- In both cases (battery and current), set the value to Never.
This ensures that your disks remain functional the entire time your computer is on, which is useful if you're working with large files or need instant access.
How to configure the behavior when closing the laptop lid
Many people are unaware that, by default, when closing the lid of a laptop, the action usually suspends the device. But you can easily customize this:
- The Control panelgo to Hardware and Sound > Power Options.
- In the menu on the left, search Select the lid closing behavior.
- You can choose between: Sleep, Hibernate, Shut down or Do nothing.
- Set both options (on battery and on power) so that when you close the lid, the laptop do nothing, if you want to avoid any type of automatic suspension.
When you save your changes, your computer will continue working even if you close the lid—ideal if you connect your laptop to an external display or simply need to leave it processing long tasks.
Use PowerToys Awake to keep your laptop always on

Microsoft offers a free and very useful tool called power toys Awake to keep the computer and display awake, without having to modify the system power settings. This utility is especially useful for long tasks , the downloads, video processing, or any situation where you need to make sure your laptop doesn't shut down on its own.
What is PowerToys Awake?
Powertoys awake It's a mini-application that's part of Microsoft's PowerToys package. Its purpose is simple: keep the computer and screen active indefinitely, for a specific period of time or until a selected date and time.
How to get PowerToys Awake up and running
- Download and install microsoft power toys (from the official Microsoft website).
- Open PowerToys and activate the function Awake.
- From the configuration interface you can choose between several modes:
- Continue using the system power plan: Awake stays in the background without changing behaviors.
- Keep active indefinitely: The laptop never goes to sleep or turns off the display until you disable Awake.
- Stay active for a period of time: You can define how many minutes/hours to keep the computer awake.
- Keep active until a specific date and time: Ideal for scheduled tasks.
Additionally, you can activate the option Keep screen on, so that even the monitor remains active.
PowerToys Awake Advanced Features
Awake integrates into the system tray, allowing you to change operating modes by right-clicking on its icon. It also has line of commands, in case you want to automate tasks from scripts or external programs. You can customize shortcuts, timings, and behaviors by editing the file. settings.json of utility.
In addition, you have advanced parameters such as:
- Attach Awake to a specific process, so that it remains active only while that program is running.
- Define custom time ranges via the system tray.
Another advantage of Awake is that it doesn't interfere with manual shutdowns or suspensions: it only works while you have it activated.
Power plans for maximum performance and other scenarios
If you are looking to get the most out of your Windows 11 laptop, you can activate the plan Maximum performance. This mode is originally intended for servers or high-performance computers, but is useful in situations where you are not worried about energy consumption or you look for the highest possible speed.
- Go to Control Panel > Hardware and Sound > Power Options.
- Select the plan Maximum performance.
- On some laptops, it may not be enabled by default. If so, you can activate it by opening PowerShell in administrator mode and running the command:
powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61 - After this, the plan will appear in the list and you can select it.
This plan keeps the processor, memory, and disks running at full capacity, reducing wait times and making the system run more smoothly. However, battery consumption will increase considerably, so it's recommended to use it regularly with the laptop plugged in.
Passionate writer about the world of bytes and technology in general. I love sharing my knowledge through writing, and that's what I'll do on this blog, show you all the most interesting things about gadgets, software, hardware, tech trends, and more. My goal is to help you navigate the digital world in a simple and entertaining way.