Chrome 79 Beta Supports Experimental Wake Lock API

Chrome 79 Beta includes experimental support for the Wake Lock API. Wake Lock functionality prevents an app, or certain device features, from defaulting to an energy-saving state (e.g. mobile device screen from going black). The feature is especially useful for apps that need a device to remain awake during long periods of no use (e.g. recipe apps, boarding passes, etc.). Prior to the Wake Lock API, such functionality was typically limited to native applications.

The Wake Lock API includes two types of locks: screen and system. A screen lock prevents a device screen from turning off. A system lock prevents a device's CPU from entering standby mode. The system lock option addresses privacy and security concerns associated with earlier versions of the API.

The Wake Lock API has been under development at W3C since 2015, but it remains experimental. The latest Editor's Draft was published in November 2019. For more specifics of Wake Lock within Chrome, visit the Chromium blog. For more specifics on the Wake Lock API, visit the Editor's Draft.

 

Comments (0)