Bug#623201: gnome-power-manager: tray icon and mouseover show 100%, though battery at 1.2% when you click on icon

Gavin McCullagh gavin.mccullagh at gcd.ie
Mon Apr 18 09:54:57 UTC 2011


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


When I type acpi:

gavinmc at it-l2100-1:~$ acpi
Battery 0: Unknown, 1%

When I look at icon it's a full blue battery.
When I mouseover icon, I get "Laptop battery is full charged"
When I click on icon, I get "Laptop Battery 1.2%"

Something must be wrong here.

This is a Dell Latitude 2100.  

There doesn't seem to be a battery entry under /proc/acpi which is a little surprising to me.

gavinmc at it-l2100-1:~$ find /proc/acpi/
/proc/acpi/
/proc/acpi/video
/proc/acpi/video/VID2
/proc/acpi/video/VID2/DOS
/proc/acpi/video/VID2/POST
/proc/acpi/video/VID2/POST_info
/proc/acpi/video/VID2/ROM
/proc/acpi/video/VID2/info
/proc/acpi/video/VID
/proc/acpi/video/VID/DVI
/proc/acpi/video/VID/DVI/EDID
/proc/acpi/video/VID/DVI/brightness
/proc/acpi/video/VID/DVI/state
/proc/acpi/video/VID/DVI/info
/proc/acpi/video/VID/LCD
/proc/acpi/video/VID/LCD/EDID
/proc/acpi/video/VID/LCD/brightness
/proc/acpi/video/VID/LCD/state
/proc/acpi/video/VID/LCD/info
/proc/acpi/video/VID/CRT
/proc/acpi/video/VID/CRT/EDID
/proc/acpi/video/VID/CRT/brightness
/proc/acpi/video/VID/CRT/state
/proc/acpi/video/VID/CRT/info
/proc/acpi/video/VID/DOS
/proc/acpi/video/VID/POST
/proc/acpi/video/VID/POST_info
/proc/acpi/video/VID/ROM
/proc/acpi/video/VID/info
/proc/acpi/processor
/proc/acpi/processor/CPU1
/proc/acpi/processor/CPU1/power
/proc/acpi/processor/CPU1/limit
/proc/acpi/processor/CPU1/throttling
/proc/acpi/processor/CPU1/info
/proc/acpi/processor/CPU0
/proc/acpi/processor/CPU0/power
/proc/acpi/processor/CPU0/limit
/proc/acpi/processor/CPU0/throttling
/proc/acpi/processor/CPU0/info
/proc/acpi/button
/proc/acpi/button/sleep
/proc/acpi/button/sleep/SBTN
/proc/acpi/button/sleep/SBTN/info
/proc/acpi/button/power
/proc/acpi/button/power/PBTN
/proc/acpi/button/power/PBTN/info
/proc/acpi/button/lid
/proc/acpi/button/lid/LID
/proc/acpi/button/lid/LID/state
/proc/acpi/button/lid/LID/info
/proc/acpi/thermal_zone
/proc/acpi/thermal_zone/THM
/proc/acpi/thermal_zone/THM/polling_frequency
/proc/acpi/thermal_zone/THM/cooling_mode
/proc/acpi/thermal_zone/THM/trip_points
/proc/acpi/thermal_zone/THM/temperature
/proc/acpi/thermal_zone/THM/state
/proc/acpi/wakeup
/proc/acpi/sleep
/proc/acpi/fadt
/proc/acpi/dsdt
/proc/acpi/info
/proc/acpi/power_resource
/proc/acpi/embedded_controller
/proc/acpi/embedded_controller/ECDV
/proc/acpi/embedded_controller/ECDV/info


-- Package-specific info:
Distro version:       wheezy/sid
Kernel version:       2.6.32-5-686
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:      yes
Laptop panel present: yes
CPU scaling present:  yes
Battery Information:
  battery.charge_level.current = 593  (0x251)  (int)
  battery.charge_level.design = 57116  (0xdf1c)  (int)
  battery.charge_level.last_full = 51097  (0xc799)  (int)
  battery.charge_level.percentage = 1  (0x1)  (int)
  battery.charge_level.rate = 10  (0xa)  (int)
  battery.is_rechargeable = true  (bool)
  battery.model = 'DELL 6P1479A'  (string)
  battery.present = true  (bool)
  battery.rechargeable.is_charging = false  (bool)
  battery.rechargeable.is_discharging = false  (bool)
  battery.reporting.current = 54  (0x36)  (int)
  battery.reporting.design = 5200  (0x1450)  (int)
  battery.reporting.last_full = 4652  (0x122c)  (int)
  battery.reporting.rate = 1  (0x1)  (int)
  battery.reporting.technology = 'Li-ion'  (string)
  battery.reporting.unit = 'mAh'  (string)
  battery.serial = '20604'  (string)
  battery.technology = 'lithium-ion'  (string)
  battery.type = 'primary'  (string)
  battery.vendor = 'Samsung SDI'  (string)
  battery.voltage.current = 10984  (0x2ae8)  (int)
  battery.voltage.design = 11100  (0x2b5c)  (int)
  battery.voltage.unit = 'mV'  (string)
