Bug 491731

Summary: battery applet should not report that the power supply is not powerful enough to charge battery when it is above the stop charge limit
Product: [Plasma] plasmashell Reporter: Janne Grunau <janne-kde>
Component: Power and Battery widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: kde, natalie_clarius, nate, sakuriru
Priority: NOR Keywords: usability
Version First Reported In: 6.1.4   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Janne Grunau 2024-08-14 21:57:58 UTC
SUMMARY
Notebooks with configurable battery charge thresholds might discharge the battery if it is charged above the charge end threshold. This behaviour is useful for battery health on systems which are connected to a charger most of the time. Waiting for the battery self discharge after a full charge will take a long time at which the battery is charged to an unhealthy level.
The linux kernel's sysfs has no property to report this and the documentation for charge_control_end_threshold just specifies that charging will stop at this threshold. 
The battery applet should not confusingly suggest that power supply is is not powerful enough in this situation.

STEPS TO REPRODUCE
1. Charge the battery in an Apple silicon / asahi notebook to ~90% and connect a charger
2. Configure the charge limit stop threshold to 80%
3. look at the battery applet tool tip

OBSERVED RESULT
battery applet tool tip reports:
"Battery at 90%, plugged in but still discharging"
"The power supply is not powerful enough to charge the battery"

EXPECTED RESULT
"Battery at 90%, plugged in, discharging"
"Battery is configured to charge up to approximately 80%"
or simllar

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 6.9.12 (Apple MacBook Pro, M2, 13-inch, 2022)
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Comment 1 sakuriru 2025-06-01 05:44:43 UTC
Issue replicated on Framework 13 laptop using bazzite distro.