Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
8 results across 6 corpora for wakelock.
Dictionary 2
wakelock
A lock that can be acquired by software for the purpose of preventing the mobile device from going into a locked standby state during a particular operation
wakelocks
Developer library 6
Firefox 126 release notes for developers
other applications where the screen may not receive regular tactile input when in use that would typically keep it awake. The API is accessed through Navigator.wakeLock in secure contexts, which returns a WakeLock. This allows you to request a WakeLockSentinel, which can be used to monitor the status of the wake lock and release it manually ([Firefox bug 1589554](https://bugzil.la/1589554), [Firefox bug 1874849](http
Speculation Rules API
requires the containing document's visibility state to be `"visible"`, _or_ transient activation) - [Screen Wake Lock API](/docs/Web/API/Screen_Wake_Lock_API): WakeLock.request() ### Other restricted features - Download links, i.e., a and area elements with the `download` attribute, will have their downloads delayed until prerendering has finished. - No cross-site navigations: Any prerendering document that navigat
WakeLock
Screen Wake Lock API The **`WakeLock`** interface of the [Screen Wake Lock API](/docs/Web/API/Screen_Wake_Lock_API) can be used to request a lock that prevents device screens from dimming or locking when an application needs to keep running. This interface, and hence the system wake lock, is exposed through the Navigator.wakeLock property. ## Instance methods - request() - : Returns a Promise that fulfills with
WakeLock: request() method
Screen Wake Lock API The **`request()`** method of the WakeLock interface returns a Promise that fulfills with a WakeLockSentinel object if the system screen wake lock is granted. The screen wake lock prevents device screens from dimming or locking when an application needs to keep running. ## Syntax ```js-nolint request(type) ``` ### Parameters - `type` - : A string specifying the screen wake lock type, fro
Screen Wake Lock API
ce, scanning a QR/barcode or applications that use voice or gesture control, rather than tactile input (the default way to keep a screen awake). You acquire a WakeLockSentinel object by calling the navigator.wakeLock.request() Promise-based method that resolves if the platform allows it. A request may be rejected for a number of reasons, including system settings (such as power save mode or low battery level) or if
WakeLockSentinel
Screen Wake Lock API The **`WakeLockSentinel`** interface of the [Screen Wake Lock API](/docs/Web/API/Screen_Wake_Lock_API) can be used to monitor the status of the platform screen wake lock, and manually release the lock when needed. The screen wake lock prevents device screens from dimming or locking when an application needs to keep running. A screen wake lock is requested using the navigator.wakeLock.request()