Bug 505126

Summary: charging limit resets after setting it
Product: [I don't know] kde Reporter: oskarfrank1
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: justin, kde, nicolas.fella
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description oskarfrank1 2025-06-02 10:45:22 UTC
SUMMARY
After setting charge limit in kubuntu 25.04 ,typing the sudo password thats needed and press apply it resets after changing to another settings tab

STEPS TO REPRODUCE
1. open chargelimit settings in energy options
2. change the needed charge limit
3. type sudo password in password prompt
4.  press apply
5. click any other settings tab in the settings screen and switch back to advanced energy settings and the limit is again at 100%, it resets no matterhow often you do this
OBSERVED RESULT
resets itsef all the time

EXPECTED RESULT
a custom charge limit

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Kubuntu 25.04
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
no matter what you do it resets
Comment 1 David Edmundson 2025-06-02 11:52:19 UTC

*** This bug has been marked as a duplicate of bug 450551 ***
Comment 2 Justin Zobel 2025-06-02 23:55:21 UTC
David I don't think this is a duplicate as the threshold isn't set at all.

I changed mine from 80 to 81, hit Apply and the input box goes back to 80.

I also checked /sys/class/power_supply/BAT0/charge_stop_threshold, and it shows 80.