Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The release
event of the WakeLockSentinel
interface is fired when the sentinel object's handle has been released.
A WakeLockSentinel
can be released manually via the release()
method, or automatically via the platform wake lock. This can happen if the document becomes inactive or looses visibility, if the device is low on power or the user turns on a power save mode.