ContextCleaner: see every entry in the Windows 11 right-click menu, and which app added it — on the Microsoft Store.
Guide StayGreen

Keeping Windows Awake: Sleep, Screen Timeout and Keep-Awake Tools Explained

How to keep Windows awake: every sleep and screen timer in Windows 11, how to keep the screen on or just the PC, battery and lid rules, and keep-awake tools.

Published October 28, 2026 13 min read

To keep Windows awake, either lengthen the timers in Settings, System, Power & battery (the screen, sleep and hibernate timeouts), or use a keep-awake tool that asks Windows to stay on only while you need it. Decide first what you need: the screen kept on (for a presentation, a dashboard or a long read) or just the PC kept running (for a download, build or render) while the screen turns off. Windows treats those as separate requests. Some rules always win over any app: closing the lid, pressing the power button, choosing Sleep, and on many laptops, running on battery.

This guide explains why Windows sleeps, what each timer does, how to keep the screen or the system awake, what changes on battery and with the lid closed, why Windows sometimes sleeps anyway, and how the keep-awake options compare. Each section links to a deeper guide on this site.

Why does Windows turn off the screen or go to sleep?

Windows saves power by stepping down when it thinks nobody is using the PC. It measures that by input: if there is no keyboard, mouse or touch input for the length of a timer, it acts. First the screen turns off, then later the PC sleeps, and on some machines it later hibernates.

Programs can tell Windows “I am busy, do not do that yet”. These are called power requests. A video player asks to keep the display on. A backup or download asks to keep the system on. When the request ends, the normal timers resume. You can see the current requests with powercfg /requests in an elevated terminal, which is the fastest way to find out what is keeping a PC awake, or why nothing is. powercfg /requests explained shows how to read the output.

Websites can make the same kind of request through the browser. Screen Wake Lock API: how websites keep the screen on explains how that works and its limits.

Every power and sleep timer in Windows 11, explained

Windows 11 has more timers than most people expect, and they live in different places.

TimerWhereWhat it does
Turn off my screen afterSettings, System, Power & batteryTurns the display off after idle time, separately for battery and plugged in
Make my device sleep afterSame placePuts the PC to sleep after idle time
Hibernate afterSame place, on supported PCsSaves memory to disk and powers off after a further period
Lock screen display timeoutPower options (advanced settings)How long the screen stays on once the PC is locked
Screen saverSettings, Personalization, Lock screenStarts the screen saver, and can require sign-in on resume
Energy SaverSettings, System, Power & batteryCuts background activity and may dim the screen, often automatically on battery
Lid and power button actionsControl Panel, Power OptionsWhat closing the lid or pressing power does

Windows 11 power and sleep settings: every timer explained goes through each one. If your screen goes dark about a minute after you lock the PC, that is the lock screen display timeout, not the normal screen timer; see monitor turns off 1 minute after locking Windows. For what Energy Saver changes, see Windows 11 Energy Saver explained.

On a work PC, some of these settings may be greyed out and set by your organisation. In that case, a keep-awake tool that uses ordinary power requests is often the only option, and you should follow your organisation’s policy.

How do I keep the screen on for a presentation or long read?

You have a few choices, from simplest to most flexible.

  1. Raise the screen timeout. In Settings, System, Power & battery, set the screen timeout higher for the power source you are on. Remember to set it back.
  2. Use presentation mode. Windows has a hidden Presentation Settings tool. Press Win+R, type presentationsettings, and turn on “I am currently giving a presentation”. It keeps the PC awake and can turn off the screen saver. It does not end by itself, so turn it off afterwards. Windows presentation settings: hidden keep-awake mode covers it.
  3. Let the app do it. PowerPoint slide shows and video players usually request the display on their own while they play.
  4. Use a keep-awake tool that holds the display for a set time and then lets go, so you do not have to remember to undo anything.

How do I keep the PC awake for a download, build or render but let the screen turn off?

This is the more power-friendly choice, since the display is often the biggest power user. You want a system request without a display request.

  • Many apps already do this. Large downloads in some clients, backup tools and media encoders request the system stays on while they work. Check with powercfg /requests to see if yours does.
  • Change only the sleep timer. Set “Make my device sleep after” to Never while the job runs, and leave the screen timer alone.
  • Use a keep-awake tool in system-only mode. PowerToys Awake keeps the system awake while letting the display turn off by default. StayGreen has a system-only mode too.

When the job is done, put things back, or use a tool with a timer so it ends on its own.

What happens on battery and when the lid closes?

Laptops add rules that apps cannot override.

  • Closing the lid does whatever “When I close the lid” is set to, usually sleep. With an external monitor attached, many laptops keep running with the lid closed. If yours sleeps with the lid closed and you want it not to, change the lid action in Power Options.
  • Battery and Energy Saver change behaviour. Energy Saver limits background work, and on many modern laptops Windows is stricter about power requests on battery.
  • Modern Standby laptops keep some activity going during sleep. On battery, Windows ends keep-awake system requests a few minutes after the sleep timeout passes.

