← Back to team overview

touch-packages team mailing list archive

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

 

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
inactive when the phone went to sleep. This is obviously no-longer the
case.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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)

Status in the base for Ubuntu mobile products:
  Confirmed
Status in location-service package in Ubuntu:
  New
Status in unity-scopes-api package in Ubuntu RTM:
  New

Bug description:
  phablet@ubuntu-phablet:~$ system-image-cli -i
  current build number: 237
  device name: krillin
  channel: ubuntu-touch/ubuntu-rtm/14.09-proposed
  last update: 2015-02-17 17:04:34
  version version: 237
  version ubuntu: 20150217
  version device: 20150216-fe747ac
  version custom: 20150207-538-29-183

  You can easily see if the GPS is active or not by checking the logcat
  output (running as root). In this case the hardware remains on
  (consumed by the location-service) after opening a scope such as the
  weather channel one, and retrieving location.

  To reproduce:
  1 - Reboot the phone;
  2 - Open logcat as root: sudo /system/bin/logcat
  3 - From today's scope, click on the weather icon (opening the weather channel scopes)
  4 - See that the GPS is active and location works as expected
  5 - Move away from that scope, and check logcat's output (it will stay active, meaning that the location-service is still active).

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


References