W3C home > Mailing lists > Public > public-device-apis-log@w3.org > April 2019

Re: [wake-lock] What do the wakelocks actually do? (#138)

From: Kenneth Rohde Christiansen via GitHub <sysbot+gh@w3.org>
Date: Wed, 03 Apr 2019 12:11:43 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-479462699-1554293502-sysbot+gh@w3.org>
OK, I see that this auto closed.

I don't think that we can accomplish HTML and other specs specifying exactly when things enter power save modes, that is a OS thing and we don't want the UA to hold wake lock by default to work around this.

We can, though, make wake locks prevent UA induced power save modes, like the per document CPU suspension as described in page lifecycle.

The introduction section of the spec has been updated and improved and it details that any wake lock, prevents page lifecycle CPU suspension. This probably needs to be tied into the algorithms as well, but there is already another issue open for that.

Feel free to re-open or file new issues, if this is not enough

GitHub Notification of comment by kenchris
Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/138#issuecomment-479462699 using your GitHub account
Received on Wednesday, 3 April 2019 12:11:44 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 3 April 2019 12:11:45 UTC