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

2009-03-09 Thread maximilian attems
hello,

is this fixed in newer 2.6.28 linux images?

-- 
maks



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2009-03-04 Thread Josselin Mouette
reassign 500520 linux-2.6
thanks

Le dimanche 28 septembre 2008 à 21:14 -0400, Joey Hess a écrit :
 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:
 
 j...@kodama:/sys/class/power_supply/ACcat online 
 1

According to upstream, this is a problem in the kernel, and it should be
fixed in a more recent version.

Cheers,
-- 
 .''`.  Debian 5.0 Lenny has been released!
: :' :
`. `'   Last night, Darth Vader came down from planet Vulcan and told
  `-me that if you don't install Lenny, he'd melt your brain.


signature.asc
Description: Ceci est une partie de message	numériquement signée


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

2008-09-30 Thread Josselin Mouette
Le dimanche 28 septembre 2008 à 21:14 -0400, Joey Hess a écrit :
 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:
 
 [EMAIL PROTECTED]:/sys/class/power_supply/ACcat 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:
 
 [EMAIL PROTECTED]:/sys/class/power_supply/CMB1cat status 
 Discharging
 [EMAIL PROTECTED]:/sys/class/power_supply/CMB1cat current_now
 0
 [EMAIL PROTECTED]:~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.

Could you please attach the output of gnome-power-bugreport.sh?

(This should really be a bug script, I’ll add it to the package.)

Thanks,
-- 
 .''`.
: :' :  We are debian.org. Lower your prices, surrender your code.
`. `'   We will add your hardware and software distinctiveness to
  `-our own. Resistance is futile.


signature.asc
Description: Ceci est une partie de message	numériquement signée


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

2008-09-30 Thread Joey Hess
Josselin Mouette wrote:
 Could you please attach the output of gnome-power-bugreport.sh?

Sure. Note that it tries to cat /etc/*-release BTW :-)

Distro version:   cat: /etc/*-release: No such file or directory
Kernel version:   2.6.26-1-686
g-p-m version:2.22.1
HAL version:  0.5.11
System manufacturer:  missing
System version:   missing
System product:   missing
AC adapter present:   yes
Battery present:  yes
Laptop panel present: no
CPU scaling present:  yes
Battery Information:
  battery.charge_level.current = 38232  (0x9558)  (int)
  battery.charge_level.design = 56160  (0xdb60)  (int)
  battery.charge_level.last_full = 44920  (0xaf78)  (int)
  battery.charge_level.percentage = 85  (0x55)  (int)
  battery.charge_level.rate = 10749  (0x29fd)  (int)
  battery.is_rechargeable = true  (bool)
  battery.model = 'CP234020'  (string)
  battery.present = true  (bool)
  battery.rechargeable.is_charging = false  (bool)
  battery.rechargeable.is_discharging = true  (bool)
  battery.remaining_time = 12804  (0x3204)  (int)
  battery.reporting.current = 5310  (0x14be)  (int)
  battery.reporting.design = 7800  (0x1e78)  (int)
  battery.reporting.last_full = 6239  (0x185f)  (int)
  battery.reporting.rate = 1493  (0x5d5)  (int)
  battery.reporting.technology = 'Li-ion'  (string)
  battery.reporting.unit = 'mAh'  (string)
  battery.serial = '1'  (string)
  battery.technology = 'lithium-ion'  (string)
  battery.type = 'primary'  (string)
  battery.vendor = 'Fujitsu'  (string)
  battery.voltage.current = 7839  (0x1e9f)  (int)
  battery.voltage.design = 7200  (0x1c20)  (int)
  battery.voltage.unit = 'mV'  (string)
GNOME Power Manager Process Information:
joey  3833  0.0  1.6  25968  8600 ?Ss   Sep27   0:50 
gnome-power-manager
HAL Process Information:
105   3231  0.0  0.5   5812  3004 ?Ss   Sep27   1:09 /usr/sbin/hald
root  3232  0.0  0.2   3344  1040 ?SSep27   0:17  \_ hald-runner
root  3253  0.0  0.2   3408  1036 ?SSep27   0:04  \_ 
hald-addon-input: Listening on /dev/input/event1 /dev/input/event0 
/dev/input/event2 /dev/input/event3 /dev/input/event4
root  3257  0.0  0.2   3420  1096 ?SSep27   0:00  \_ 
/usr/lib/hal/hald-addon-cpufreq
105   3258  0.0  0.1   2272   872 ?SSep27   0:00  \_ 
hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
root  3267  0.0  0.1   3408   960 ?SSep27   0:02  \_ 
hald-addon-storage: no polling on /dev/scd0 because it is explicitly disabled

-- 
see shy jo


signature.asc
Description: Digital signature


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

2008-09-28 Thread Joey Hess
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:

[EMAIL PROTECTED]:/sys/class/power_supply/ACcat 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:

[EMAIL PROTECTED]:/sys/class/power_supply/CMB1cat status 
Discharging
[EMAIL PROTECTED]:/sys/class/power_supply/CMB1cat current_now
0
[EMAIL PROTECTED]:~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  hal0.5.11-3  Hardware Abstraction Layer
ii  libart-2.0-2   2.3.20-2  Library of functions for 2D graphi
ii  libatk1.0-01.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-13GNU C Library: Shared libraries
ii  libcairo2  1.6.4-6   The Cairo 2D vector graphics libra
ii  libdbus-1-31.2.1-3   simple interprocess messaging syst
ii  libdbus-glib-1-2   0.76-1simple 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-42.22.0-1  GNOME configuration database syste
ii  libglade2-01: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-02.20.1.1-1The GNOME 2 library - runtime file
ii  libgnomecanvas2-0  2.20.1.1-1A powerful object-oriented display
ii  libgnomeui-0   2.20.1.1-2The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0 1:2.22.0-5GNOME Virtual File System (runtime
ii  libgstreamer0.10-0 0.10.20-1 Core GStreamer libraries and eleme
ii  libgtk2.0-02.12.11-3 The GTK+ graphical user interface 
ii  libhal10.5.11-3  Hardware Abstraction Layer - share
ii  libice62: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-4lib 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-util00.2.1+git1-1  utility libraries for X C Binding 
ii  libxcb-render0 1.1-1.1   X C Binding, render extension
ii  libxcb11.1-1.1   X C Binding
ii  libxcursor11: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  libxml22.6.32.dfsg-4 GNOME XML library
ii  libxrandr2 2:1.2.3-1 X11 RandR extension library
ii  libxrender11:0.9.4-2 X Rendering Extension client libra
ii  notification-daemon0.3.7-1+b1a daemon that displays passive pop
ii  zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime