sleepd is a daemon to to put a laptop to sleep if it is not being used or if the battery is low.
It supports HAL, APM, and ACPI, although external programs must be used to actually put the system to sleep.
There is a Debian sleepd package, or you can download it from git
(git://git.kitenet.net/sleepd).
News
News for sleepd 2.00:
To put a system to sleep, sleepd now uses the pm-suspend command, instead of hibernate --force. To continue using hibernate, use the -d flag.
sleepd 2.00 released with these changes
- Jeff Strunk contributed support for monitoring /dev/input/event* files, to better support USB keyboards etc. Closes: #147678 This is now used by default, in addition to checking interrupts.
- Jeff also added support for checking the utmp for idle times, for checking the system's load average, and for monitoring a network device for activity. None done by default.
- Use pm-suspend, rather than hibernate --force, to put the system to sleep by default.
sleepd 1.13 released with these changes
- Avoid crash by ignoring high irqs greater than 254 (assumption is these will not be irqs we care about). Thanks, Jeff Strunk.
- Debhelper 7, minimal rules file.
- Update copyright file.
sleepd 1.12 released with these changes
- Write status back out to control file when resume from manual sleep causes sleeping to be re-enabled, so that sleepctl will see the correct status in this case. Closes: #501708