After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 325785 - Wrong battery/adapter notification
Wrong battery/adapter notification
Status: RESOLVED DUPLICATE of bug 315943
Product: gnome-applets
Classification: Other
Component: battery
2.12.x
Other All
: Normal normal
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-01-04 19:30 UTC by Vitaliy Ischenko
Modified: 2010-01-24 01:06 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Vitaliy Ischenko 2006-01-04 19:30:49 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
Comment 1 Danielle Madeley 2006-01-06 01:23:27 UTC
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?
Comment 2 Vitaliy Ischenko 2006-01-06 13:59:33 UTC
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.
Comment 3 Allison Karlitskaya (desrt) 2006-01-06 14:47:04 UTC
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.
Comment 4 Vitaliy Ischenko 2006-01-06 18:52:21 UTC
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.
Comment 5 Allison Karlitskaya (desrt) 2006-01-07 00:46:18 UTC
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 ***