Wake Lock API based on Promises

The Wake Lock API brings a standard, secure, and safe way to prevent some device features such as the screen or CPU cycles going into power saving state. In this latest iteration of API we aim to address some of the shortcomings of the older api which was limited to screen Wake Lock and didn’t address some of the security and privacy issues. This 2nd iteration of Wake lock API makes use of Promises and introduces Wake Lock Types.

Demo

Documentation

Specification

Editor's draft

Status in Chromium

Blink>WakeLock


Behind a flag (tracking bug) in:

  • Chrome for desktop release 71

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • Public support
  • No public signals
  • No public signals
  • Positive

Owner

Last updated on 2018-12-18