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
Hi, thanks for replying ! when I ran, " cat /sys/class/power_supply/BAT0/charge_start_threshold" it turned “cat: /sys/class/power_supply/BAT0/charge_start_threshold: No such file or directory”
Also when I did “echo 45 > /sys/class/power_supply/BAT0/charge_start_threshold” in sudo, it said "bash: /sys/class/power_supply/BAT0/charge_start_threshold: Permission denied "