GNOME Bugzilla – Bug 325785
Wrong battery/adapter notification
Last modified: 2010-01-24 01:06:10 UTC
Please describe the problem: When my battery almost fully charged, applet shows, that it is working on Battery, but AC adapter is present. here is the Hal keys ac_adapter.present = true battery.present = true battery.rechargeable.is_charging = false battery.rechargeable.is_discharging = true ----------------- And from /proc/acpi/ ac_adapter/ADP1/state: on-line battery/CMB0/state: present: yes capacity state: ok charging state: discharging P.S. After recharging applet shows empty battery, but in tooltip -- 100% charged P.P.S in short: when battery lid on laptop is off -- the icon shows "working on battery, discharging" when on -- "Working on AC Adapter, Charging" Steps to reproduce: 1. Merge gconf files in your $HOME/.gconf (I've simply deleted this directory and then restarted gdm) 2. Add applet on your pannel Actual results: Expected results: Does this happen every time? Yes Other information: Distribution: Debian testing/unstable hal: 0.5.5.1-3 dbus: 0.60-1 kernel: linux-2.6.14
Can you please confirm that the battery applet is using HAL. You can check this by looking for a star next to Ryan Lortie's name in the About dialog for the applet. The state shown by HAL/ACPI is strange, it ac_adapter is present, but the battery thinks it is discharging. This could be a buggy DSDT (which we can't fix, and will require kernel support or a DSDT patch). Ryan, have you seen anything like this?
Yes, there is a star next to Ryan name Few comments in addition to wrong indication of battery/ac_adapter if both are plugged, if i use full picture with battery charge state it shows full battery if it is uncharged and empty battery, if it is charged.
this is caused by a flaky ACPI implementation on your laptop. fortunately(?) this is a problem shared by several people so you should expect this to be fixed in the future.
But it worked for me with old hal/dbus (0.23) from Debian testing and old gconf file. But maybe gconf file is nothing to do with this problem, i've updated hal and configuration at tha same time.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 315943 ***