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

[wake-lock] Add "geolocation" wake lock (#170)

From: Kenneth Rohde Christiansen via GitHub <sysbot+gh@w3.org>
Date: Mon, 01 Apr 2019 12:21:24 +0000
To: public-device-apis-log@w3.org
Message-ID: <issues.opened-427673924-1554121282-sysbot+gh@w3.org>
kenchris has just created a new issue for https://github.com/w3c/wake-lock:

== Add "geolocation" wake lock ==
@tomayac is interested in this for the GeolocationSensor.


Windows also has special API for geolocation as there can

* Only be one lock at a given time
* Regular CPU "system" lock has a time limit when the device is running on battery

We could also spec that the lock would be rejected if the same global scope doesn't have an active GeolocationSensor - I think that makes sense.

This might require some spec changes in the GeolocationSensor spec as well.

Up for speccing this @tomayac ?

Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/170 using your GitHub account
Received on Monday, 1 April 2019 12:21:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:34:27 UTC