Tweak the power saving settings

This commit is contained in:
coolneng 2023-01-13 21:21:36 +01:00
parent ae67cfc7c9
commit d368a96e18
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 6 additions and 5 deletions

View File

@ -24,8 +24,9 @@ with pkgs;
'')
];
boot.extraModprobeConfig = ''
options snd-hda-intel patch=hda-jack-retask.fw
options snd-hda-intel patch=hda-jack-retask.fw power_save=1
options mac80211 beacon_loss_count=500
options iwlwifi power_save=1
'';
}

View File

@ -5,10 +5,10 @@
services.tlp = {
enable = true;
settings = {
CPU_SCALING_MIN_FREQ_ON_AC = 800000;
CPU_SCALING_MAX_FREQ_ON_AC = 3000000;
CPU_SCALING_MIN_FREQ_ON_BAT = 800000;
CPU_SCALING_MAX_FREQ_ON_BAT = 2000000;
CPU_MIN_PERF_ON_AC = 0;
CPU_MAX_PERF_ON_AC = 100;
CPU_MIN_PERF_ON_BAT = 0;
CPU_MAX_PERF_ON_BAT = 50;
};
};