Requests are not cleared if a client dies unexpectedly and drops from the bus
Bug #1450568 reported by
Ricardo Mendoza
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Canonical Phone Foundations | ||
powerd |
In Progress
|
Critical
|
Ricardo Mendoza | ||
powerd (Ubuntu) |
Fix Released
|
Undecided
|
Ricardo Mendoza |
Bug Description
Power requests (wakelocks) are not released if the owner process unexpectedly exits and drops off the bus. This causes a stale request that holds the device awake, which can result in extreme battery drain.
For example, the vibration sensor can unexpectedly die while holding a vibration/alarm lock and at the point the phone would never again suspend.
Related branches
lp:~ricmm/powerd/clear-power-dbus-dead
- Ricardo Salveti (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 11 lines (+1/-0)1 file modifiedsrc/powerd-object.c (+1/-0)
Changed in powerd: | |
assignee: | nobody → Ricardo Mendoza (ricmm) |
status: | New → In Progress |
Changed in powerd (Ubuntu): | |
assignee: | nobody → Ricardo Mendoza (ricmm) |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
importance: | Undecided → High |
milestone: | none → ww19-ota |
status: | New → In Progress |
tags: | added: battery hotfix |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Canonical Phone Foundations (canonical-phonedations-team) |
Changed in powerd: | |
importance: | Undecided → Critical |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This bug was fixed in the package powerd - 0.16+15. 04.20150507- 0ubuntu1
--------------- 04.20150507- 0ubuntu1) vivid; urgency=medium
powerd (0.16+15.
[ Ricardo Mendoza ] Unity.Screen vanishing from the bus (USC/Unity8
* Watch com.canonical.
not running) to hold a lock until either we poweroff, or Unity
returns. Also, add a delay for clearing requests from dead bus names
(LP: #1452300) (LP: #1452300)
-- CI Train Bot <email address hidden> Thu, 07 May 2015 22:33:15 +0000