GNOME Bugzilla – Bug 554572
claims AC is unplugged when my battery reached 100% charge
Last modified: 2009-03-04 15:19:46 UTC
[ Forwarded from http://bugs.debian.org/500520 by Joey Hess ] 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@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@kodama:/sys/class/power_supply/CMB1>cat status Discharging joey@kodama:/sys/class/power_supply/CMB1>cat current_now 0 joey@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. 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 ? S Sep27 0:17 \_ hald-runner root 3253 0.0 0.2 3408 1036 ? S Sep27 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 ? S Sep27 0:00 \_ /usr/lib/hal/hald-addon-cpufreq 105 3258 0.0 0.1 2272 872 ? S Sep27 0:00 \_ hald-addon-acpi: listening on acpid socket /var/run/acpid.socket root 3267 0.0 0.1 3408 960 ? S Sep27 0:02 \_ hald-addon-storage: no polling on /dev/scd0 because it is explicitly disabled
I think you need to update your kernel.