Mouse MoverChrome extension

How to keep your computer from sleeping

November 5, 2026 · Settings and timers checked against the official help pages on November 4.

Three settings keep your computer from going to sleep: when the screen turns off, when the computer sleeps, and what happens when you close the lid. Here is where they live on Windows 11, macOS and ChromeOS, what they can’t do on a work computer, and why a chat app can still mark you Away while the screen stays on.

At a glance

  • Where the timers are: on Windows 11, Settings › System › Power & battery › Screen, sleep, & hibernate timeouts; on a Mac, System Settings › Lock Screen; on a Chromebook, Settings › System preferences › Power.
  • Screen off and sleep are two different timers. Set both.
  • The defaults are short: a clean install of Windows 11 turns the screen off after 3 minutes on battery and 5 plugged in; a MacBook after 2 minutes on battery; a Chromebook after about 5 to 8 minutes.
  • Work and school computers may not let you change them.
  • Keeping the screen on does not keep you active in Teams, Slack or Zoom: they use their own idle timers.
  • Want the screen on and a chat open in Chrome showing you as active while you step away? Mouse Mover, a Chrome extension, does both.

Windows 11: stop your PC from going to sleep

Windows keeps two timers: one turns the screen off, the other puts the device to sleep. Set both, for battery and for plugged in.

  1. Open Settings › System › Power & battery.
  2. Open Screen, sleep, & hibernate timeouts.
  3. Under Turn my screen off after and Make my device sleep after, pick a longer time, or Never, for “On battery” and “Plugged in”.
  4. On a laptop, also choose what closing the lid does. Recent versions of Windows 11 have Lid & power button controls on the same page (“Closing the lid will make my PC”); older ones keep it in Control Panel › Power Options › Choose what closing the lid does. Choosing “Do nothing” keeps the PC running with the lid closed, so don’t put it in a bag like that.

On Windows 10 the same two timers are under Settings › System › Power & sleep.

A clean install of Windows 11 turns the screen off after 3 minutes on battery and 5 minutes plugged in, and puts the device to sleep after the same 3 and 5 minutes on modern-standby devices (10 and 15 on others). A PC upgraded from Windows 10 keeps its old, longer values.

For an afternoon, not forever: PowerToys Awake

If you only need the PC awake for a long download or a presentation, Microsoft’s free PowerToys include Awake: pick “Keep awake indefinitely” or “Keep awake for a time interval”, and turn on “Keep screen on” so the display stays lit too. It changes none of your power settings and stops when you close it. One limit: once you lock the computer, Awake stops keeping the screen on.

macOS: prevent your Mac or MacBook from sleeping

  1. Open the Apple menu › System Settings, then Lock Screen in the sidebar.
  2. Set Turn display off on battery when inactive and Turn display off on power adapter when inactive to a longer time, or Never.
  3. On a MacBook, open Battery › Options and turn on Prevent automatic sleeping on power adapter when the display is off. On a desktop Mac the switch is in Energy and reads “Prevent automatic sleeping when the display is off”.

Out of the box a MacBook turns its display off after 2 minutes on battery and 10 on power. Closing the lid still puts it to sleep, unless an external display, power and a keyboard or mouse are connected.

From the Terminal: caffeinate

macOS ships a small command for exactly this. Open Terminal and run caffeinate -d: the display stays awake until you press Control+C or close the window. caffeinate -d -t 3600 does it for an hour and then stops on its own.

Chromebook: keep it from going to sleep

  1. Select the time at the bottom right, then Settings.
  2. On the left, select System preferences, then Power.
  3. Under While inactive and plugged in and While inactive and on battery, choose Keep display on.
  4. To keep the Chromebook running with the lid closed, turn off Sleep when lid is closed.

By default a Chromebook dims and turns the screen off after about 5 to 8 minutes. If you use it at work or school, these settings may be locked by your administrator.

On a work computer

