The MozWakeLock interface of the Wake Lock API tracks a wake lock set on any resource set on the device.
Properties
- MozWakeLock.topicRead only
- Returns a DOMStringwith 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
    
    Tags: 
    
  
                    
                       Contributors to this page: 
        chrisdavidmills, 
        teoli
                    
                    
                       Last updated by:
                      chrisdavidmills,