Bug#559171: gnome-power-manager: Laptop suspends twice on lid close

Chris AtLee chris at atlee.ca
Wed Dec 2 13:49:39 UTC 2009


Package: gnome-power-manager
Version: 2.28.1-2
Severity: normal


My apologies if this isn't the correct package to report this bug
against; I'm not sure at all what's causing this issue.

To reproduce:
- Have gnome-power-manager set up to suspend the laptop on lid close
- Close lid
- Wait for laptop to suspend
- Open lid

The laptop wakes up, presents my login screen briefly, then immediately
goes back to sleep.  If I push the power button it comes back up,
presents the login screen, and stays on.


-- Package-specific info:
Distro version:       squeeze/sid
Kernel version:       2.6.31-1-amd64
g-p-m version:        2.28.1
HAL version:          0.5.13
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 = 40100  (0x9ca4)  (int)
  battery.charge_level.design = 55000  (0xd6d8)  (int)
  battery.charge_level.last_full = 49560  (0xc198)  (int)
  battery.charge_level.percentage = 80  (0x50)  (int)
  battery.charge_level.rate = 19057  (0x4a71)  (int)
  battery.is_rechargeable = true  (bool)
  battery.model = 'ASMB012'  (string)
  battery.present = true  (bool)
  battery.rechargeable.is_charging = true  (bool)
  battery.rechargeable.is_discharging = false  (bool)
  battery.remaining_time = 1787  (0x6fb)  (int)
  battery.reporting.current = 40100  (0x9ca4)  (int)
  battery.reporting.design = 55000  (0xd6d8)  (int)
  battery.reporting.last_full = 49560  (0xc198)  (int)
  battery.reporting.rate = 19057  (0x4a71)  (int)
  battery.reporting.technology = 'Unknown'  (string)
  battery.reporting.unit = 'mWh'  (string)
  battery.serial = ''  (string)
  battery.technology = 'unknown'  (string)
  battery.type = 'primary'  (string)
  battery.vendor = 'SMPN012'  (string)
  battery.voltage.current = 12513  (0x30e1)  (int)
  battery.voltage.design = 10800  (0x2a30)  (int)
  battery.voltage.unit = 'mV'  (string)
DeviceKit data:
Device: /org/freedesktop/DeviceKit/Power/devices/battery_BAT0
  native-path:          /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0
  vendor:               SMPN012
  model:                ASMB012
  power supply:         yes
  updated:              Wed Dec  2 08:47:14 2009 (18 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    energy:              40.1 Wh
    energy-empty:        0 Wh
    energy-full:         49.65 Wh
    energy-full-design:  55 Wh
    energy-rate:         19.057 W
    voltage:             12.513 V
    time to full:        30.1 minutes
    percentage:          80.7654%
    capacity:            89.3818%
  History (charge):
    1259761634	80.765	charging
    1259761604	80.524	charging
    1259761574	80.262	charging
    1259761544	80.000	charging
  History (rate):
    1259761634	19.057	charging
    1259761604	19.063	charging
    1259761574	19.024	charging
    1259761544	19.029	charging

Device: /org/freedesktop/DeviceKit/Power/devices/line_power_ADP1
  native-path:          /sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/ADP1
  power supply:         yes
  updated:              Wed Dec  2 08:26:42 2009 (1250 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    online:             yes

Daemon:
  daemon-version:  012
  can-suspend:     yes
  can-hibernate    yes
  on-battery:      no
  on-low-battery:  no
  lid-is-closed:   no
  lid-is-present:   yes
GNOME Power Manager Process Information:
HAL Process Information:
103       3017  0.0  0.0  33992  3608 ?        Ss   Nov27   0:20 /usr/sbin/hald
root      3087  0.0  0.0  19924  1036 ?        S    Nov27   0:00  \_ hald-runner
root      3153  0.0  0.0  22044   916 ?        S    Nov27   0:01      \_ hald-ad
root      3159  0.0  0.0  22072  1216 ?        S    Nov27   0:39      \_ hald-ad
103       3162  0.0  0.0  25936   880 ?        S    Nov27   0:00      \_ hald-ad

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-power-manager depends on:
ii  consolekit                    0.4.1-2    framework for defining and trackin
ii  dbus-x11                      1.2.16-2   simple interprocess messaging syst
ii  devicekit-power               012-2      abstraction for power management
ii  gconf2                        2.28.0-1   GNOME configuration database syste
ii  libbonobo2-0                  2.24.2-1   Bonobo CORBA interfaces library
ii  libc6                         2.10.2-2   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.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  libgconf2-4                   2.28.0-1   GNOME configuration database syste
ii  libglib2.0-0                  2.22.2-2   The GLib library of C routines
ii  libgnome-keyring0             2.28.1-2   GNOME keyring services library
ii  libgtk2.0-0                   2.18.4-1   The GTK+ graphical user interface 
ii  libnotify1 [libnotify1-gtk2.1 0.4.5-1    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.1-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.2-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-2    a daemon that displays passive pop

Versions of packages gnome-power-manager recommends:
ii  devicekit-disks               009-2      abstraction for enumerating block 

Versions of packages gnome-power-manager suggests:
ii  hal                           0.5.13-6   Hardware Abstraction Layer

-- no debconf information





More information about the pkg-gnome-maintainers mailing list