This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Battery applet wrong status reporting

Tags: None
(comma "," separated)
noric
Registered Member
Posts
42
Karma
0
OS
I've noticed that when the AC power is plugged in, the battery applet in the system tray always reports "charging", even when the battery charge reaches the set threshold and the battery actually stops charging. The notebook is a Lenovo E520, and I set the battery charge threshold with tpacpi (or Lenovo Power Manager in Windows).
While the applet incorrectly shows "charging", the command line reports the correct situation:
Code: Select all
user@PC:~ > cat /proc/acpi/battery/BAT0/state
present:                 yes
capacity state:          ok
charging state:          charged
present rate:            0 mW
remaining capacity:      17270 mWh
present voltage:         10860 mV


Everything else works correctly. It reports "discharging" when the AC power is unplugged, and so on.

This is on KDE 4.14.2.
noric
Registered Member
Posts
42
Karma
0
OS
I've now tried to charge the battery up to 100% and the applet now reports "not charging".
So the problem only shows when I set a charge threshold: the bios stops charging the battery at the set charge threshold, but the applet still says "charging".
noric
Registered Member
Posts
42
Karma
0
OS
Wait, after I let the battery charge to 100% now it looks like the applet is displaying the correct battery status. I've then set the charge threshold again and the applet now correctly reports "not charging" when the charge level reaches the threshold.
So the steps I made are:
- detach the battery (this deletes any threshold you've set)
- reattach the battery and let it charge to 100%
- set the thresholds you want with tpacpi-bat

I'll let you know in case issues arise.
noric
Registered Member
Posts
42
Karma
0
OS
Unfortunately, I can't make this work reliably. After a while, the "charging" status is back...
sorenholm
Registered Member
Posts
1
Karma
0
Have you submitted a bug-report ?
noric
Registered Member
Posts
42
Karma
0
OS
I just did it: https://bugs.kde.org/show_bug.cgi?id=360800

Do you have any suggestion?
Thanks


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar