I just put together a branch for unity-scopes-shell that logs when GPS
updates from the location service are being enabled and disabled:

lp:~unity-api-team/unity-scopes-shell/log-when-updating-location

Trying this on my device produces the expected behaviour, i.e.:

* When looking at a scope that requires location, it enables location updates.
* When you move away from that scope, location updates stay enabled for a 5 
second timeout (in order that the GPS isn't rapidly turned on and off as you 
browse through scopes).

To be clear, the location "session" remains active all the time, we just
toggle the "updates" property. This is the (I believe correct) way tvoß
explained to use the location service to me.

Log output:
Enabling location updates
Disabling location updates
Enabling location updates
Disabling location updates
Enabling location updates
Disabling location updates

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to location-service in Ubuntu.
https://bugs.launchpad.net/bugs/1422879

Title:
  GPS stays active after location data is used by a scope (even after
  not not using the scopes anymore)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1422879/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to