powerd always uses autosleep, whereas early_suspend would be more appropriate for some kernels
Bug #1323286 reported by
John McAleely
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
powerd |
Fix Released
|
Undecided
|
Yuan-Chen Cheng | ||
powerd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Some android BSPs (and associated kernels) use 'early_suspend' for power managment purposes. On some of these kernels, powerd 'finds autosleep and doesn't look for anything else'.
Powerd should be altered to support these Android BSPs, such that they can use early_suspend to do their power managment, since Ubuntu Touch aims to support a broad number of Android BSPs.
Related branches
lp:~ycheng-twn/powerd/powerd_lp1323286
- Ricardo Salveti (community): Approve
-
Diff: 53 lines (+13/-7)2 files modifiedlibsuspend/earlysuspend.c (+9/-3)
libsuspend/libsuspend.c (+4/-4)
Changed in powerd: | |
assignee: | nobody → Yuan-Chen Cheng (ycheng-twn) |
status: | Confirmed → In Progress |
Changed in powerd: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Is the description suffient? (It may be for a power expert, but I'm not 100% confident)