A laptop that is warm or drained after time in a bag usually did not really sleep. Laptop hot in bag after closing the lid explains how to check what kept it running.

Why does Windows still sleep with a keep-awake app running?

Because some sleep triggers are designed to beat every app.

  • You pressed the power button, closed the lid or chose Sleep from the Start menu. These end power requests.
  • The laptop is on battery with Modern Standby, and Windows ended the request after the timeout.
  • A group policy on a work PC forces sleep or overrides requests.
  • The app’s request was released, for example because a timer ran out or the PC was locked.

None of these is a bug in the app. Why Windows still sleeps with a keep-awake app running goes through each one and how to tell which happened.

How to check what happened

Windows keeps records you can read in an elevated terminal:

  • powercfg /requests shows which programs are holding the display or system awake right now. If your keep-awake tool is not listed, its request is not active.
  • powercfg /lastwake shows what woke the PC most recently, which helps when a PC wakes up on its own rather than failing to stay awake.
  • powercfg /sleepstudy creates a report of recent sleep sessions on laptops that support Modern Standby, including which components used power while asleep.
  • powercfg /waketimers lists the active wake timers that can wake the PC.

Comparing these with the time the PC went to sleep usually shows whether a timer, the lid, the battery or a policy was the cause.

Keep-awake options compared: settings, PowerToys Awake, mouse movers and apps

OptionCostStrengthsTrade-offs
Windows settingsBuilt inNo extra softwareEasy to forget to change back
Presentation SettingsBuilt inOne switchNo timer; desktop PCs may not show the Mobility Center tile
PowerToys AwakeFreeIndefinite, timed or until-a-time modes, command line optionsPart of the PowerToys suite
Mouse movers and jigglersVariesWork without power requestsSimulate input, which can conflict with work policies and does not change your presence status reliably
StayGreenOne-time purchaseTimed sessions, per-app rules, steps aside on battery and lockA separate app

PowerToys Awake is a strong free choice. According to Microsoft’s documentation, it keeps a computer awake without changing your power plan, by requesting a machine state for as long as you set. Its modes are: keep using the selected power plan, keep awake indefinitely, keep awake for a time interval, and keep awake until a set time. By default the displays can still turn off, and a “Keep screen on” switch keeps them on. It cannot stop sleep or hibernate that you start yourself, and when the PC is locked it stops keeping the display on while the keep-awake mode continues. It also has command line options, such as a time limit, an expiry time and a mode that ends when a given process exits. Microsoft notes it is meant for when you are at the computer or in private environments.

Mouse movers work by pretending you moved the mouse or pressed a key. That keeps the PC from idling, but it is different from asking Windows politely, and simulated input can break workplace rules. Best keep-awake tool for Windows 11 (no mouse jiggler) compares the approaches.

How StayGreen fixes this

StayGreen is a tray app that keeps the screen or the PC awake on purpose and then gets out of the way. Its Microsoft Store listing describes:

  • Timed sessions: one click for 15 or 30 minutes, 1 or 2 hours, or any length up to 7 days, with a live countdown you can extend or end. Sessions end by themselves.
  • Per-app rules: hold the display only while a named program is in the foreground, using a foreground event hook rather than polling.
  • Two modes: keep the display and system on, or the system only.
  • Steps aside when it should: on battery and Battery Saver it hands control back to your Windows power settings; when the lid closes with no external monitor it steps aside, and keeps working with one attached; on lock it releases its request.
  • Honest about Windows limits: on Modern Standby laptops on battery, it detects when Windows has ended its request and tells you.
  • No input simulation by default: it does not keep Teams or Slack showing you as Available, and it does not change your power plan. An optional Presence mode, off by default and behind a disclosure, sends one unused keypress every 4 minutes, only while the display is held, never while locked, and only within hours you choose.
  • Clear status: a green tray icon when it holds, amber when paused, grey when idle, with no background service.
  • Private and accessible: no network, accounts or telemetry; 20 languages, full keyboard use and screen-reader labels.

StayGreen is a one-time purchase on the Microsoft Store.

Get StayGreen from the Microsoft Store

Frequently asked questions

How do I stop Windows 11 from turning off the screen?

Go to Settings, System, Power & battery, Screen, sleep and hibernate timeouts, and raise “Turn off my screen after”. Or use a keep-awake tool with the display option for a set time.

Can I keep the PC awake but let the screen turn off?

Yes. Set only the sleep timer to Never, or use a keep-awake tool in system-only mode, which is the default for PowerToys Awake.

Why does my laptop sleep even with a keep-awake app?

Closing the lid, pressing the power button, choosing Sleep, battery rules on Modern Standby laptops and work policies can all end keep-awake requests.

Will a keep-awake app keep me Available in Teams?

Not usually. Presence status follows input and the app’s own rules. Tools that simulate input can affect it, but may conflict with workplace policies.