https://bugs.kde.org/show_bug.cgi?id=360800

            Bug ID: 360800
           Summary: Battery applet wrong status reporting with Lenovo
                    thresholds
           Product: plasma4
           Version: unspecified
          Platform: Mint (Ubuntu based)
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: widget-battery
          Assignee: plasma-b...@kde.org
          Reporter: g11072...@trbvm.com

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:

    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.

I've tried to charge the battery up to 100% and the applet correctly reports
"not charging". The same happens if I set a very high thresolds (like 99 or
98).

So the problem only shows when I set a relatively low charge threshold (like
90%): the bios stops charging the battery at the set charge threshold, but the
applet still says "charging". 

This is on KDE 4.14.2. 

Reproducible: Always

Steps to Reproduce:
1. Plug the AC cord.
2. Let the battery charge up to set threshold.
3. The battery stops charging at the set threshold.

Actual Results:  
The battery widget still says "charging" (even after reboot).

Expected Results:  
The battery widget should say "not charging".

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to