SUMMARY According to [1], support for setting charging tresholds was merged in 5.20. The required sysfs entries charge_control_end_threshold/charge_control_start_threshold are present for my battery. However, I do not see an option to configure them via powerdevil KCM STEPS TO REPRODUCE 1. install powerdevil with all dependencies 2. open power options in system settings OBSERVED RESULT No option to configure charging limits. EXPECTED RESULT Option to configure charging limits. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Archlinux, last update a week ago (available in About System) KDE Plasma Version: 5.23.5 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION This is the 14" Huawei MateBook D with the Ryzen 5 2500U APU. I have tried setting the tresholds via console and they seem to set the values. The Plasma now complains that the power is plugged in, but battery is still discharging - I'm guessing it's working as intended, kind of?
[1]: https://invent.kde.org/plasma/powerdevil/-/merge_requests/5
I've just found this [2], so looks like it's something to look forward to in 5.24? [2] https://invent.kde.org/plasma/powerdevil/-/merge_requests/70
Yup!