Bug#640348: gnome-power-manager: doesn't properly detect AC pluged in after critical low battery level dialog

Witold Baryluk baryluk at smp.if.uj.edu.pl
Sun Sep 4 12:52:42 UTC 2011


Package: gnome-power-manager
Version: 2.32.0-3
Severity: normal

So,

I sometimes forgot to plug in ac to laptop.

Batter drains, until it is 5% (there is also some small message on 20%),
when it gpm shows that battery level is critical (and 2 minutes are left).
So I click OK, in 2 second plug in ac, battery starts charging,
LED on laptop, pc speaker and applets shows me that AC is connected
and battery is indeed charging.

But in about 20 seconds after that my computer suspends anyway.
And I have no way to stop it.

It is really annoying. g-p-m should recheck ac, batter level
and battery status just prior to the suspend if it was triggered
by critically low battery condition. user could plug in ac,
put laptop into docking station, or swap in second battery in proper
slot.

Sometimes suspend will not work anyway (for example sometimes FUSE
issues in kernel prevents supend), but some minor annoyances
remains - droped network connections, changed network addresses,
need to wait sometimes few minutes for full suspend/resume
(even if it is s2ram, it can sometimes take a lot of time).

Is this issues known?

Regards,
Witek



-- Package-specific info:
Distro version:       wheezy/sid
Kernel version:       3.1.0-rc4-t43-prod-00131-g9e79e3e-dirty
g-p-m version:        2.32.0
HAL version:          0.5.14
System manufacturer:  missing
System version:       missing
System product:       missing
AC adapter present:   yes
Battery present:      no
Laptop panel present: yes
CPU scaling present:  no
Battery Information:
UPower data:
Device: /org/freedesktop/UPower/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:              Sun Sep  4 14:36:31 2011 (651 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    online:             yes

Daemon:
  daemon-version:  0.9.12
  can-suspend:     yes
  can-hibernate    yes
  on-battery:      no
  on-low-battery:  no
  lid-is-closed:   no
  lid-is-present:  yes
  is-docked:       no
GNOME Power Manager Process Information:
baryluk   7841  0.0  0.3 104368  8084 ?        Sl   Sep03   0:01              \_ gnome-power-mana
baryluk   8091  0.0  0.3 108308  7064 ?        Sl   Sep03   0:00 /usr/lib/gnome-power-manager/gno
HAL Process Information:
106       3866  0.0  0.1  16512  2452 ?        Ssl  Sep03   0:01 /usr/sbin/hald
root      3867  0.0  0.0   5196  1056 ?        S    Sep03   0:00  \_ hald-runner
root      4098  0.0  0.0   5260   720 ?        S    Sep03   0:00      \_ /usr/lib/hal/hald-addon-
root      4108  0.0  0.0   5268  1008 ?        S    Sep03   0:03      \_ hald-addon-input: Listen
root      4115  0.0  0.0   5260   724 ?        S    Sep03   0:00      \_ /usr/lib/hal/hald-addon-
root      4137  0.0  0.0   5264   724 ?        S    Sep03   0:00      \_ /usr/lib/hal/hald-addon-
root      4140  0.0  0.0   5264   724 ?        S    Sep03   0:00      \_ /usr/lib/hal/hald-addon-
root      4143  0.0  0.0   5260   724 ?        S    Sep03   0:00      \_ /usr/lib/hal/hald-addon-
root      4181  0.0  0.0   5268   964 ?        S    Sep03   0:01      \_ hald-addon-storage: no p
106       4192  0.0  0.0   3648   944 ?        S    Sep03   0:00      \_ hald-addon-acpi: listeni
root     10328  0.0  0.0   5268  1272 ?        S    11:47   0:00      \_ hald-addon-storage: poll
root     19050  0.0  0.0   5268  1280 ?        S    11:59   0:00      \_ hald-addon-storage: poll

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-rc4-t43-prod-00131-g9e79e3e-dirty (SMP w/1 CPU core)
Locale: LANG=pl_PL.utf8, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8) (ignored: LC_ALL set to pl_PL.utf8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-power-manager depends on:
ii  consolekit           0.4.5-1    
ii  dbus-x11             1.4.14-1   
ii  gconf2               2.32.4-1   
ii  libbonobo2-0         2.24.3-1   
ii  libc6                2.13-18    
ii  libcairo2            1.10.2-6.1 
ii  libcanberra-gtk0     0.28-1     
ii  libcanberra0         0.28-1     
ii  libdbus-1-3          1.4.14-1   
ii  libdbus-glib-1-2     0.94-4     
ii  libgconf2-4          2.32.4-1   
ii  libgdk-pixbuf2.0-0   2.24.0-1   
ii  libglib2.0-0         2.28.6-1   
ii  libgnome-keyring0    3.0.3-1    
ii  libgtk2.0-0          2.24.5-4   
ii  libnotify4           0.7.4-1    
ii  libpanel-applet2-0   2.30.2-4+b1
ii  libpango1.0-0        1.28.4-3   
ii  libunique-1.0-0      1.1.6-2    
ii  libupower-glib1      0.9.12-1   
ii  libx11-6             2:1.4.4-1  
ii  libxext6             2:1.3.0-3  
ii  libxrandr2           2:1.3.2-2  
ii  notification-daemon  0.7.1-6    
ii  upower               0.9.12-1   

Versions of packages gnome-power-manager recommends:
ii  udisks  1.0.4-1

Versions of packages gnome-power-manager suggests:
ii  policykit-1  0.102-1

-- no debconf information





More information about the pkg-gnome-maintainers mailing list