Blocking suspend blockers
Blocking suspend blockers
Posted May 20, 2010 15:57 UTC (Thu) by intgr (subscriber, #39733)In reply to: Blocking suspend blockers by brendan_wright
Parent article: Blocking suspend blockers
> were concerned about buggy userspace code blocking suspend?
No, desktop distros only support user-initiated suspend, which should never be blocked by user space applications anyway. A desktop computer cannot use opportunistic suspend as it stands, because:
* The hardware is not designed that way; suspending (spinning down) your hard drive every few seconds is a great way to kill it
* Current software does not acquire suspend blockers where they would be expected by the user
* Current drivers do not use suspend blockers, so the system as a whole doesn't know when it *can* suspend. If it tries, chances are that the suspend will be blocked half-way until the driver can finish its work -- time during which the system is still running, but the user cannot do anything meaningful.
This is an Android-specific feature that cannot be reliabily used in other configurations, possibly even other handsets.