Requests are not cleared if a client dies unexpectedly and drops from the bus
Bug #1450568 reported by
Ricardo Mendoza
on 2015-04-30
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Canonical System Image |
High
|
Canonical Phone Foundations | ||
| | powerd |
Critical
|
Ricardo Mendoza | ||
| | powerd (Ubuntu) |
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: Approve on 2015-04-30
- PS Jenkins bot: Approve (continuous-integration) on 2015-04-30
-
Diff: 11 lines (+1/-0)1 file modifiedsrc/powerd-object.c (+1/-0)
Ricardo Mendoza (ricmm)
on 2015-04-30
| Changed in powerd: | |
| assignee: | nobody → Ricardo Mendoza (ricmm) |
| status: | New → In Progress |
Ricardo Mendoza (ricmm)
on 2015-04-30
| Changed in powerd (Ubuntu): | |
| assignee: | nobody → Ricardo Mendoza (ricmm) |
| status: | New → In Progress |
Pat McGowan (pat-mcgowan)
on 2015-04-30
| Changed in canonical-devices-system-image: | |
| importance: | Undecided → High |
| milestone: | none → ww19-ota |
| status: | New → In Progress |
| tags: | added: battery hotfix |
Pat McGowan (pat-mcgowan)
on 2015-04-30
| Changed in canonical-devices-system-image: | |
| assignee: | nobody → Canonical Phone Foundations (canonical-phonedations-team) |
Omer Akram (om26er)
on 2015-04-30
| Changed in powerd: | |
| importance: | Undecided → Critical |
Pat McGowan (pat-mcgowan)
on 2015-05-01
| Changed in canonical-devices-system-image: | |
| status: | In Progress → Fix Committed |
| Launchpad Janitor (janitor) wrote : | #1 |
| Changed in powerd (Ubuntu): | |
| status: | In Progress → Fix Released |
Pat McGowan (pat-mcgowan)
on 2015-05-12
| 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