Initial commit
This commit is contained in:
13
tlp.sh
Executable file
13
tlp.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
printf "Choose a profile:\n1. High Performance\n2. Best Battery\n\nPick a number: "
|
||||
read -e -n 1 choice
|
||||
if [ "$choice" = "1" ]; then
|
||||
sudo mv /etc/tlp.conf tlp_old.conf
|
||||
sudo cp battery_ok.conf /etc/tlp.conf
|
||||
sudo tlp start
|
||||
fi
|
||||
if [ "$choice" = "2" ]; then
|
||||
sudo mv /etc/tlp.conf tlp_old.conf
|
||||
sudo cp battery_max.conf /etc/tlp.conf
|
||||
sudo tlp start
|
||||
fi
|
Reference in New Issue
Block a user