MDN’s new design is in Beta! A sneak peek:

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


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


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


Not part of any specification

See also

Document Tags and Contributors

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