Bug 440297 - there is no option for Battery charge limit
Summary: there is no option for Battery charge limit
Status: RESOLVED FIXED
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 5.21.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-26 13:02 UTC by Mohammad K.
Modified: 2022-12-12 15:22 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mohammad K. 2021-07-26 13:02:22 UTC
My laptop model is Asus x510uf. Based on what I've found on following links, if there's a variable under /sys/class/power_supply/BAT*/ called "charge_control_end_threshold", laptop supports charge limits. It looks I have such variable on my system. So it should support battery charge limit. But though this option was added on KDE Plasma 5.20, I don't see any related setting. 

- https://wiki.archlinux.org/title/Laptop/ASUS#Battery_charge_threshold

- https://www.reddit.com/r/linuxhardware/comments/g8kpee/psa_kernel_54_added_the_ability_to_set_a_battery/


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Kubuntu 21.04
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2

Computer Model: Asus Vivobook x510uf
Comment 1 David Edmundson 2021-07-26 13:53:45 UTC
We currently look for charge_stop_threshold

Next step is to find out who is in the wrong
Comment 2 Kai Uwe Broulik 2021-07-26 13:57:00 UTC
I think we use an older Lenovo - proprietary interface whereas there is a newer standard one, cf also https://invent.kde.org/plasma/powerdevil/-/merge_requests/22
Comment 3 Mohammad K. 2022-12-12 15:22:38 UTC
Thanks. It's fixed since many versions ago. Let me close it!