MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

The MozWakeLock interface of the Wake Lock API tracks a wake lock set on any resource set on the device.

Properties

MozWakeLock.topic Read only
Returns a DOMString with the name of the resource with a lock.

Methods

MozWakeLock.unlock()
Releases the lock on the resource. If several locks have been taken on the resource, each of them needs to be released individually.

Specification

Not part of any specification

See also

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, teoli
 Last updated by: chrisdavidmills,