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 ?
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 "