tlp
This commit is contained in:
20
install.bash
20
install.bash
@ -58,14 +58,20 @@ echo '[Service]\nExecStart=\nExecStart=-/sbin/agetty --noreset --noclear --autol
|
||||
|
||||
# Battery optimization
|
||||
# https://github.com/AdnanHodzic/auto-cpufreq?tab=readme-ov-file#installing-auto-cpufreq
|
||||
git clone https://github.com/AdnanHodzic/auto-cpufreq.git
|
||||
cd auto-cpufreq && sudo ./auto-cpufreq-installer
|
||||
sudo auto-cpufreq --install
|
||||
sudo auto-cpufreq --update
|
||||
sudo auto-cpufreq --stats
|
||||
#git clone https://github.com/AdnanHodzic/auto-cpufreq.git
|
||||
#cd auto-cpufreq && sudo ./auto-cpufreq-installer
|
||||
#sudo auto-cpufreq --install
|
||||
#sudo auto-cpufreq --update
|
||||
#sudo auto-cpufreq --stats
|
||||
# https://wiki.archlinux.org/title/Framework_Laptop_13#Battery_control
|
||||
yay -S fw-ectool-git
|
||||
ectool chargecontrol normal 80 80
|
||||
#yay -S fw-ectool-git
|
||||
#ectool chargecontrol normal 80 80
|
||||
cp ~/dotfiles/etc/tlp.conf /etc/
|
||||
pacman -S tlp tlp-rdw
|
||||
systemctl enable tlp.service
|
||||
systemctl enable NetworkManager-dispatcher.service
|
||||
systemctl mask systemd-rfkill.service # Needed for auto-disable of BT on boot by TLP
|
||||
systemctl mask systemd-rfkill.socket # Also needed for auto-disable BT
|
||||
|
||||
###################################################################
|
||||
# MANUAL CONFIGURATION REQUIRED
|
||||
|
Reference in New Issue
Block a user