Push-client should be disabled when in flight-mode (no network connection)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Bret Barker | ||
Ubuntu Push Notifications |
Fix Released
|
High
|
Samuele Pedroni | ||
ubuntu-push (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-push (Ubuntu RTM) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
current build number: 258
device name: krillin
channel: ubuntu-
last update: 2015-03-26 16:39:52
version version: 258
version ubuntu: 20150326
version device: 20150310-3201c0a
version custom: 20150216-561-29-186
Push-client should be disabled when in flight-mode (no network connection), as it makes no sense to wake up the phone at every 5 minutes if we know the check will fail.
The system should be smart enough to enable the push-client service only when there is a valid connection (either 3g or wifi).
After manually stopping push-client and enabling flight-mode, my battery consumption reduced quite a bit, as it was in deep sleep during all the period I had the screen turned off.
Related branches
- John Lenton (community): Approve
-
Diff: 404 lines (+215/-42)2 files modifiedpoller/poller.go (+144/-31)
poller/poller_test.go (+71/-11)
tags: | added: battery bq |
Changed in ubuntu-push: | |
importance: | Undecided → High |
Changed in canonical-devices-system-image: | |
importance: | Undecided → High |
milestone: | none → ww13-ota |
status: | New → Confirmed |
Changed in ubuntu-push: | |
assignee: | nobody → Samuele Pedroni (pedronis) |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Bret Barker (noise) |
Changed in canonical-devices-system-image: | |
status: | Confirmed → In Progress |
Changed in ubuntu-push (Ubuntu): | |
status: | Incomplete → In Progress |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Released |
Changed in ubuntu-push: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-push: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-push (Ubuntu): | |
status: | In Progress → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.