mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-10 00:31:32 +01:00
Enable powersave features when on battery (taken from #60)
This commit is contained in:
parent
b84f46f208
commit
4428c70b17
|
|
@ -22,6 +22,8 @@
|
||||||
services.tlp.extraConfig = ''
|
services.tlp.extraConfig = ''
|
||||||
START_CHARGE_THRESH_BAT0=75
|
START_CHARGE_THRESH_BAT0=75
|
||||||
STOP_CHARGE_THRESH_BAT0=80
|
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
|
# Temporary fix for cpu throttling issues visible in the kernel log
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue