From 94a260403b9582faa9f737ecfd9e099be504656b Mon Sep 17 00:00:00 2001 From: iFargle Date: Sun, 19 Nov 2023 19:30:40 +0900 Subject: [PATCH] Update --- nixos/common/services/tlp.nix | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/nixos/common/services/tlp.nix b/nixos/common/services/tlp.nix index 743566cb..e544a15a 100644 --- a/nixos/common/services/tlp.nix +++ b/nixos/common/services/tlp.nix @@ -3,29 +3,25 @@ services.tlp = { enable = true; settings = { - CPU_BOOST_ON_BAT = 0; - CPU_HWP_DYN_BOOST_ON_BAT = 0; - SCHED_POWERSAVE_ON_BAT = 1; - NMI_WATCHDOG = 0; - - CPU_SCALING_GOVERNOR_ON_BATTERY = "powersave"; # Specific to the Framework, since I have it limited to 80% charge in the BIOS START_CHARGE_THRESH_BAT0 = 70; STOP_CHARGE_THRESH_BAT0 = 79; + CPU_BOOST_ON_BAT = 0; + CPU_HWP_DYN_BOOST_ON_BAT = 0; + SCHED_POWERSAVE_ON_BAT = 1; + NMI_WATCHDOG = 0; + CPU_SCALING_GOVERNOR_ON_BATTERY = "powersave"; RUNTIME_PM_ON_AC = 0; RUNTIME_PM_ON_BAT = "auto"; - PCIE_ASPM_ON_AC = "default"; PCIE_ASPM_ON_BAT = "powersupersave"; - CPU_ENERGY_PERF_POLICY_ON_AC = "performance"; CPU_ENERGY_PERF_POLICY_ON_BAT = "power"; CPU_MIN_PERF_ON_AC = 0; CPU_MAX_PERF_ON_AC = 100; CPU_MIN_PERF_ON_BAT = 0; CPU_MAX_PERF_ON_BAT = 30; - PLATFORM_PROFILE_ON_AC = "performance"; PLATFORM_PROFILE_ON_BAT = "low-power"; };