I have a Lenovo Ideapad Flex 5i running a 10th gen Intel i5, I tried using TLP to set the battery charging limit to 80 but it always went over 80, but I did this using the TLPUI, where it mentioned that it was for Thinkpads, but I assumed that it should work in general. Is there any way to limit battery charging at all ?
check
cat /sys/class/power_supply/BAT0/charge_start_threshold
and
cat /sys/class/power_supply/BAT0/charge_stop_threshold
i.e.
echo 45 > /sys/class/power_supply/BAT0/charge_start_threshold
echo 75 > /sys/class/power_supply/BAT0/charge_stop_threshold