Skip to Content
Platform.Ontology

Screen Wake Lock

Keeps the screen on while the page is visible.

Works without askingNotifications and backgroundKeep awakeWeb browsersWhile you use it

In one line

Can keep your screen on while the page is showing, but not in the background

Keeps the screen on while the page is visible.

Stops the display from dimming or locking, which can drain battery and expose the screen. Browsers drop it when the page is hidden or battery is low, so it cannot hold the screen on in the background.

What it can and can't do

What the user does: You open a recipe, video or presentation and the page asks to stay awake

It can

  • Stop the screen from dimming or locking while the page is visible
  • Keep a recipe or slide show on screen
  • Work in all major browsers with no pop up in most

It cannot

  • Keep the screen on once you switch tabs or minimize the page
  • Hold the screen on when battery is low
  • Keep the computer awake when the screen is off
  • Override browser rules that release it when the page is hidden

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported842020-07-27None
EdgeSupported842020-07-16None
FirefoxSupported1262024-05-14None
SafariSupported16.42023-03-27None
Safari on iPhoneSupported18.42025-03-31None
Chrome on AndroidSupported842020-07-27None
Samsung InternetSupported14.02021-04-17None

How a site asks for it

APInavigator.wakeLock.request('screen'); sentinel.release(); 'release' event
Permission namescreen-wake-lock
Permissions policyscreen-wake-lock
Browser compat keysapi.WakeLock
api.WakeLockSentinel
How access is grantednone
What the user seesNo prompt in most browsers; Chrome keeps a policy gate; the permission state granted, denied or prompt follows policy and battery.
Needs a secure context (HTTPS)Yes
Needs a user gestureNo
How long it lastsHeld only while the document is visible
How to take it backPage hidden, low battery or power saver, sentinel.release()
Inside an iframeNeeds allow="screen-wake-lock" in iframes

Typical flow

  1. Call navigator.wakeLock.request('screen')
  2. Browser grants a WakeLockSentinel
  3. Lock releases on hide, low battery or release()
  4. Re-request on visibilitychange

Data you get

What comes back: WakeLockSentinel
Shape: object
How often: while active

FieldTypeUnitRangePrecision
typeenumnonescreen onlyfixed
releasedbooleannonetrue or falseevent driven

Technical limits

  • Only 'screen' type exists
  • Needs a visible active document
  • Released on low battery

The story

What it is

A page can keep your screen from dimming or locking while you use it.

For you

You do not see a prompt. While you watch a video or follow a recipe, your screen stays on. It lets go when you leave the page. It can use more battery.

For makers

Makers use it for reading, video, maps, recipes and live scoreboards, where a dimmed screen breaks the experience. It only works while the tab is visible. The browser can release it when battery is low.

Where you see it

TypeExampleApps
videoA video site keeps the screen on while you watch, so the screen does not dim mid movie.YouTube, Netflix
gamesA browser game with long thoughtful turns, or a cloud game stream, keeps the display awake while you play with a gamepad.Xbox Cloud Gaming, GeForce NOW
shoppingA recipe site keeps the screen on while you cook with messy hands.None named
mapsA web map app keeps the display on while you navigate a walk.Google Maps
liveA live scoreboard or stream stays visible during a match.None named
productivityA slide viewer keeps the screen on while you present.Google Slides
fitnessA workout timer site keeps the screen on while you exercise.None named
paymentsA web ticket page keeps the QR code bright for a scanner at the gate.None named

Risks

  • Drains battery
  • Screen burn on some displays

What the platform says

Good uses and abuse

Legitimate uses

  • Recipe pages
  • Video and presentation apps

Known abuse

  • Battery drain, always-on display

Scores

ScoreValueMeaning
Sensitivity1 of 5How revealing the data is
Utility3 of 5How useful it is to honest apps
Friction0 of 5How much the user has to do
Fingerprint bitsNot ratedRough identifying entropy, when known

History

  • 2020-07, Chrome 84: Screen Wake Lock ships
  • 2023-03, Safari 16.4: Safari ships Screen Wake Lock
  • 2024-05, Firefox 126: Firefox ships Screen Wake Lock
  • 2025-03, Chrome 134: Baseline newly available across engines
  • System Wake Lock. Can't keep your device awake with the screen off; no browser ever shipped this
  • Idle Detection. Can tell when you step away or lock your screen, if you allow it

Sources

How well checked: Based on official documentation.

On this page