·   Updated:

Laptop Battery (Linux)

Adjusting battery fill percentage

Edit

nvim /etc/tlp.conf
…at bottom of file

# when travelling for longest lasting
# START_CHARGE_THRESH_BAT0=90
# STOP_CHARGE_THRESH_BAT0=95

# # when plugged in all the time for battery longevity
# START_CHARGE_THRESH_BAT0=75
# STOP_CHARGE_THRESH_BAT0=80

Apply

sudo tlp start

Temporary powersave (reboot resets settings)

Enable

sudo tlp start
sudo cpufreq-set -g powersave
xrandr --output eDP --brightness 0.9

Disable

sudo cpufreq-set -g performance
xrandr --output eDP --brightness 1.0