Bug#314736: gnome-applets: Battstat is not using the available battery status information.

Pavel N. Krivitsky "Pavel N. Krivitsky" <pavel@krivitsky.name>, 314736@bugs.debian.org
Fri, 17 Jun 2005 21:47:09 -0700


Package: gnome-applets
Version: 2.10.1-3
Severity: normal


When the battery is charging, the applet's tooltip reports that system 
is running on AC power, but that no battery is present. The lightning 
icon over the AC plug icon does flash.

When the battery is fully charged, there is no lightning icon, but the 
applet tooltip reports that no battery is present.

When the system is running on battery power, the applet correctly 
reports this, but gives battery status as unknown. (It does not give 
time remaining, even though it could be calculated.)

The following information is available about the battery status:

/proc/acpi/battery/CMB0/info
present:                 yes
design capacity:         unknown
last full capacity:      unknown
battery technology:      rechargeable
design voltage:          unknown
design capacity warning: 800 mWh
design capacity low:     16 mWh
capacity granularity 1:  100 mWh
capacity granularity 2:  100 mWh
model number:            BAT1
serial number:           0000
battery type:            LION
OEM info:                COMPAQ

/proc/acpi/battery/CMB0/state (when on AC power, fully charged)
present:                 yes
capacity state:          ok
charging state:          charged
present rate:            0 mW
remaining capacity:      3660 mWh
present voltage:         16615 mV

/proc/acpi/battery/CMB0/state (when on AC power, charging)
present:                 yes
capacity state:          ok
charging state:          charging
present rate:            1035 mW
remaining capacity:      3544 mWh
present voltage:         16200 mV

/proc/acpi/battery/CMB0/state (when discharging)
present:                 yes
capacity state:          ok
charging state:          discharging
present rate:            1080 mW
remaining capacity:      3568 mWh
present voltage:         16208 mV

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages gnome-applets depends on:
ii  gnome-applets-data       2.10.1-3        Various applets for GNOME 2 panel 
ii  gnome-icon-theme         2.10.1-2        GNOME Desktop icon theme
ii  gnome-panel              2.10.1-3        launcher and docking facility for 
ii  gstreamer0.8-alsa [gstre 0.8.8-3         ALSA plugin for GStreamer
ii  gstreamer0.8-artsd [gstr 0.8.8-3         aRtsd plugin for GStreamer
ii  gstreamer0.8-esd [gstrea 0.8.8-3         Enlightened Sound Daemon plugin fo
ii  gstreamer0.8-jack [gstre 0.8.8-3         JACK plugin for GStreamer
ii  gstreamer0.8-oss [gstrea 0.8.8-3         OSS plugin for GStreamer
ii  libapm1                  3.2.2-3         Library for interacting with APM d
ii  libart-2.0-2             2.3.17-1        Library of functions for 2D graphi
ii  libatk1.0-0              1.10.1-2        The ATK accessibility toolkit
ii  libbonobo2-0             2.8.1-2         Bonobo CORBA interfaces library
ii  libbonoboui2-0           2.8.1-2         The Bonobo UI library
ii  libc6                    2.3.2.ds1-22    GNU C Library: Shared libraries an
ii  libgail-common           1.8.4-1         GNOME Accessibility Implementation
ii  libgail17                1.8.4-1         GNOME Accessibility Implementation
ii  libgconf2-4              2.10.0-2        GNOME configuration database syste
ii  libglade2-0              1:2.5.1-2       library to load .glade files at ru
ii  libglib2.0-0             2.6.5-1         The GLib library of C routines
ii  libgnome2-0              2.10.0-3        The GNOME 2 library - runtime file
ii  libgnomecanvas2-0        2.10.2-2        A powerful object-oriented display
ii  libgnomeui-0             2.10.0-2        The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0           2.10.1-4        The GNOME virtual file-system libr
ii  libgstreamer-plugins0.8- 0.8.8-3         Various GStreamer libraries and li
ii  libgstreamer0.8-0        0.8.10-1        Core GStreamer libraries, plugins,
ii  libgtk2.0-0              2.6.8-1         The GTK+ graphical user interface 
ii  libgtop2-5               2.10.2-1        Libraries for gtop system monitori
ii  libgucharmap4            1:1.4.3-2       Unicode browser widget library (sh
ii  libice6                  4.3.0.dfsg.1-14 Inter-Client Exchange library
ii  liborbit2                1:2.12.2-1      libraries for ORBit2 - a CORBA ORB
ii  libpanel-applet2-0       2.10.1-3        library for GNOME 2 panel applets
ii  libpango1.0-0            1.8.1-1         Layout and rendering of internatio
ii  libpopt0                 1.7-5           lib for parsing cmdline parameters
ii  libsm6                   4.3.0.dfsg.1-14 X Window System Session Management
ii  libwnck16                2.10.0-2        Window Navigator Construction Kit 
ii  libx11-6                 4.3.0.dfsg.1-14 X Window System protocol client li
ii  libxklavier10            2.0-0.2         X Keyboard Extension high-level AP
ii  libxml2                  2.6.16-7        GNOME XML library
ii  xlibs                    4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-4       compression library - runtime

Versions of packages gnome-applets recommends:
ii  gnome-media                  2.10.2-0.2  The GNOME Media Utilities
pn  gnome-netstatus              <none>      (no description available)
ii  gnome-system-monitor         2.10.1-2    Process viewer and system resource
ii  imagemagick                  6:6.2.3.0-2 Image manipulation programs

Versions of packages gnome-applets is related to:
ii  reportbug                     3.13       reports bugs in the Debian distrib
pn  totem-gstreamer               <none>     (no description available)

-- no debconf information