SUMMARY Not an issue, but a feature request. It'd be nice if I would be able to change the charge limit from within KDE. STEPS TO REPRODUCE N/A OBSERVED RESULT N/A EXPECTED RESULT N/A SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux rolling (available in About System) KDE Plasma Version: 5.27.6 KDE Frameworks Version: 5.107.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION Some of the quirks are: 1. The charge limit is managed by the embedded controller. 2. It can be managed with a fork of ectool (available at https://github.com/FrameworkComputer/EmbeddedController). 3. It resets upon reboot. 4. It does not support setting a start/stop charging threshold, only a percentage at which the battery should be kept. The current implementation of battery thresholds does not seem well-suited to computers that manage the battery with an EC. I'm willing to work on this. This could also help with issue #441057.
Indeed, Bug 441057 seems quite related. I suppose we can wait for these features to be implemented in the Kernel using the standard stop charging threshold approach, or we can explicitly add support for this style of hardware in our code.
This is hopefully slated to be released in 6.11 or 6.12: https://lore.kernel.org/lkml/20240610-cros_ec-charge-control-v3-0-135e37252094@weissschuh.net/ Once the EC charge level is exposed this should 'just work', as folks seem to have tested it working fine in upower/Gnome once the kernel patch is applied.
Yup!