LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Limit battery charge to 80% on Acer Aspire A315-43 [Arch Linux] (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/limit-battery-charge-to-80-on-acer-aspire-a315-43-%5Barch-linux%5D-4175731802/)

PxRyzl 12-14-2023 10:58 AM

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

business_kid 12-14-2023 11:07 AM

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.

rufwoof 12-14-2023 04:10 PM

TLP - Optimize Linux Laptop Battery Life

https://linrunner.de/tlp/#installation

maniacx 12-19-2023 05:01 PM

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

PxRyzl 12-20-2023 02:10 PM

Thanks you maniacx, it worked

lazardo 03-07-2024 03:31 PM

Code:

# echo 80 > /sys/class/power_supply/BAT0/charge_control_end_threshold


All times are GMT -5. The time now is 06:20 AM.