Reference Guide
How to Keep Your Screen Awake
Understand wake locks, browser support, battery impact, and when to use device settings instead.
Quick Answer
You can keep your screen awake directly from a browser tab using the Wake Lock API. Open the tool, press the button, and your display will stay on for as long as the tab is visible and active — no app download, no account, no settings change required.
Try Keep Screen Awake →Why Screens Turn Off Automatically
Every operating system ships with an automatic screen timeout. After a set period of inactivity — typically 30 seconds to a few minutes — the display dims and then turns off. This behavior exists for several practical reasons:
- Battery conservation. The display is the largest power draw on most laptops and phones. Turning it off when idle extends battery life significantly.
- Heat reduction. Keeping a high-brightness display on continuously generates heat, especially on mobile devices.
- Security. An unattended screen showing your content is a privacy risk in public spaces. Auto-lock after timeout is a default security measure.
- OLED burn-in prevention. Displaying static content at high brightness for extended periods can cause permanent image retention on OLED screens.
These defaults make sense for most situations. They become inconvenient when you are actively using the screen but not touching it — reading, watching, following instructions, or monitoring something.
How Screen Wake Locks Work
A wake lock is a request to the operating system to suppress automatic sleep. Here is the chain:
- Your browser exposes the Wake Lock API — a standard JavaScript interface available in Chrome, Edge, and other Chromium-based browsers.
- The web page calls
navigator.wakeLock.request('screen')when you activate the tool. - The browser forwards this request to the operating system's power management layer.
- The OS suppresses the display timeout for as long as the lock is held.
- When you stop the tool, close the tab, or switch away, the lock is released and normal timeout behavior resumes.
Common Situations Where People Use It
Following Recipes
Reading a recipe while cooking means your hands are often wet or occupied. Tapping the screen repeatedly to keep it lit is frustrating. Activating the wake lock before you start cooking means the recipe stays visible until you are done.
Reading Long Articles
Long reads — research papers, long-form journalism, documentation — can take ten or twenty minutes to get through. If your screen times out while you are reading, you lose your place and have to unlock the device. The wake lock removes this interruption.
Online Classes and Tutorials
Following a video tutorial or written walkthrough often means watching the screen without interacting with it. The wake lock keeps the lesson visible without requiring you to touch the trackpad or keyboard periodically.
Presentations
If you are presenting from a browser window on a laptop, the screen turning off mid-sentence is a disruptive experience. Activating the wake lock before you start keeps the display on throughout your talk.
Workout Sessions
Following a workout routine, timer, or exercise video while exercising means your phone or tablet is stationary. The wake lock keeps the instructions visible so you can glance at them without touching the screen between sets.
Monitoring Dashboards
Developers and analysts often leave dashboards or log output on a second screen for passive monitoring. The wake lock prevents the monitor from going dark, ensuring alerts and status changes stay visible.
Battery Considerations
Keeping the screen on continuously will drain your battery faster than allowing it to dim and sleep. The impact depends on your display size, brightness setting, and device. On a typical laptop at medium brightness, expect battery life to decrease by 20–40% compared to allowing normal sleep behavior.
On phones, the display is responsible for a majority of power consumption. A one-hour session with the screen fully awake could consume the equivalent of 15–25% additional battery compared to a session where the display sleeps between interactions.
The wake lock tool itself — the web page and its JavaScript — uses negligible CPU or memory. The battery impact is entirely from the display staying on.
Device Compatibility
The Wake Lock API is a web standard, but not all browsers have implemented it yet:
- Chrome on Android — Supported. Open this page in Chrome on your Android phone or tablet.
- Chrome on desktop (Windows, macOS, Linux) — Supported.
- Microsoft Edge — Supported. Edge is Chromium-based and includes the API.
- Samsung Internet — Supported on recent versions.
- Safari on iOS and macOS — Limited or no support. Apple has not yet fully implemented the Wake Lock API in Safari.
- Firefox — Not supported. Mozilla has not yet implemented the API.
If your browser does not support the API, the tool will display a message and suggest using your device settings instead.
Limitations
- Battery saver mode. Enabling battery saver or low-power mode on some devices causes the OS to override or reject wake lock requests.
- Display sleep vs. system sleep. The wake lock only controls the display. System sleep (triggered by lid closure or OS power settings) is separate and not controllable by a browser.
- Lock revocation. The OS can revoke a wake lock at any time for system reasons. The tool listens for this event and will attempt to reacquire the lock when the tab becomes visible again.
- Private browsing. Some browsers restrict API access in private or incognito mode. If the tool does not work in a private window, try a regular browser session.
When You Probably Don't Need This Tool
This tool is designed for situations where you need a temporary, no-configuration solution. There are cases where other options are more appropriate:
- Watching videos. Most video players — YouTube, Netflix, local media players — already request a wake lock automatically. Your screen will stay on during playback without needing this tool.
- Long-term preference. If you consistently want a longer screen timeout, changing your device's auto-lock setting is the better solution. This tool is useful when you want the behavior temporarily, not permanently.
- Using a screensaver. If you need the screen on but want to protect it during idle periods, setting a screensaver in your OS settings achieves this without any browser tool.
- Full-screen apps. Many native apps (games, presentation software, media players) suppress screen sleep on their own when running full screen.