Initial commit

This commit is contained in:
Cole Deck
2020-02-20 09:42:45 -06:00
commit cabd98c252
3 changed files with 959 additions and 0 deletions

13
tlp.sh Executable file
View 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