Limit Battery Charging to 40%

I have an Asus Vivobook S14 laptop (i3 8145U, 8G ram, 240G SSD).
I was wondering if there was any way I could stop my battery charging at 40% to preserve battery life.
Thank you very much.

This is going to be specific to your system’s model so you might have to try things on your own to see if there is a working Linux solution.

There is TLP and it is available in bundle Clear Linux bundle, but their documentation the battery threshold feature is only for ThinkPads. You might try it still to see if it works.

I found this section on the ArchWiki for another ASUS model. Maybe it’ll be relevantfor yours too?
https://wiki.archlinux.org/index.php/ASUS_Zenbook_UX430/UX530#Battery_charge_threshold

Out of curiosiy, have you had this work on another Linux distro or is is your experience from using the Windows utility from ASUS?

1 Like

There is no way in just software to do this that I know of. This is because simply, your laptop needs to be able to charge when they battery is completely dead, too.

If you have a fixed setup where, in that location, you want to do this, you could setup something like zwave and switch the outlet on/off from your laptop.

Actually never tried on other linux distros, only used the Asus battery health utility which only works on windows. Gonna try TLP if it doesn’t work then I’ll try using the Asus Utility on Wine to see if that works.
Thank you for your help :smile:

Yes, now with kernel 5.4+ it is, this worked with my VivoBook 15 on ubuntu 20.04