|
|
Subscribe / Log in / New account

Timer slack for slacker developers

Timer slack for slacker developers

Posted Oct 18, 2011 16:19 UTC (Tue) by k8to (guest, #15413)
Parent article: Timer slack for slacker developers

It's hard to get this stuff right.

For example, if my laptop is plugged into the wall, and I start 4 hour network transfer, and come back an hour later and find it has put itself to sleep -- I'm not amused.


to post comments

Timer slack for slacker developers

Posted Oct 18, 2011 19:05 UTC (Tue) by yokem_55 (subscriber, #10498) [Link]

I run into this a lot. The power savings I see when I put my desktop system to sleep regularly is really quite substantial ($10-$15/mo off my electric bill), but anytime I have a long running background job that doesn't use the f.d.o power management sleep inhibit api, I see precisely this misbehavior. I've come across a simple python script (see here) that places an inhibit on suspend that I've used in wrapper scripts for several command line programs that if they are running, should keep the system awake. It would be much nicer though if a lower level, more system wide setup could be contrived.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds