Bug#594706: gnome-power-manager: GPM does not sleep after idle timeout
Sarah Fortune
sarah.fortune at gmail.com
Sat Aug 28 14:27:39 UTC 2010
Package: gnome-power-manager
Version: 2.30.1-1
Severity: important
gnome-power-manager is setup to put my laptop to 'sleep' after 10
minutes. However, it is never activated - the machine does not
hibernate and the display is not turned off.
Hibernate and suspend work fine when trigged from System > Shutdown.
And gnome-power-manager will hibernate the machine when the battery is
low. I suppose it is not detecting that the machine is idle. There may
not be a relation, but I am using gnome-screensaver and it can detect
when the machine is idle and start the screensaver (after one minute).
I was running power manager inhibit applet when I took the logs below,
but it is not enabled - so sleep is enabled. I get the same behaviour
from gpm with or without the applet.
Here is tail of the output of gnome-power-manager --verbose
http://pastebin.com/kNN5ZdAB
Ouput of "for i in /sys/class/power_supply/*/*; do echo $i; cat $i;
done" is here: http://pastebin.com/Fd6txzi3
gconftool-2 -R /apps/gnome-power-manager http://pastebin.com/2bmfZ07E
The machine is a Lenovo T61.
-- Package-specific info:
Distro version: squeeze/sid
Kernel version: 2.6.33.1
g-p-m version: 2.30.1
HAL version: 0.5.14
System manufacturer: missing
System version: missing
System product: missing
AC adapter present: yes
Battery present: yes
Laptop panel present: yes
CPU scaling present: yes
Battery Information:
battery.charge_level.current = 43520 (0xaa00) (int)
battery.charge_level.design = 47520 (0xb9a0) (int)
battery.charge_level.last_full = 43520 (0xaa00) (int)
battery.charge_level.percentage = 100 (0x64) (int)
battery.charge_level.rate = 0 (0x0) (int)
battery.is_rechargeable = true (bool)
battery.model = 'COMPATIBLE' (string)
battery.present = true (bool)
battery.rechargeable.is_charging = false (bool)
battery.rechargeable.is_discharging = false (bool)
battery.reporting.current = 43520 (0xaa00) (int)
battery.reporting.design = 47520 (0xb9a0) (int)
battery.reporting.last_full = 43520 (0xaa00) (int)
battery.reporting.rate = 0 (0x0) (int)
battery.reporting.technology = 'Li-ion' (string)
battery.reporting.unit = 'mWh' (string)
battery.serial = '39973' (string)
battery.technology = 'lithium-ion' (string)
battery.type = 'primary' (string)
battery.vendor = 'SANYO' (string)
battery.voltage.current = 12451 (0x30a3) (int)
battery.voltage.design = 10800 (0x2a30) (int)
battery.voltage.unit = 'mV' (string)
DeviceKit data:
Device: /org/freedesktop/UPower/devices/line_power_AC
native-path:
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/PNP0C09:00/ACPI0003:00/power_supply/AC
power supply: yes
updated: Sat Aug 28 12:48:47 2010 (7677 seconds ago)
has history: no
has statistics: no
line-power
online: yes
Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path:
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/PNP0C09:00/PNP0C0A:00/power_supply/BAT0
vendor: SANYO
model: COMPATIBLE
serial: 39973
power supply: yes
updated: Sat Aug 28 14:30:22 2010 (1582 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: fully-charged
energy: 43.52 Wh
energy-empty: 0 Wh
energy-full: 43.52 Wh
energy-full-design: 47.52 Wh
energy-rate: 0 W
voltage: 12.503 V
percentage: 100%
capacity: 91.5825%
technology: lithium-ion
Daemon:
daemon-version: 0.9.5
can-suspend: yes
can-hibernate yes
on-battery: no
on-low-battery: no
lid-is-closed: no
lid-is-present: no
GNOME Power Manager Process Information:
sjf 406 0.0 0.5 76000 11140 ? S 13:48 0:00
/usr/lib/gnome-power-manager/gnome-inhibit-applet
--oaf-activate-iid=OAFII
sjf 2093 0.0 0.4 71692 8276 pts/1 S+ 14:07 0:00 |
\_ gnome-power-manager --verbose
HAL Process Information:
104 25143 0.0 0.2 14680 4296 ? Ssl 12:49 0:01 /usr/sbin/hald
root 25144 0.0 0.0 3448 1216 ? S 12:49 0:00 \_ hald-runner
root 25187 0.0 0.0 5408 1920 ? S 12:49 0:00
\_ /usr/lib/hal/hald-addon-rfkill-killswitch
root 25198 0.0 0.0 5408 1936 ? S 12:49 0:00
\_ /usr/lib/hal/hald-addon-leds
root 25199 0.0 0.0 5404 1904 ? S 12:49 0:00
\_ /usr/lib/hal/hald-addon-generic-backlight
root 25204 0.0 0.0 5420 1912 ? S 12:49 0:00
\_ /usr/lib/hal/hald-addon-cpufreq
104 25206 0.0 0.0 5228 1924 ? S 12:49 0:00
\_ hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
root 25207 0.0 0.0 5412 1932 ? S 12:49 0:02
\_ hald-addon-storage: polling /dev/sr0 (every 2 sec)
root 25209 0.0 0.0 5408 1948 ? S 12:49 0:00
\_ hald-addon-input: Listening on /dev/input/event0 /dev/input/event1
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.33.1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gnome-power-manager depends on:
ii consolekit 0.4.1-4 framework for defining and trackin
ii dbus-x11 1.2.12-1 simple interprocess messaging syst
ii gconf2 2.28.1-3 GNOME configuration database syste
ii libbonobo2-0 2.24.1-1 Bonobo CORBA interfaces library
ii libc6 2.10.1-5 GNU C Library: Shared libraries
ii libcairo2 1.8.8-2 The Cairo 2D vector graphics libra
ii libcanberra-gtk0 0.22-1 Gtk+ helper for playing widget eve
ii libcanberra0 0.22-1 a simple abstract interface for pl
ii libdbus-1-3 1.2.20-2 simple interprocess messaging syst
ii libdbus-glib-1-2 0.88-2 simple interprocess messaging syst
ii libdevkit-power-gobject1 1:0.9.5-1+b1 abstraction for power management -
ii libgconf2-4 2.28.1-3 GNOME configuration database syste
ii libglib2.0-0 2.24.0-1 The GLib library of C routines
ii libgnome-keyring0 2.30.1-1 GNOME keyring services library
ii libgtk2.0-0 2.20.0-3 The GTK+ graphical user interface
ii libnotify1 [libnotify1-gtk2 0.5.0-2 sends desktop notifications to a n
ii libpanel-applet2-0 2.28.0-3 library for GNOME Panel applets
ii libpango1.0-0 1.26.2-1 Layout and rendering of internatio
ii libunique-1.0-0 1.1.6-1 Library for writing single instanc
ii libx11-6 2:1.3.3-1 X11 client-side library
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar
ii libxrandr2 2:1.3.0-2 X11 RandR extension library
ii notification-daemon 0.4.0-1 a daemon that displays passive pop
ii upower 0.9.5-1+b1 abstraction for power management
Versions of packages gnome-power-manager recommends:
ii udisks 1.0.1+git20100614-1+b1 abstraction for enumerating block
Versions of packages gnome-power-manager suggests:
ii hal 0.5.14-3 Hardware Abstraction Layer
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list