Enable powersave features when on battery (taken from #60)

This commit is contained in:
Alberto Berti 2018-07-21 21:20:25 +02:00
parent b84f46f208
commit 4428c70b17
1 changed files with 5 additions and 3 deletions

View File

@ -20,9 +20,11 @@
# See https://linrunner.de/en/tlp/docs/tlp-faq.html#battery
services.tlp.extraConfig = ''
START_CHARGE_THRESH_BAT0=75
STOP_CHARGE_THRESH_BAT0=80
'';
START_CHARGE_THRESH_BAT0=75
STOP_CHARGE_THRESH_BAT0=80
CPU_SCALING_GOVERNOR_ON_BAT=powersave
ENERGY_PERF_POLICY_ON_BAT=powersave
'';
# Temporary fix for cpu throttling issues visible in the kernel log
# (journalctl -k) by setting the same temperature limits used by