You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>When no type is supplied, JavaScript defaults to <code>"screen"</code>. The native sentinel is returned by the JavaScript API and its release event keeps the element state synchronized.</p>
<p>The current Screen Wake Lock API defines only the <code>screen</code> type. It requires a secure, visible page and can be released by the browser or operating system.</p>
<p><a href="/docs/wake-lock/demo">Open the demo</a></p>