Requests are not cleared if a client dies unexpectedly and drops from the bus

Bug #1450568 reported by Ricardo Mendoza on 2015-04-30
6
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

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
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)
Omer Akram (om26er) on 2015-04-30
Changed in powerd:
importance: Undecided → Critical
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package powerd - 0.16+15.04.20150507-0ubuntu1

---------------
powerd (0.16+15.04.20150507-0ubuntu1) vivid; urgency=medium

  [ Ricardo Mendoza ]
  * Watch com.canonical.Unity.Screen vanishing from the bus (USC/Unity8
    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

Changed in powerd (Ubuntu):
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers