Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for December 5, 2013
Deadline scheduling: coming soon?
LWN.net Weekly Edition for November 27, 2013
ACPI for ARM?
LWN.net Weekly Edition for November 21, 2013
Ever heard of dancing pigs? Fat chance that the end user will ever make an informed decision on installing an application calling for this then...
Blocking suspend blockers
Posted May 22, 2010 1:53 UTC (Sat) by swetland (subscriber, #63414)
- Applications that don't specifically need to prevent suspend don't request the permission, and the vast majority of apps fall into that category. The user obtains benefit here in that if non-suspend-blocking apps perform poorly, they only do so while the device is awake, which we attempt to minimize.
- Applications that keep the device awake must use suspend blockers and the statistics from their use allows us to answer the "Why is my battery running low?" question by pointing out apps that are contributing to poor battery life. The "battery low, please plug in the charger" notification has had a "Why?" button since Android 2.0, to help users discover the "what apps are using up my battery" panel.
So yes, users will certainly get their dancing pigs (or bouncing cows), especially on a platform that has no restrictions on app installation, but we can certainly help the user still have a positive experience, or at the least, understand what the cause of their negative experience is.
Posted May 22, 2010 2:30 UTC (Sat) by dlang (✭ supporter ✭, #313)
a long running app that uses suspend blockers only where needed could still show up as a top item for total time blocked or how many times it's blocked.
Posted May 22, 2010 3:15 UTC (Sat) by swetland (subscriber, #63414)
It starts with an overview then provides a UID-by-UID and process-by-process breakdown of wakelocks, cpu time, sensor usage, etc.
Posted Jun 1, 2010 20:11 UTC (Tue) by Duncan (guest, #6647)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds