Created attachment 148552 [details] why cant i set this per battery Screenshot_20220504_124036.png hi, first of all its version 5.20 here but not selectable, first look at the screenshot attached, (cause that saying comparing the value of a picture vs 1k words...): guess ive descript it allready in the title, and with that image but let me try to frase it in this english language thingy: i have a new thinkpad that got two batterys, one with li-ion, and one li-pol technology. I just changed one of them, so the battery degredation is not equal, so i would like to start the new charging only if below 50% but the old one i dont care when its starts even below 90% or... but there is no way to set those for the batteries individually, only globally. I guess you could try to improve on that STEPS TO REPRODUCE 1. get a device with multiple batterys 2. run kcmshell5 powerdevilglobalconfig.desktop 3. see that there is no way to set it per battery thanks in advance and keep up the good work OBSERVED RESULT two batterys, only one persentage area setting EXPECTED RESULT getting 4 not 2 percentage setings (2 for each battery, not 2 for all of them) SOFTWARE/OS VERSIONS Distribution: Debian GNU/Linux 11 Operating System: Debian GNU/Linux 11 KDE Plasma Version: 5.20.5 KDE Frameworks Version: 5.78.0 Qt Version: 5.15.2 Kernel Version: 5.10.0-14-amd64 OS Type: 64-bit Processors: 4 × Intel® Core™ i5-6300U CPU @ 2.40GHz Memory: 11.6 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 520 ADDITIONAL INFORMATION maybe some help file info about the existings in of thes setting for new users who havent degrated there battery that much jet would be nice (like welcome assistent or so)
The ChargeThresholdHelper helper executable does iterate over all power supply batteries, it just doesn't expose that information/functionality in its interface. With a little bit of care and refactoring, it should be possible to distinguish between batteries and show that in the config UI. (Like always, someone has to sit down and implement it.)