From 004528e19bbc214169ab5da8b7ba9aae0495f317 Mon Sep 17 00:00:00 2001 From: Sergei Poljanski Date: Sun, 5 Apr 2026 21:32:41 +0300 Subject: [PATCH] bluetooth doesnt turn off on sleep cycle --- modules/power.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/power.nix b/modules/power.nix index 5eea7c4..c0cc954 100644 --- a/modules/power.nix +++ b/modules/power.nix @@ -19,11 +19,11 @@ CPU_SCALING_GOVERNOR_ON_AC = "performance"; CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; CPU_ENERGY_PERF_POLICY_ON_AC = "balance_performance"; - CPU_ENERGY_PERF_POLICY_ON_BAT = "power"; + CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_power"; CPU_BOOST_ON_AC = 1; - CPU_BOOST_ON_BAT = 0; + CPU_BOOST_ON_BAT = 1; PLATFORM_PROFILE_ON_AC = "balanced"; - PLATFORM_PROFILE_ON_BAT = "low-power"; + PLATFORM_PROFILE_ON_BAT = "balanced"; # AMD P-State CPU_DRIVER_OPMODE_ON_AC = "active"; @@ -35,7 +35,7 @@ # PCIe ASPM PCIE_ASPM_ON_AC = "default"; - PCIE_ASPM_ON_BAT = "powersupersave"; + PCIE_ASPM_ON_BAT = "default"; # Runtime PM RUNTIME_PM_ON_AC = "on"; @@ -51,7 +51,7 @@ }; # Bluetooth off at boot - hardware.bluetooth.powerOnBoot = false; + hardware.bluetooth.powerOnBoot = true; # Battery monitoring services.upower.enable = true;