Power Management
This is a memo about power management.
TLP
TLP is a power management tool for Linux. Once installed and activated, it can be used without any special configuration.
Install
sudo pacman -S tlp
Settings
If you are using BTRFS as a file system, you should make the following settings because the file system may be corrupted.
sudo vim /etc/default/tlp
SATA_LINKPWR_ON_BAT=max_performance
Enable TLP
Enable TLP by running following commands.
sudo tlp start
Enable the tlp service in systemd to start it automatically.
sudo systemctl enable tlp
Powertop
Powertop is a power saving tool provided by Intel.
Install
sudo pacman -S powertop
Auto tune
Execute the following command to automatically save power.
sudo powertop --auto-tune
If you create a service to run this command in systemd, it will automatically reduce the power consumption.