Package: powersaved Version: 0.15.20-6 Severity: important
I turned on verbosity 31 in powersaved and restarted to figure out why it refused to hibernate on low battery. It turns out that my /proc/acpi does not have a batterydirectory ala this line in the daemon log: DIAG (check_ACPI_dir:214) Cannot open directory /proc/acpi/battery: No such file or directory /sys/class/powersupply contains both BAT0 and AC. As /proc/acpi/battery is deprecated, I think that powersaved should look in /sys/class/powersupply either first (and fall back on /proc if it doesn't work) or fall back on /sys if /proc doesn't work. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (700, 'testing'), (600, 'unstable'), (600, 'stable'), (501, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.30-2-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 powersaved depends on: ii adduser 3.111 add and remove users and groups ii dbus 1.2.16-2 simple interprocess messaging syst ii hal 0.5.13-4 Hardware Abstraction Layer ii libc6 2.10.2-2 GNU C Library: Shared libraries ii libdbus-1-3 1.2.16-2 simple interprocess messaging syst ii libdbus-glib-1-2 0.82-2 simple interprocess messaging syst ii libgcc1 1:4.4.2-3 GCC support library ii libglib2.0-0 2.22.2-2 The GLib library of C routines ii liblazy1 0.2-6 convenience functions for D-Bus, H ii libpowersave11 0.15.20-6 power management daemon - shared l ii libstdc++6 4.4.2-3 The GNU Standard C++ Library v3 ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip Versions of packages powersaved recommends: ii acpid 1.0.10-4 Advanced Configuration and Power I ii cpufrequtils 006-2 utilities to deal with the cpufreq Versions of packages powersaved suggests: pn kpowersave <none> (no description available) ii zenity 2.28.0-1 Display graphical dialog boxes fro -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

