do the statistics tell you how long an app has blocked suspend? how many times it's done so? what percentage of the time?
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)
[Link]
The battery statistics service tracks number of times acquired, total realtime (aka walltime) held, etc. Here's a sample from a typical bugreport. The user facing UI is, of course, friendlier looking: http://frotz.net/misc/battery-stats-unplugged.txt
It starts with an overview then provides a UID-by-UID and process-by-process breakdown of wakelocks, cpu time, sensor usage, etc.
Blocking suspend blockers
Posted Jun 1, 2010 20:11 UTC (Tue) by Duncan (guest, #6647)
[Link]
Thanks for the link to a real log. That's one thing I'd not seen in all this discussion.