MozWakeLock
interface of the Wake Lock API tracks a wake lock set on any resource set on the device.MozWakeLock.topic
read-only property returns a DOMString
with the name of the resource locked.MozWakeLock.unlock()
method releases the lock on the resource. If several locks have been taken on the resource, each of them needs to be released individually.