- From: Raphael Kubo da Costa via GitHub <sysbot+gh@w3.org>
- Date: Tue, 04 Feb 2020 08:46:06 +0000
- To: public-device-apis-log@w3.org
Isn't that covered by example 2, which has
```js
navigator.wakeLock.request("screen").then(lock => {
  checkbox.checked = true;
  const listener = (ev) => {
    checkbox.checked = false;
    ev.target.removeEventListener('release', listener);
  };
  lock.addEventListener('release', listener);
});
```
?
-- 
GitHub Notification of comment by rakuco
Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/250#issuecomment-581801928 using your GitHub account
Received on Tuesday, 4 February 2020 08:46:07 UTC