If the timers are grayed out, or snap back after a restart, your IT department sets them by policy. Long downloads, presentations and monitoring screens are ordinary reasons to ask for an exception, and asking is easier than fighting the policy. Keep in mind that a screen that never turns off also stays unlocked: lock it when you walk away (Win+L, Control+Command+Q on a Mac, Search+L on a Chromebook).

Awake is not the same as active

A screen that stays on solves half of the problem. Work chats decide that you are away with their own idle timers, and none of them looks at your display:

  • Microsoft Teams: Away after a few minutes without input (its troubleshooting guide says more than five), and at once when you lock the computer.
  • Slack: away after 10 minutes of desktop inactivity.
  • Zoom: Away after 15 minutes by default.
  • Google Chat: Idle after 5 minutes and Away after 10.

How each one works, and what you can change: how to keep your Teams status green and Away status in Slack, Discord and Zoom.

When the settings aren’t enough

Many people who search for this want two things at once: a screen that stays on and a chat that keeps showing them as active while they read, watch something or step away. Mouse Mover does both from inside Chrome.

Mouse Mover, a Chrome extension

The Mouse Mover button, green while it’s on
The Mouse Mover button turns green while it’s on. To open it, click the Mouse Mover icon in the Chrome toolbar.
  • While it’s on, it keeps your screen on and your computer awake, from any tab, even with Chrome minimized.
  • It sends small signs of activity to the chats it recognizes in Chrome tabs — Teams, Slack, Google Chat, Discord, Zoom and others — so they keep showing you as active. A tab that stays visible on screen works best.
  • After 2 idle minutes a drawn cursor moves over the page and ordinary pages scroll a little (never chats or mail), so you can see it working. Your first click brings your own cursor back; it never clicks or types for you. Prefer a still page? Turn off Cursor movement: the screen stays awake either way.
  • From the Chrome Web Store: no installer, no admin rights, no sign-up, and nothing you read or type leaves your computer.

What it can’t do: stop a sleep you start yourself, keep a closed laptop or a locked screen active, reach chats in their desktop apps, or override your company’s policies.

Add Mouse Mover to Chrome (opens the Chrome Web Store) Works in Chrome on a computer · No sign-up

On a phone? Open this page on your computer to add it.

Questions people ask

How do I keep my screen from turning off?

Set the screen timer to a longer time or to Never: on Windows 11 under Settings › System › Power & battery › Screen, sleep, & hibernate timeouts; on a Mac under System Settings › Lock Screen; on a Chromebook under Settings › System preferences › Power. While Mouse Mover is on, Chrome keeps the screen on for you.

Why does my computer still go to sleep after I set it to Never?

Four usual reasons: the lid is closed; a company policy puts the timer back; the battery is critically low, which forces sleep on every system; or you changed the screen timer but not the sleep timer, which is a separate setting on Windows and macOS.

Does keeping the screen on stop Teams or Slack from showing me as Away?

No. Chats use their own idle timers: without keyboard or mouse input Teams goes Away after a few minutes and Slack after 10, whatever the screen does. More in how to keep your Teams status green and Away status in Slack, Discord and Zoom.

Is it bad to set the screen to never turn off?

It costs battery on a laptop, and a screen that never turns off also never locks on its own, so lock it by hand when you leave. On an OLED display a static picture left on for very long can leave a faint ghost, so a screen saver or a dark wallpaper helps.

Can a Chrome extension keep my computer awake?

Yes. Chrome gives extensions a power API: while Mouse Mover is on, it asks Chrome to keep the screen on, which also stops the computer from going to sleep when idle, and the request ends when you pause it or close Chrome. It can’t change your sleep settings, and it can’t keep a laptop awake with the lid closed or after you put it to sleep.

How do I keep a Chromebook from sleeping at school or work?

Settings › System preferences › Power, then Keep display on, if your administrator allows it. On a managed Chromebook the setting may be locked and extensions may be blocked; ask the administrator.

Sources

More guides