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 315943 - [hal] some acpi laptops erroneously report 'discharging' while on AC power
[hal] some acpi laptops erroneously report 'discharging' while on AC power
Status: RESOLVED OBSOLETE
Product: gnome-applets
Classification: Other
Component: battery
2.12.x
Other Linux
: Normal minor
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
: 325785 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-09-10 22:42 UTC by David Makovský (Yakeen)
Modified: 2020-11-06 19:57 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description David Makovský (Yakeen) 2005-09-10 22:42:49 UTC
bad indication of state

on battery - OK
on powersupply - not fully loaded - OK

on powersupply - reaching 100% - icon shows that Notebok is running on battery
Comment 1 Allison Karlitskaya (desrt) 2005-09-11 07:56:36 UTC
Can you please provide more information about this problem?

Specifically, please take a look at the information reported here and find out
of this is the same problem that you are experiencing. --
http://bugzilla.ubuntu.com/show_bug.cgi?id=14050#c2

Thanks.
Comment 2 David Makovský (Yakeen) 2005-09-12 08:54:52 UTC
Yes, thats the behaviour.
So mark it as duplication, thanks for your care
Comment 3 Allison Karlitskaya (desrt) 2005-09-12 09:48:08 UTC
Actually, I'll reopen this and confirm it.

This bug is caused by laptops with buggy ACPI implementations.  This report that
they are "discharging" when they really are not.  The battery applet is now
using a new HAL (hardware abstraction layer) battery status backend.  The new
backend doesn't have a work-around for these buggy laptops whereas the old
backend does.

There will be more people reporting this bug, I imagine, and this will give us a
good place to track it until either the kernel is fixed to properly support
these laptops or a work-around is added to HAL.

In the meantime, if this bug affects you, please see the "Troubleshooting"
section of the battery status applet help.  It contains instructions for
determining if you're using HAL and disabling it if you are.

David: just out of curiosity -- what model of laptop do you have?

Thanks for the report.
Comment 4 David Makovský (Yakeen) 2005-09-12 10:44:17 UTC
Fujitsu SIEMENS Lifebook E8020
Comment 5 Allison Karlitskaya (desrt) 2006-01-07 00:46:18 UTC
*** Bug 325785 has been marked as a duplicate of this bug. ***
Comment 6 Allison Karlitskaya (desrt) 2006-01-07 00:46:56 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 7 André Klapper 2020-11-06 19:57:45 UTC
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports in Bugzilla which have not seen updates for many years.

If you can still reproduce this issue in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/gnome-applets/-/issues/

Thank you for reporting this issue and we are sorry it could not be fixed.