Bug#500520: claims AC is unplugged when my battery reached 100% charge

Joey Hess joeyh at debian.org
Mon Sep 29 01:14:01 UTC 2008


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

When my battery reaches 100% charge, gnome-power-manager pops up a
notification claiming that the system has been unplugged. However, this
is clearly untrue:

joey at kodama:/sys/class/power_supply/AC>cat online 
1

The same info about the AC being plugged in is available via HAL.

I think gnome-power-manager is getting confused, because the battery is no
longer charging, and indeed is reporting that it's discharging at a zero rate:

joey at kodama:/sys/class/power_supply/CMB1>cat status 
Discharging
joey at kodama:/sys/class/power_supply/CMB1>cat current_now
0
joey at kodama:~>acpi
     Battery 0: Discharging, 100%, discharging at zero rate - will never fully discharge.

I think my battery is probably screwed up to report it's discharging like that,
but I think it's wrong for gnome-power-manager to assume that Discharging = AC
disconnected.

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

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
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  dbus-x11               1.2.1-3           simple interprocess messaging syst
ii  gconf2                 2.22.0-1          GNOME configuration database syste
ii  hal                    0.5.11-3          Hardware Abstraction Layer
ii  libart-2.0-2           2.3.20-2          Library of functions for 2D graphi
ii  libatk1.0-0            1.22.0-1          The ATK accessibility toolkit
ii  libbonobo2-0           2.22.0-1          Bonobo CORBA interfaces library
ii  libbonoboui2-0         2.22.0-1          The Bonobo UI library
ii  libc6                  2.7-13            GNU C Library: Shared libraries
ii  libcairo2              1.6.4-6           The Cairo 2D vector graphics libra
ii  libdbus-1-3            1.2.1-3           simple interprocess messaging syst
ii  libdbus-glib-1-2       0.76-1            simple interprocess messaging syst
ii  libfontconfig1         2.6.0-1           generic font configuration library
ii  libfreetype6           2.3.7-2           FreeType 2 font engine, shared lib
ii  libgconf2-4            2.22.0-1          GNOME configuration database syste
ii  libglade2-0            1:2.6.2-1         library to load .glade files at ru
ii  libglib2.0-0           2.16.6-1          The GLib library of C routines
ii  libgnome-keyring0      2.22.3-2          GNOME keyring services library
ii  libgnome2-0            2.20.1.1-1        The GNOME 2 library - runtime file
ii  libgnomecanvas2-0      2.20.1.1-1        A powerful object-oriented display
ii  libgnomeui-0           2.20.1.1-2        The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0         1:2.22.0-5        GNOME Virtual File System (runtime
ii  libgstreamer0.10-0     0.10.20-1         Core GStreamer libraries and eleme
ii  libgtk2.0-0            2.12.11-3         The GTK+ graphical user interface 
ii  libhal1                0.5.11-3          Hardware Abstraction Layer - share
ii  libice6                2:1.0.4-1         X11 Inter-Client Exchange library
ii  libnotify1 [libnotify1 0.4.4-3           sends desktop notifications to a n
ii  liborbit2              1:2.14.13-0.1     libraries for ORBit2 - a CORBA ORB
ii  libpanel-applet2-0     2.20.3-5          library for GNOME Panel applets
ii  libpango1.0-0          1.20.5-2          Layout and rendering of internatio
ii  libpixman-1-0          0.10.0-2          pixel-manipulation library for X a
ii  libpng12-0             1.2.27-1          PNG library - runtime
ii  libpopt0               1.14-4            lib for parsing cmdline parameters
ii  libsm6                 2:1.0.3-2         X11 Session Management library
ii  libwnck22              2.22.3-1          Window Navigator Construction Kit 
ii  libx11-6               2:1.1.5-2         X11 client-side library
ii  libxcb-render-util0    0.2.1+git1-1      utility libraries for X C Binding 
ii  libxcb-render0         1.1-1.1           X C Binding, render extension
ii  libxcb1                1.1-1.1           X C Binding
ii  libxcursor1            1:1.1.9-1         X cursor management library
ii  libxext6               2:1.0.4-1         X11 miscellaneous extension librar
ii  libxfixes3             1:4.0.3-2         X11 miscellaneous 'fixes' extensio
ii  libxi6                 2:1.1.3-1         X11 Input extension library
ii  libxinerama1           2:1.0.3-2         X11 Xinerama extension library
ii  libxml2                2.6.32.dfsg-4     GNOME XML library
ii  libxrandr2             2:1.2.3-1         X11 RandR extension library
ii  libxrender1            1:0.9.4-2         X Rendering Extension client libra
ii  notification-daemon    0.3.7-1+b1        a daemon that displays passive pop
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

gnome-power-manager recommends no packages.

gnome-power-manager suggests no packages.

-- no debconf information

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20080928/eb1f7e96/attachment.pgp 


More information about the pkg-gnome-maintainers mailing list