Limit battery charge to 80% on Acer Aspire A315-43 [Arch Linux]
I'm wondering if it's possible to limit the battery charge to 80% on Linux.
It's already possible to do this on my laptop on windows using acer care center so I'm wondering if I could do the same on Arch Linux I'm using kde plasma but there's isn't any battery limit option in settings and there isn't any option to do it on bios |
I have that set up in my Samsung laptop, but you have to set it in the BIOS. Have you checked there? And don't ask me how - it's nearly 11 years since I set it.
|
|
Not out of the box, you can using command line by installing a kernel module (if your laptop is supported)
https://github.com/frederik-h/acer-wmi-battery |
Thanks you maniacx, it worked
|
Code:
# echo 80 > /sys/class/power_supply/BAT0/charge_control_end_threshold |
All times are GMT -5. The time now is 06:20 AM. |