Guide

Wake Lock API Guide

The Wake Lock API lets supported browsers request that a screen stay awake while a web page is active and visible.

How NoSleepScreen Uses It

When you press Start, NoSleepScreen calls navigator.wakeLock.request("screen"). If the browser grants the request, the page keeps screen on until you stop it, close the tab, switch conditions, or the browser releases it for power or visibility reasons.

Browser Requirements

Wake Lock API support is strongest in modern Chromium browsers such as Chrome and Edge, including many Android browsers. Safari and some managed or battery-saving environments may limit support. Check browser compatibility before relying on it for an important presentation or session.

Graceful Fallbacks

If the API is not available, the tool shows a clear unsupported-browser message instead of failing silently. That helps users understand whether they should try another browser, disable battery saver, or use system power settings instead.

Privacy

The Wake Lock API does not require personal data. NoSleepScreen does not need to know who you are, does not need uploaded files, and does not require an account to prevent screen sleep.