Bug 514851 - c0de4254e218e5725c61298dae8ed3e6ab668f88 in powerdevil suppresses badge at "100% but discharging" condition, contradicting UI text
Summary: c0de4254e218e5725c61298dae8ed3e6ab668f88 in powerdevil suppresses badge at "1...
Status: ASSIGNED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power and Battery widget (other bugs)
Version First Reported In: 6.5.80
Platform: KDE Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression, usability
Depends on:
Blocks:
 
Reported: 2026-01-20 03:01 UTC by Nate Graham
Modified: 2026-01-24 18:26 UTC (History)
4 users (show)

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


Attachments
It can't be fully charged if it says it's discharging (1.06 MB, image/png)
2026-01-20 03:02 UTC, Nate Graham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2026-01-20 03:01:02 UTC
STEPS TO REPRODUCE
1. Charge to 100%
2. Turn on "Show battery percentage on icon when not fully charged" option
3. Unplug power cord


OBSERVED RESULT
Battery starts discharging so the applet appears in the active area of the system tray, but the percentage badge is suppressed. It appears at a later time when the percentage is below 100%.


EXPECTED RESULT
Percentage badge appears immediately because the battery started discharging when the power cord was removed, hence by definition it's not fully charged anymore.


ADDITIONAL INFORMATION?
Why is this actually a problem rather than just a quirk worth getting used to?
1. The UI text of the option is contradicted by reality
2. It feels weird for the the applet to appear in the visible area of the system tray with no badge, and then the badger appears later


SOFTWARE/OS VERSIONS
Operating System: KDE Linux 2026-01-16
KDE Plasma Version: 6.6.80
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.1
Kernel Version: 6.18.5-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840U w/ Radeon™ 780M Graphics
Memory: 17 GB of RAM (16.0 GB usable)
Graphics Processor: AMD Radeon 780M Graphics
Comment 1 Nate Graham 2026-01-20 03:02:36 UTC
Created attachment 188701 [details]
It can't be fully charged if it says it's discharging
Comment 2 Noah Davis 2026-01-24 17:56:20 UTC
It would be technically wrong, but what if we just forced the percentage to display as 99% when the battery is discharging, but at 100%? Going back to the discussion from https://invent.kde.org/plasma/powerdevil/-/merge_requests/599 , we decided that differentiating between 100% & fully charged and 100% & discharging in the UI was not particularly useful. Logically, can you truly be at 100% charge while actively discharging without it being a quirk of how the device reports battery percentage?
Comment 3 Bug Janitor Service 2026-01-24 18:26:14 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/powerdevil/-/merge_requests/603