Last active
January 6, 2021 15:22
-
-
Save arunkumr/2b006cf61a09de2f9d34ff0a0794f833 to your computer and use it in GitHub Desktop.
My-Linux-Commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#From https://askubuntu.com/a/1230442/1168126 | |
echo 60 | sudo tee /sys/class/power_supply/BAT0/charge_control_end_threshold | |
#Add to /etc/crontab using sudo gedit /etc/crontab | |
@reboot root echo 60 > /sys/class/power_supply/BAT0/charge_control_end_threshold |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment