Just as the OP asked in the other question, I would like to have a battery threshold.
However, for me, when I type into the terminal
echo 80 | sudo tee /sys/class/power_supply/BAT0/charge_control_end_threshold,
I get a message in the terminal saying “Permission denied”, even when I type “sudo” before “echo”.
How can I still do it?