- From: Marcos Cáceres via GitHub <sysbot+gh@w3.org>
- Date: Thu, 22 Nov 2018 21:44:38 +0000
- To: public-device-apis-log@w3.org
Would what’s already in the spec not work? 
```
navigator.getWakeLock("screen", {fullBrightness: true}).then(wakeLock => {
  var request = wakeLock.createRequest();
  setTimeout(() {
    request.cancel();
  }, 1000);
});
-- 
GitHub Notification of comment by marcoscaceres
Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/129#issuecomment-441124143 using your GitHub account
Received on Thursday, 22 November 2018 21:44:40 UTC