summary refs log tree commit diff stats
path: root/modules/hardware
diff options
context:
space:
mode:
authorAlan Pearce2019-09-30 16:25:59 +0200
committerAlan Pearce2019-09-30 16:25:59 +0200
commit260decf18137a57be0ccf97d907fdd36437ca015 (patch)
tree6070b7a7f85ae16e0d218becac7d00f64802600b /modules/hardware
parent90d721bbb85fae19d78e63fcd02579c38e06578a (diff)
downloadnixfiles-260decf18137a57be0ccf97d907fdd36437ca015.tar.lz
nixfiles-260decf18137a57be0ccf97d907fdd36437ca015.tar.zst
nixfiles-260decf18137a57be0ccf97d907fdd36437ca015.zip
laptop: increase power saving
Diffstat (limited to 'modules/hardware')
-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 e90f4f1e..17e27b63 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"
     '';
   };