From cb8c347ae27767ba8a7c3ccafaad27621e3df585 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Tue, 9 Apr 2024 15:17:21 +0300 Subject: [PATCH] mtworx: update tlp settings --- hosts/mtworx/configuration.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/hosts/mtworx/configuration.nix b/hosts/mtworx/configuration.nix index bff1136..698b908 100644 --- a/hosts/mtworx/configuration.nix +++ b/hosts/mtworx/configuration.nix @@ -48,8 +48,6 @@ in { }; }; - powerManagement.cpuFreqGovernor = "powersave"; - hardware.cpu.intel.updateMicrocode = true; nixpkgs.hostPlatform = "x86_64-linux"; @@ -209,10 +207,11 @@ in { CPU_BOOST_ON_BAT = 0; CPU_HWP_DYN_BOOST_ON_BAT = 0; CPU_SCALING_GOVERNOR_ON_AC = "performance"; - CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; + CPU_SCALING_GOVERNOR_ON_BAT = "ondemant"; CPU_ENERGY_PERF_POLICY_ON_AC = "performance"; - CPU_ENERGY_PERF_POLICY_ON_BAT = "power"; - PLATFORM_PROFILE_ON_BAT = "low-power"; + CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_power"; + PLATFORM_PROFILE_ON_BAT = "balanced"; + PLATFORM_PROFILE_ON_AC = "performance"; START_CHARGE_THRESH_BAT0 = 80; STOP_CHARGE_THRESH_BAT0 = 87; RUNTIME_PM_ON_BAT = "auto";