← 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)

 

>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 hardware is active and signalling even though the user is
not interested in location data at the moment.

-- 
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