From 11c1af3e15bb232015afd8b8e7296fa099e6c2b4 Mon Sep 17 00:00:00 2001 From: Emmet Date: Mon, 29 Jul 2024 17:09:13 -0500 Subject: [PATCH] Better battery life --- system/hardware/power.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/hardware/power.nix b/system/hardware/power.nix index 209436f..d07772f 100644 --- a/system/hardware/power.nix +++ b/system/hardware/power.nix @@ -5,15 +5,15 @@ enable = true; settings = { CPU_SCALING_GOVERNOR_ON_AC = "performance"; - CPU_SCALING_GOVERNOR_ON_BAT = "performance"; + CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; - CPU_ENERGY_PERF_POLICY_ON_BAT = "performance"; + CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_power"; CPU_ENERGY_PERF_POLICY_ON_AC = "performance"; CPU_MIN_PERF_ON_AC = 0; CPU_MAX_PERF_ON_AC = 100; CPU_MIN_PERF_ON_BAT = 0; - CPU_MAX_PERF_ON_BAT = 100; + CPU_MAX_PERF_ON_BAT = 50; CPU_BOOST_ON_AC = 1; CPU_BOOST_ON_BAT = 0;