You set a clock up on a spare monitor, walk away, and ten minutes later the screen is black. Every operating system is built to save power by switching displays off, which is exactly right for a laptop in a bag and exactly wrong for a screen whose only job is to be looked at. To keep display awake behaviour working reliably, you usually need two things: the right power setting in the operating system, and a browser that has been asked to hold the screen on.
This guide covers the settings on Windows, macOS, iPad, Android and Linux, explains what the Screen Wake Lock API does and where it stops, and sets out the costs of a panel that never rests. Set your display up first on the fullscreen clock display and then work through the platform you are using.
Why Does the Screen Sleep in the First Place?
Because a lit panel is usually the largest single power draw in a portable device, and because switching it off protects it. Display sleep saves electricity, extends battery life and limits the cumulative wear that ages an OLED panel.
Those defaults assume a screen that nobody is watching, which is precisely the assumption you need to overturn to keep display awake for a clock. A clock inverts the assumption: nobody is touching the device, but somebody is looking at it. Since the operating system has no way to tell the difference, you have to say so explicitly, and every platform provides a way to do that. It is worth changing the setting deliberately rather than installing a utility that jiggles the mouse, which works but leaves the machine unable to lock itself.
How Do You Keep Display Awake on Windows and macOS?
On Windows, open Settings, go to System and then Power and battery, expand the screen and sleep timeouts, and set the plugged-in screen timeout to Never. On macOS, open System Settings, go to Lock Screen, and set the display to turn off never when on the power adapter.
- Windows 11: Settings, System, Power and battery, Screen and sleep. Set both the screen and sleep timers for plugged-in operation to Never.
- Windows 10: the same settings live under System and Power and sleep, with separate lists for battery and mains.
- macOS: System Settings, Lock Screen, "Turn display off on power adapter when inactive" set to Never. The Displays panel has a related option preventing the machine sleeping when the display is off.
- macOS from the terminal: the caffeinate command with the display flag holds the screen on for as long as it runs, which is handy for a session without changing anything permanently.
- Linux: in GNOME, Settings, Power, Blank Screen set to Never; on X11 sessions the xset utility switches off both the screensaver and power management directly.
Remember to set the screen lock separately from the display awake timers. A machine that keeps the display awake but still locks after five minutes will show a lock screen rather than a clock, which defeats the purpose on a shared display.
Keep Display Awake on Tablets, Phones and Old Devices
A retired tablet is the ideal always-on clock, and on both mobile platforms a single setting decides whether the display stays awake. On iPad and iPhone, open Settings, Display and Brightness, and set Auto-Lock to Never. On Android, open Settings, Display, and raise the screen timeout to its maximum.
Two wrinkles are worth knowing. On Apple devices, Low Power Mode forces Auto-Lock back to a short interval and greys the option out, so keep the device on charge if you want it to keep display awake behaviour permanently. On Android, the screen timeout usually caps at thirty minutes, but the developer options include a "stay awake while charging" switch that removes the limit entirely, which is the setting most people actually want for a docked clock. Guided Access on iPad, found under Accessibility, locks the device to a single app and is useful for a display in a room where other people can reach it.
What Is the Screen Wake Lock API?
It is a browser feature that lets a page ask the operating system not to dim or switch off the screen while that page is visible. It is what a recipe site uses so your hands-free phone does not lock mid-recipe, and it is what a clock page uses to keep display awake without any system changes.
The design is deliberately cautious. A wake lock only works over a secure connection, it can only be requested by a page the user is actually looking at, and the browser releases it automatically the moment the tab is hidden, the window is minimised or the device is locked. Some browsers decline to honour it at all when a laptop is running on battery. Support arrived in Chrome and Edge in 2020, reached Safari in version 16.4, and came to Firefox more recently, so on an up-to-date browser it is widely available. Treat it as a convenience layered on top of correct power settings, particularly for a display that has to survive a whole working day, such as the one described in classroom clock displays.
The Battery and Burn-In Trade-Off
A screen that never sleeps costs something. Before you disable every timeout, weigh what you are spending against what the display is worth:
- Battery wear: a device held permanently at full charge while also driving a lit panel runs warm, and heat is what ages lithium cells fastest. Prefer a device that can sit at a moderate charge, or one designed to be docked.
- OLED burn-in: static digits are the classic burn-in pattern. Dim the display, use light digits on a black background, and change the size or position occasionally.
- Electricity: a large panel left on around the clock is a real if modest running cost, and an empty room does not need the time.
- Security: disabling the lock screen on a machine with your accounts on it is a genuine risk. Use a dedicated device where you can.
- Heat: a laptop propped in a corner with the lid open and the screen lit needs airflow, particularly if it is also charging.
The compromise most people land on is to keep display awake settings enabled on a dedicated old device and leave the main machine to sleep normally, which keeps the running costs where they belong. That approach is set out in using a clock as a screensaver, and in the notes on putting a fullscreen digital clock on your desktop.
When the Screen Still Goes Dark
If the screen still sleeps despite every keep display awake setting you have changed, work through the likely causes in order. Check that you changed the plugged-in profile rather than the battery one, since the two are configured separately on every platform.
Then confirm the browser tab is genuinely visible, because a wake lock is dropped the instant the page is hidden behind another window. On corporate machines, a managed power policy can override local settings, which is usually only fixable by whoever administers the device. Screensavers are a separate system from display sleep and need switching off in their own settings. And on a laptop, closing the lid will sleep the machine regardless of anything a web page has asked for, so a lid-closed display must be configured for clamshell operation with an external screen attached. If the clock is going to run overnight, dim it and switch to the red night mode clock, or simply let the machine sleep and rely on the clock with an alarm instead.
Conclusion
To keep display awake reliably, change the operating system timeout for the power state you are actually in, disable the separate screen lock and screensaver, and let the browser's Screen Wake Lock API handle the rest while the page is visible. Weigh it against battery wear, burn-in and electricity, and prefer a dedicated old device for anything permanent. Set up the display on the fullscreen clock, or choose another mode at digitalclock.now.