Package: sleepd Version: 2.02 Severity: wishlist First, sleepd is an excellent contribution to Debian!
I often leave my computer busy for long periods of time, and I run the usual $ sleepctl off before and $ sleepctl on after so that the system does not sleep based on n seconds idle time. However, my laptop is frequently in environments where power is not certain, especially where maybe an outlet is controlled by a switch or my laptop may be unplugged accidentally. In the case of power being disconnected, I want sleepd to be reactivated rather than waiting for the battery to be drained. I have overcome this by a shell fragment that checks for AC power and reactivates sleepd if it is disconnected. If sleepd had an option like --off-battery then it could be set to the amount of idle time, on battery, after running 'sleepctl off', before sleepd would suspend the system. The value 0 could be used as a default to disable this feature. Just a suggestion of course; thanks. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (800, 'testing'), (750, 'stable'), (700, 'unstable'), (10, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages sleepd depends on: ii libapm1 3.2.2-14 Library for interacting with APM d ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib ii libdbus-1-3 1.2.24-3 simple interprocess messaging syst ii libhal1 0.5.14-3 Hardware Abstraction Layer - share ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip Versions of packages sleepd recommends: ii hal 0.5.14-3 Hardware Abstraction Layer ii pm-utils 1.3.0-2 utilities and scripts for power ma sleepd suggests no packages. -- Configuration Files: /etc/default/sleepd changed: PARAMS="--unused 300 --ac-unused 7200 --battery 8 -E" -- no debconf information
signature.asc
Description: Digital signature

