Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
PostgreSQL 9.3 beta: Federated databases and more
LWN.net Weekly Edition for May 9, 2013
(Nearly) full tickless operation in 3.10
Android looks good in that aera
Posted May 20, 2010 18:13 UTC (Thu) by zlynx (subscriber, #2285)
While in the IM example, a desktop software developer might find it perfectly reasonable to wake every 5 seconds and not think anything of it.
Posted May 20, 2010 18:41 UTC (Thu) by felipebalbi (subscriber, #56613)
Posted May 20, 2010 19:01 UTC (Thu) by zlynx (subscriber, #2285)
With suspend blockers the developer must take action in order to keep the system awake by setting a suspend block on purpose.
Without suspend blockers the developer will keep the system awake by default just by writing normal software. The developer must take action, often quite a lot of code redesign, in order to *not* keep the system awake.
Posted May 20, 2010 18:25 UTC (Thu) by farnz (guest, #17727)
Suspend blockers would help in one or possibly two ways:
Posted May 20, 2010 22:26 UTC (Thu) by iabervon (subscriber, #722)
In fact, the current situation doesn't really give IM applications the ability to behave well; they need to update is a reasonable amount of time without any user interaction if the user is watching the window out of the corner of their eye, but don't need to do anything if the user is actually not paying attention. There's no current easy way for an application to say "sleep for 5 seconds, but don't bother waking me if the user doesn't care", and applications just don't consider this situation anyway, so they don't tend to try to set up a negotiation with the screensaver or something.
Posted May 21, 2010 0:48 UTC (Fri) by brendan_wright (subscriber, #7376)
I wish I could say the same about my Ubuntu powered laptops - they're either suspending on you 10 minutes into your movie because you left the power management switched on, or are unexpectedly dead when you need them because you switched it off. I'm hoping the merge of suspend blockers will improve this situation, as enable all the money that's being thrown at building Android powered phones, in-car devices, tablets etc to broaden the range of drivers compatible with the mainline Linux kernel.
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds