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

            Bug ID: 443573
           Summary: Problems with update of battery values
           Product: kinfocenter
           Version: 5.22.4
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Energy Information
          Assignee: k...@privat.broulik.de
          Reporter: war...@gmx.de
                CC: plasma-b...@kde.org
  Target Milestone: ---

Created attachment 142318
  --> https://bugs.kde.org/attachment.cgi?id=142318&action=edit
Outdated charge values

The battery statistics page shows some current power values, such as charging
status (charging, discharging), charge power going in and out, battery voltage
and so on.

But it appears unclear to me how and when the values at the bottom are being
updated. For instance: I charge the battery and the screen correctly shows 22 W
of charge going in. Then I disconnect AC power, and the display of the battery
voltage does change, but the power value is still at 22 W. Now I reconnect AC,
and power “changes” to 7 or 8 W, which is the system’s consumption on battery
power. This is not fully reproducible, often the value does not change at all.
See first screenshot as proof.

The values also are not consistent across batteries. My ThinkPad has two
batteries, and currenlty it shows a consumption value != 0 for both, which is
not possible, because only one is ever used at any given time (if at all).

Also, when the AC status changes, it is shown for both batteries at the top of
the screen (see second screenshot).

Perhaps the underlying library which provides these information is not capable
of discerning this. Outside of KDE I use a small script which parses the
content of /sys/class/power_supply/BAT?/uevent directly and the values do
differ.

For another test I used tpacpi-bat to disable charging and restarted
KInfocenter. The POWER_SUPPLY_STATUS in the above mentioned uevent reflects
that the batteries are neither charged nor discharged (it shows “unkown”), yet
KInfocenter shows “Charging” and the wattage that last went into each battery
(around 20 W), even though the actual current is 0 at that moment.

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

Reply via email to