[Pkg-utopia-maintainers] Bug#555712: devicekit-power: wrong status for can-hibernate and lid-is-present
Yves-Alexis Perez
corsac at debian.org
Wed Nov 11 11:02:30 UTC 2009
Package: devicekit-power
Version: 012-2
Severity: normal
Hi,
it seems that devicekit-power is confused when reporting info on my system:
devkit-power -d returns:
----
Device: /org/freedesktop/DeviceKit/Power/devices/line_power_AC
native-path: /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/PNP0C09:00/ACPI0003:00/power_supply/AC
power supply: yes
updated: Wed Nov 11 11:47:04 2009 (438 seconds ago)
has history: no
has statistics: no
line-power
online: yes
Device: /org/freedesktop/DeviceKit/Power/devices/battery_BAT0
native-path: /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/PNP0C09:00/PNP0C0A:00/power_supply/BAT0
vendor: PSPSP
model: COMPATIBLE
serial: 38
power supply: yes
updated: Wed Nov 11 11:54:10 2009 (12 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: fully-charged
energy: 36.61 Wh
energy-empty: 0 Wh
energy-full: 49.79 Wh
energy-full-design: 56.16 Wh
energy-rate: 0 W
voltage: 11.919 V
percentage: 73.5288%
capacity: 88.6574%
technology: lithium-ion
Daemon:
daemon-version: 012
can-suspend: yes
can-hibernate no
on-battery: no
on-low-battery: no
lid-is-closed: no
lid-is-present: no
----
This is on a ThinkPad T61 which indeed has a LID and can hibernate just fine
(even if I have problems at resume but that's not the point). Not sure if it's
related but I use full disk encryption using dm-crypt/luks (as proposed by
d-i, so the swap is inside). I saw in #551797 that encrypted swap leaded to
impossible hibernate but I don't think it's true (since I can hibernate just
fine using direct commands or hal).
If you need more info on the system, please ask!
Cheers,
--
Yves-Alexis
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages devicekit-power depends on:
ii libc6 2.10.1-6 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 libdevkit-power-gobject1 012-2 abstraction for power management -
ii libglib2.0-0 2.22.2-2 The GLib library of C routines
ii libgudev-1.0-0 147-1 GObject-based wrapper library for
ii libpolkit-gobject-1-0 0.94-6 PolicyKit Authorization API
ii libusb-0.1-4 2:0.1.12-13 userspace USB programming library
ii udev 147-1 /dev/ and hotplug management daemo
Versions of packages devicekit-power recommends:
ii pm-utils 1.2.5-4 utilities and scripts for power ma
ii policykit-1 0.94-6 framework for managing administrat
devicekit-power suggests no packages.
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list