summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-09-30 16:25:59 +0200
committerAlan Pearce2019-09-30 16:25:59 +0200
commit260decf18137a57be0ccf97d907fdd36437ca015 (patch)
tree6070b7a7f85ae16e0d218becac7d00f64802600b
parent90d721bbb85fae19d78e63fcd02579c38e06578a (diff)
downloadnixos-configuration-260decf18137a57be0ccf97d907fdd36437ca015.tar.lz
nixos-configuration-260decf18137a57be0ccf97d907fdd36437ca015.tar.zst
nixos-configuration-260decf18137a57be0ccf97d907fdd36437ca015.zip
laptop: increase power saving
-rw-r--r--modules/hardware/laptop.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/hardware/laptop.nix b/modules/hardware/laptop.nix
index e90f4f1..17e27b6 100644
--- a/modules/hardware/laptop.nix
+++ b/modules/hardware/laptop.nix
@@ -58,6 +58,10 @@
     enable = true;
     extraConfig = ''
       CPU_SCALING_GOVERNOR_ON_BAT=powersave
+      ENERGY_PERF_POLICY_ON_BAT="balance_power"
+
+      SOUND_POWER_SAVE_ON_AC=60
+      DEVICES_TO_DISABLE_ON_BAT_NOT_IN_USE="bluetooth wwan"
     '';
   };