idle.IdleState
String describing the device's idle state.
String describing the device's idle state.
Type
Values of this type are strings. Possible values are: "active", "idle", "locked".
Browser compatibility
[!NOTE] This API is based on Chromium's
chrome.idleAPI. This documentation is derived fromidle.jsonin the Chromium code.