GPS always active when a scope that uses location is in the background

Bug #1434379 reported by Ricardo Salveti
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Pete Woods
unity-scopes-shell (Ubuntu)
Invalid
Undecided
Unassigned
unity8 (Ubuntu)
Fix Released
Undecided
Pete Woods
unity8 (Ubuntu RTM)
Fix Released
Undecided
dobey

Bug Description

current build number: 256
device name: krillin
channel: ubuntu-touch/ubuntu-rtm/14.09-proposed
last update: 2015-03-13 11:19:04
version version: 256
version ubuntu: 20150312
version device: 20150310-3201c0a
version custom: 20150216-561-29-186

(same for arale/vivid as well)

If you happen to have a scope that uses location data in background, your GPS will always be active, doesn't matter what is in the foreground.

This is a an issue with krillin (standard channel) as the main scope (Today's) can easily on background when you're using other apps.

If you move to the apps scopes, then GPS will automatically be disabled, and this won't happen (same for any other scope that doesn't use location data).

This is only when the user is actively using the phone, as the GPS gets automatically disabled once the screen turns off. And there is no timeout at all, it stays there until you move to another scope or turn off the screen.

Tags: battery

Related branches

Changed in canonical-devices-system-image:
status: New → Confirmed
importance: Undecided → High
milestone: none → ww13-ota
tags: added: battery
Revision history for this message
Michał Sawicz (saviq) wrote :

I don't think the dash currently has anything to do there, we already tell the scope middleware which scope is active.

Changed in unity8 (Ubuntu):
status: New → Incomplete
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Do we tell it no scopes are active?

Revision history for this message
Michał Sawicz (saviq) wrote :

Yes, for a scope to be active the dash needs to be focused and that scope needs to be in front.

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

@pete can you check this for us

Changed in canonical-devices-system-image:
assignee: nobody → Pete Woods (pete-woods)
Pete Woods (pete-woods)
Changed in unity8 (Ubuntu):
assignee: nobody → Pete Woods (pete-woods)
status: Incomplete → In Progress
Changed in canonical-devices-system-image:
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-scopes-shell (Ubuntu):
status: New → Confirmed
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Any progress on this one?

Michał Sawicz (saviq)
Changed in unity8 (Ubuntu RTM):
status: New → In Progress
assignee: nobody → Rodney Dawes (dobey)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity8 - 8.02+15.04.20150406~rtm-0ubuntu1

---------------
unity8 (8.02+15.04.20150406~rtm-0ubuntu1) 14.09; urgency=medium

  [ Rodney Dawes ]
  * GPS only goes active when the Dash is in the foreground (LP:
    #1434379)
 -- CI Train Bot <email address hidden> Mon, 06 Apr 2015 14:32:55 +0000

Changed in unity8 (Ubuntu RTM):
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity8 - 8.02+15.04.20150409.1-0ubuntu1

---------------
unity8 (8.02+15.04.20150409.1-0ubuntu1) vivid; urgency=medium

  [ Albert Astals Cid ]
  * Focus the shutdown dialog (LP: #1417991)
  * Make url-dispatching scope activation when the dash is not on the
    main scopes (LP: #1364306)
  * We use autopilot3 now

  [ CI Train Bot ]
  * New rebuild forced.
  * Resync trunk. added: po/or.po

  [ Daniel d'Andrada ]
  * Make tst_PreviewListView and tst_GenericScopeView work in out-of-
    source builds
  * MouseArea that shows the indicators panel should cover the
    indicators bar only (LP: #1439318)
  * Surface gets active focus also with mouse clicks

  [ Josh Arenson ]
  * Add a mode option to unity8 for selecting greeter mode in the future
  * Remove PkgConfig include from Launcher plugin to fix cross-compile
    (LP: #1437702)

  [ Leo Arias ]
  * Fixed the check for string in the lock screen test. (LP: #1434518)

  [ Michael Terry ]
  * Make sure the edge tutorial is destroyed when we receive a call
    during the wizard. (LP: #1436349)
  * Skip parts of the edge tutorial that require a touch device (like
    spread and bottom edge). (LP: #1434712)

  [ Michael Zanetti ]
  * Don't hide stages just because they're empty (LP: #1439615)
  * [Launcher] fix bug where an item would disappear even though the app
    is running (LP: #1438172)

  [ Nick Dedekind ]
  * Fixed autopilot test failures related to udev input failure for
    power button.
  * Made improvements for laggy indicator backends (lp#1390136). (LP:
    #1390136)

  [ Pete Woods ]
  * GPS only goes active when the Dash is in the foreground (LP:
    #1434379)

  [ handsome_feng<email address hidden> ]
  * Modified the wrong time format in ScreenGrabber (LP: #1436006)
 -- CI Train Bot <email address hidden> Thu, 09 Apr 2015 14:01:11 +0000

Changed in unity8 (Ubuntu):
status: In Progress → Fix Released
Changed in unity-scopes-shell (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.