Bug 453379 - Allow me to set start and stop of charging on per battery level and not only globally
Summary: Allow me to set start and stop of charging on per battery level and not only ...
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_powerdevil (show other bugs)
Version: 5.23.0
Platform: Debian stable Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-04 11:00 UTC by treaki
Modified: 2023-12-05 06:38 UTC (History)
4 users (show)

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


Attachments
why cant i set this per battery Screenshot_20220504_124036.png (308.09 KB, image/png)
2022-05-04 11:00 UTC, treaki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description treaki 2022-05-04 11:00:17 UTC
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)
Comment 1 Jakob Petsovits 2023-12-05 06:38:54 UTC
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.)