-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "geolocation" wake lock #170
Comments
Happy to spec this, just note that at the moment I am knees-deep in Google I/O preparations, but I keep this in mind. |
It's unclear from Microsoft's documentation what the effect of acquiring this kind of wake lock is. Especially given #138 we should be careful to document the difference between this and the |
It can be specced in a way that it can be implemented as just a system lock. System locks on Windows are time limited on battery (not plugged in, discharging) but geolocation is not, as far as I can read, but it had the limitation that only one may exist |
Would be great if the system wake lock kept the GPS alive in the background when it is used by the Geolocation API (classic or sensor). Just as native apps do for tracking various sports activities. It's also been discussed in this issue: w3c/geolocation-sensor#22 (comment). It would be a nice step forward for web apps in terms of capabilities. |
Closing, as this is now out of scope for this spec. @tomayac, should we spin this issue up somewhere else? I wonder if we should just spin this up directly in http://github.com/w3c/geolocation-api/ ? |
@anssiko, what's your opinion here? Especially give this Geolocation Sensor issue? |
(just fyi, Anssi is OoO and will be back next week) |
@tomayac is interested in this for the GeolocationSensor.
https://docs.microsoft.com/en-us/windows/uwp/launch-resume/run-minimized-with-extended-execution
Windows also has special API for geolocation as there can
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 ?
The text was updated successfully, but these errors were encountered: