Bug 497345 - Plasma widget erroneously shows charge thresholds for all power supply batteries
Summary: Plasma widget erroneously shows charge thresholds for all power supply batteries
Status: RESOLVED DUPLICATE of bug 448020
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power and Battery widget (show other bugs)
Version: 6.2.4
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-12 00:52 UTC by Faidon Liambotis
Modified: 2025-02-07 19:46 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Power widget showing the issue (118.03 KB, image/png)
2024-12-12 00:52 UTC, Faidon Liambotis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Faidon Liambotis 2024-12-12 00:52:38 UTC
Created attachment 176539 [details]
Power widget showing the issue

SUMMARY

1) I own a (Dell) laptop, which has a built-in battery. I have charge start/end thresholds configured to maintain the battery's health. This is reported correctly by the battery applet (neat!).
2) I also own an APC UPS to which my equipment is plugged in when I sit at my desk. I have the UPS connected to the laptop with a USB cable. Linux detects it as a USB HID device, and then (I believe) UPower and Powerdevil pick it up and correctly report its battery levels (also neat). To my knowledge the UPS does not support charge start/end thresholds. The UPS is not listed under /sys/class/power_supply, but `upower --dump` lists it, and does not mention any thresholds.

The bug lies in the fact that the message "Battery is configured to charge up to approximately 85%" is displayed beneath both the laptop battery (correct) and the UPS battery (wrong). The message is not displayed under any other devices like mice, headphones etc. (also correct).

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.7.2
Kernel Version: 6.12.3-amd64 (64-bit)
upower: 1.90.6

ADDITIONAL INFORMATION
See the attached screenshot.
Comment 1 Ismael Asensio 2025-02-07 19:46:17 UTC
*** This bug has been marked as a duplicate of bug 448020 ***