requestKeepAwake method
Requests that power management be temporarily disabled. |level| describes the degree to which power management should be disabled. If a request previously made by the same app is still active, it will be replaced by the new request.
Implementation
void requestKeepAwake(Level level) {
$js.chrome.power.requestKeepAwake(level.toJS);
}