Android looks good in that aera
Posted May 20, 2010 18:25 UTC (Thu) by farnz
In reply to: Android looks good in that aera
Parent article: Blocking suspend blockers
Suspend blockers would help in one or possibly two ways:
- You can log whenever a suspend blocker is taken out or released, so it's then obvious that the IM app is causing the power draw; when it just wakes up briefly once a second to poll things, it vanishes in system noise. Even an in-memory log is enough to let you spot apps that are claiming a suspend blocker once a second.
- Assuming you have appropriate system capabilities, you can prohibit the application from taking out the block in the first place. For example, you could set permissions that prevent the app from taking out a suspend block, or use a library to lie to the application and tell it that it has a block taken out when it doesn't.
to post comments)