Bug#574850: gnome-power-manager: Wrong pop-up warning when the power cable is plugged off (with premature shutdown in some cases)

Matej Zary magez.magez at gmail.com
Sun Mar 21 17:32:07 UTC 2010


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

Hello,

when the power cable is plugged off, new pop-up warning is shown with wrong remaining minutes of battery life, which causes premature instant shut down of computer (when shutdown on critically low battery is configured) in some cases (the battery must be in the <25% region to trigger this erroneous shutdown).

When the power cable is plugged in and pointer is pointed on the battery icon in system tray the shown pop-up info is correct (battery 86%). - power_plugged_in.jpg
When the power cable is plugged off, red warning pop-up notification is shown with wrong remaining battery life data (Laptop battery critically low. Computer will shutdown in 3 minutes). - power_plugged_off.jpg 
When the power cable is plugged off and pointer is pointed on the battery icon in system tray the shown pop-up info is correct (battery 88% and 1,5 hours remaining). - power_plugged_off2.jpg

3 jpg pics should be attached

Regards

Matej


-- Package-specific info:
Distro version:       squeeze/sid
Kernel version:       2.6.32-3-amd64
g-p-m version:        2.28.3
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 = 44255  (0xacdf)  (int)
  battery.charge_level.design = 48840  (0xbec8)  (int)
  battery.charge_level.last_full = 46242  (0xb4a2)  (int)
  battery.charge_level.percentage = 95  (0x5f)  (int)
  battery.charge_level.rate = 5117  (0x13fd)  (int)
  battery.is_rechargeable = true  (bool)
  battery.model = 'MS-1221'  (string)
  battery.present = true  (bool)
  battery.rechargeable.is_charging = true  (bool)
  battery.rechargeable.is_discharging = false  (bool)
  battery.remaining_time = 1397  (0x575)  (int)
  battery.reporting.current = 3987  (0xf93)  (int)
  battery.reporting.design = 4400  (0x1130)  (int)
  battery.reporting.last_full = 4166  (0x1046)  (int)
  battery.reporting.rate = 461  (0x1cd)  (int)
  battery.reporting.technology = 'Unknown'  (string)
  battery.reporting.unit = 'mAh'  (string)
  battery.serial = ''  (string)
  battery.technology = 'unknown'  (string)
  battery.type = 'primary'  (string)
  battery.vendor = 'MSI Corp.'  (string)
  battery.voltage.current = 12584  (0x3128)  (int)
  battery.voltage.design = 11100  (0x2b5c)  (int)
  battery.voltage.unit = 'mV'  (string)
DeviceKit data:
GNOME Power Manager Process Information:
kyytam    3376  0.0  0.4 194876 12472 ?        S    15:35   0:00          \_ gnome-power-manager
HAL Process Information:
107       2833  0.1  0.1  34308  5012 ?        Ss   15:34   0:10 /usr/sbin/hald
root      2834  0.0  0.0  19932  1276 ?        S    15:34   0:00  \_ hald-runner
root      2932  0.0  0.0  22052  1248 ?        S    15:34   0:00      \_ hald-addon-input: Listening on /dev/input/event11 /dev/input/event1 /dev/input/event
root      2944  0.0  0.0  22044  1212 ?        S    15:34   0:00      \_ /usr/lib/hal/hald-addon-rfkill-killswitch
root      2945  0.0  0.0  22044  1212 ?        S    15:34   0:00      \_ /usr/lib/hal/hald-addon-leds
root      2953  0.0  0.0  22044  1236 ?        S    15:34   0:00      \_ /usr/lib/hal/hald-addon-generic-backlight
root      2985  0.0  0.0  22048  1236 ?        S    15:34   0:04      \_ hald-addon-storage: polling /dev/sr0 (every 2 sec)
root      2986  0.0  0.0  22060  1200 ?        S    15:34   0:00      \_ /usr/lib/hal/hald-addon-cpufreq
107       2987  0.0  0.0  25944  1228 ?        S    15:34   0:00      \_ hald-addon-acpi: listening on acpid socket /var/run/acpid.socket

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

Kernel: Linux 2.6.32-3-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 gnome-power-manager depends on:
ii  consolekit                    0.4.1-4    framework for defining and trackin
ii  dbus-x11                      1.2.20-2   simple interprocess messaging syst
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-6   Embedded GNU C Library: Shared lib
ii  libcairo2                     1.8.10-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.84-1     simple interprocess messaging syst
ii  libdevkit-power-gobject1      1:0.9.1-1  abstraction for power management -
ii  libgconf2-4                   2.28.0-1   GNOME configuration database syste
ii  libglib2.0-0                  2.22.4-1   The GLib library of C routines
ii  libgnome-keyring0             2.28.2-1   GNOME keyring services library
ii  libgtk2.0-0                   2.18.6-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.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.1.1-2  X11 miscellaneous extension librar
ii  libxrandr2                    2:1.3.0-3  X11 RandR extension library
ii  notification-daemon           0.4.0-2    a daemon that displays passive pop
ii  upower                        0.9.1-1    abstraction for power management

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

Versions of packages gnome-power-manager suggests:
ii  hal                           0.5.14-2   Hardware Abstraction Layer

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: power_plugged_in.jpg
Type: image/jpeg
Size: 9240 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20100321/0d8b521a/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: power_plugged_off.jpg
Type: image/jpeg
Size: 14235 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20100321/0d8b521a/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: power_plugged_off2.jpg
Type: image/jpeg
Size: 10293 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20100321/0d8b521a/attachment-0005.jpg>


More information about the pkg-gnome-maintainers mailing list