I am using Ubuntu 20.04 on my Asus ROG GL503GE (Nvidia drivers, dual boot). I have added @reboot root echo 60 > /sys/class/power_supply/BAT1/charge_control_end_threshold
on /etc/crontab
, but still when I reboot my computer, the command does not run. I need to run this to limit my battery charging to 60% and had that command ran successfully, my charging LED would have turned from orange to white. Now I have to manually edit the file every time I reboot my computer. Any solutions how to get this running?
0 Answers