UPower data:
Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path:          /sys/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0003:00/power_supply/AC
  power supply:         yes
  updated:              Mon Apr 18 10:45:03 2011 (366 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/PNP0C0A:00/power_supply/BAT0
  vendor:               Samsung SDI
  model:                DELL 6P1479A
  serial:               20604
  power supply:         yes
  updated:              Mon Apr 18 10:51:09 2011 (0 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               fully-charged
    energy:              0.5994 Wh
    energy-empty:        0 Wh
    energy-full:         51.6372 Wh
    energy-full-design:  57.72 Wh
    energy-rate:         0.0111 W
    voltage:             10.982 V
    percentage:          1.16079%
    capacity:            89.4615%
    technology:          lithium-ion

Daemon:
  daemon-version:  0.9.9
  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:
gavinmc   2275  0.0  0.9  73104  9936 ?        S    10:25   0:01          \_ gnome-power-manager
gavinmc   2975  2.0  1.6  30232 16688 pts/1    S+   10:46   0:05      \_ /usr/bin/python /usr/bin/reportbug --email=gavin.mccullagh at gcd.ie gnome-power-manager
gavinmc   3129  0.3  0.1   2652  1116 pts/1    S+   10:51   0:00          \_ /bin/bash /usr/share/reportbug/handle_bugscript /usr/share/bug/gnome-power-manager/script /tm
HAL Process Information:
107       3141 20.0  0.3  14412  3996 ?        Ssl  10:51   0:00 /usr/sbin/hald
root      3142  1.0  0.1   3620  1244 ?        S    10:51   0:00  \_ hald-runner
root      3172  0.5  0.1   3688  1204 ?        S    10:51   0:00      \_ hald-addon-input: Listening on /dev/input/event12 /dev/input/event0 /dev/input/event7 /dev/input/
root      3174  0.0  0.1   3688  1192 ?        S    10:51   0:00      \_ /usr/lib/hal/hald-addon-rfkill-killswitch
root      3182  0.0  0.1   3684  1176 ?        S    10:51   0:00      \_ /usr/lib/hal/hald-addon-generic-backlight
root      3184  0.0  0.1   3692  1204 ?        S    10:51   0:00      \_ hald-addon-storage: polling /dev/sdb (every 2 sec)
root      3190  0.0  0.1   3700  1212 ?        S    10:51   0:00      \_ /usr/lib/hal/hald-addon-cpufreq
107       3191  0.0  0.1   3452  1144 ?        S    10:51   0:00      \_ hald-addon-acpi: listening on acpid socket /var/run/acpid.socket

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

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnome-power-manager depends on:
ii  consolekit                 0.4.4-1       framework for defining and trackin
ii  dbus-x11                   1.4.6-1       simple interprocess messaging syst
ii  gconf2                     2.28.1-6      GNOME configuration database syste
ii  libbonobo2-0               2.24.3-1      Bonobo CORBA interfaces library
ii  libc6                      2.11.2-11     Embedded GNU C Library: Shared lib
ii  libcairo2                  1.10.2-6      The Cairo 2D vector graphics libra
ii  libcanberra-gtk0           0.24-1        Gtk+ helper for playing widget eve
ii  libcanberra0               0.24-1        a simple abstract interface for pl
ii  libdbus-1-3                1.4.6-1       simple interprocess messaging syst
ii  libdbus-glib-1-2           0.92-1        simple interprocess messaging syst
ii  libgconf2-4                2.28.1-6      GNOME configuration database syste
ii  libglib2.0-0               2.28.4-1      The GLib library of C routines
ii  libgnome-keyring0          2.32.0-1      GNOME keyring services library
ii  libgtk2.0-0                2.24.3-1~sid1 The GTK+ graphical user interface 
ii  libnotify1 [libnotify1-gtk 0.5.0-2       sends desktop notifications to a n
ii  libpanel-applet2-0         2.30.2-4      library for GNOME Panel applets
ii  libpango1.0-0              1.28.3-6      Layout and rendering of internatio
ii  libunique-1.0-0            1.1.6-2       Library for writing single instanc
ii  libupower-glib1            0.9.9-2       abstraction for power management -
ii  libx11-6                   2:1.4.2-1     X11 client-side library
ii  libxext6                   2:1.2.0-2     X11 miscellaneous extension librar
ii  libxrandr2                 2:1.3.1-1     X11 RandR extension library
ii  notification-daemon        0.5.0-2       daemon to displays passive pop-up 
ii  upower                     0.9.9-2       abstraction for power management

Versions of packages gnome-power-manager recommends:
ii  udisks                        1.0.2-4    storage media interface

Versions of packages gnome-power-manager suggests:
ii  policykit-1                   0.101-2    framework for managing administrat

-- Configuration Files:
/etc/xdg/autostart/gnome-power-manager.desktop [Errno 2] No such file or directory: u'/etc/xdg/autostart/gnome-power-manager.desktop'

-- no debconf information





More information about the pkg-gnome-maintainers mailing list