Just a comment for this bug report. I am now using sleepd with a longer 
timeout for --ac-unused so that the system normally only suspends 
automatically when on battery. This works fine for me, and I do not have to 
worry about running 'sleepctl off' when the system will be busy.

But I have wondered about how to reasonably implement something like my 
original bug report, and I realized that what I have dealt with is actually 3 
idle states: in use, busy-idle, and idle. The first is when there is someone 
at the computer, the second means the computer has a job to do (eg. compiling 
a kernel), and the third is when the computer is just sitting there doing 
nothing. My original report was about the second state. In this case I would 
(have) run 'sleepctl off' but wanted the computer to go ahead and suspend if 
AC power was lost.

I am not sure about implementation details; I just wanted to clarify my 
thoughts a bit. You are welcome to close/ignore this wishlist bug or archive 
the idea somewhere: sleepd is working well enough without this extra 
functionality. Thanks for maintaining sleepd.

Attachment: signature.asc
Description: Digital signature

Reply via email to