Saving battery life on linux using powertop
Most distributions come with a handy tool called powertop, that is able to automatically set kernel parameters to save energy. sudo powertop –auto-tune Settings are not permanent, to you can use the following snippet to create and load a systemd unit file to load the settings after rebooting your machine: cat << EOF | sudo …