[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-03-05 Thread Ricardo Salveti
** Changed in: canonical-devices-system-image Status: In Progress = Fix Released -- 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

[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-03-04 Thread Launchpad Bug Tracker
This bug was fixed in the package unity-scopes-shell - 0.5.4+15.04.20150226~rtm-0ubuntu1 --- unity-scopes-shell (0.5.4+15.04.20150226~rtm-0ubuntu1) 14.09; urgency=medium [ CI Train Bot ] * New rebuild forced. [ Pete Woods ] * Manage location activations with shared pointers

[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-03-04 Thread Launchpad Bug Tracker
This bug was fixed in the package unity8 - 8.02+15.04.20150226~rtm- 0ubuntu1 --- unity8 (8.02+15.04.20150226~rtm-0ubuntu1) 14.09; urgency=medium [ CI Train Bot ] * New rebuild forced. [ Pete Woods ] * Only set scopes active when the screen is on (LP: #1422879) -- CI Train

[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-27 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/vivid-proposed/unity-scopes-shell ** Branch linked: lp:ubuntu/vivid-proposed/unity8 -- 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

[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-27 Thread Launchpad Bug Tracker
This bug was fixed in the package unity8 - 8.02+15.04.20150226-0ubuntu1 --- unity8 (8.02+15.04.20150226-0ubuntu1) vivid; urgency=medium [ CI Train Bot ] * New rebuild forced. [ Pete Woods ] * Only set scopes active when the screen is on (LP: #1422879) -- CI Train Bot

[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-27 Thread Launchpad Bug Tracker
This bug was fixed in the package unity-scopes-shell - 0.5.4+15.04.20150226-0ubuntu1 --- unity-scopes-shell (0.5.4+15.04.20150226-0ubuntu1) vivid; urgency=medium [ CI Train Bot ] * New rebuild forced. [ Pete Woods ] * Manage location activations with shared pointers instead

[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-26 Thread Pete Woods
Okay, tvoss has helped uncover the actual bug. There's a refcounting error with temporary scopes. Attaching MR. ** Branch linked: lp:~unity-api-team/unity-scopes-shell/fix-location- refcount-bug ** Branch linked: lp:~unity-api-team/unity-scopes-shell/fix-location- refcount-bug-vivid ** Changed

[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-26 Thread Pete Woods
Checking the logcat output, I definitely see the GPS updates stopping after moving away from location-aware scopes. This is on an N4. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to location-service in Ubuntu.

[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-26 Thread kevin gunn
** Tags added: vivid -- 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

[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-25 Thread Pete Woods
Testing the build from silo 3 confirms that the GPS active / inactive signal is being sent to the location service 5 seconds after the screen turns off. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to location-service in Ubuntu.

[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-23 Thread Thomas Voß
Please find a verbose variant of the GPS Provider here: https://code.launchpad.net/~thomas-voss/location-service/be-verbose- about-starting-and-stopping-updates-for-testing/+merge/250600 To use it, the upstart override job for the location service has to be adjusted such that: GLOG_v=100

[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-23 Thread Pete Woods
** Branch linked: lp:~unity-api-team/unity8/scopes-active-depends-on- screen ** Branch linked: lp:~unity-api-team/unity8/scopes-active-depends-on- screen-rtm -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to location-service in Ubuntu.

[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-20 Thread Pete Woods
So it's *possible* the problem could be in the location service, maybe? -- 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

[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-20 Thread Pete Woods
Okay, further debugging reveals that if you put the phone to sleep with a scope that requires location visible, the location updates are not disabled. Looks like this is a regression. The location service listens to when scopes are marked as active/inactive, and they all used to be marked

[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-20 Thread Pete Woods
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

[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-20 Thread Pete Woods
I think it's worth noting that this bug could be in addition to the problem rsalveti is mentioning -- 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

[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-17 Thread Ricardo Salveti
Also, it doesn't happen with today's scope, but I can see from logcat that the GPS hardware is never really used in there (but it gets used by the weather scope). -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to location-service in

[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-17 Thread Ricardo Mendoza
From looking at the unity-scopes-shell code for the location provider, it seems like there is no direct correlation with the client request and the active location lookup service side. The request seems to be continuous and always on, is this is so, then we have a problem as this means the GPS

[Bug 1422879] Re: GPS stays active after location data is used by a scope (even after not not using the scopes anymore)

2015-02-17 Thread Pat McGowan
** Also affects: canonical-devices-system-image Importance: Undecided Status: New ** Changed in: canonical-devices-system-image Status: New = Confirmed ** Changed in: canonical-devices-system-image Importance: Undecided = High ** Tags added: battery -- You received this