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

Re: [wake-lock] Anyone implementing "system" lock? (#232)

From: Marcos Cáceres via GitHub <sysbot+gh@w3.org>
Date: Tue, 08 Oct 2019 10:10:15 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-539446737-1570529414-sysbot+gh@w3.org>
> Background sync cannot use it, it can be used in dedicated workers, not service workers - or at least that is the indention

And you help me understand why not? The spec currently says:

> Though a system wake lock will usually keep the network connection alive, it is most likely not required for such. Audio streaming on devices usually does the same and if you need it for long running upload and download tasks, such as for a podcast, other more appropriate features exist, like [BACKGROUND-FETCH].

My reading from the above is that "other things handle system lock for you... don't worry about it". 

GitHub Notification of comment by marcoscaceres
Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/232#issuecomment-539446737 using your GitHub account
Received on Tuesday, 8 October 2019 10:10:17 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:57 UTC