about summary refs log tree commit diff
path: root/etc/laptop-mode/conf.d
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>1970-01-01 03:00:00 +0300
committerAzat Bahawi <azat@bahawi.net>2022-09-20 11:52:07 +0300
commit962c35425636e3f942fd8a624369a7c53748f47e (patch)
treec69e76f6c4cdd7f9f66d02a02ee683fe4d5426e7 /etc/laptop-mode/conf.d
chore: init HEAD master
Diffstat (limited to 'etc/laptop-mode/conf.d')
-rw-r--r--etc/laptop-mode/conf.d/intel-hda-powersave.conf39
-rw-r--r--etc/laptop-mode/conf.d/intel-sata-powermgmt.conf39
2 files changed, 78 insertions, 0 deletions
diff --git a/etc/laptop-mode/conf.d/intel-hda-powersave.conf b/etc/laptop-mode/conf.d/intel-hda-powersave.conf
new file mode 100644
index 0000000..1e7fb8a
--- /dev/null
+++ b/etc/laptop-mode/conf.d/intel-hda-powersave.conf
@@ -0,0 +1,39 @@
+#
+# Configuration file for Laptop Mode Tools module intel-hda-powersave.
+#
+# For more information, consult the laptop-mode.conf(8) manual page.
+#
+
+
+###############################################################################
+# Intel HDA power saving settings
+# -------------------------------
+#
+#__COMMENT Enable this setting to save some power with your Intel HDA Audio Chipset
+#__COMMENT device.
+#
+###############################################################################
+
+# Enable debug mode for this module
+# Set to 1 if you want to debug this module
+DEBUG=0
+
+# Control INTEL HDA audio chipset power?
+# Set to 0 to disable
+CONTROL_INTEL_HDA_POWER="auto"
+
+# Handle power savings for Intel HDA under specific circumstances
+BATT_INTEL_HDA_POWERSAVE=1
+LM_AC_INTEL_HDA_POWERSAVE=0
+NOLM_AC_INTEL_HDA_POWERSAVE=0
+
+# Number of seconds to wait before you want the device to time out
+INTEL_HDA_DEVICE_TIMEOUT=2
+
+# Disable controller on Device timeout
+# This saves more power
+# However you might want to disable this if you get annoyed by the 
+# "click" sound when the device wakes up again
+#
+# Set this to 1 to enable power savings for the controller also
+INTEL_HDA_DEVICE_CONTROLLER=1
diff --git a/etc/laptop-mode/conf.d/intel-sata-powermgmt.conf b/etc/laptop-mode/conf.d/intel-sata-powermgmt.conf
new file mode 100644
index 0000000..10ec8c0
--- /dev/null
+++ b/etc/laptop-mode/conf.d/intel-sata-powermgmt.conf
@@ -0,0 +1,39 @@
+#
+# Configuration file for Laptop Mode Tools module intel-sata-powermgmt.
+#
+# For more information, consult the laptop-mode.conf(8) manual page.
+#
+
+
+###############################################################################
+# Intel SATA power management settings
+# ------------------------------------
+#
+#__COMMENT If you enable this setting, laptop mode tools will automatically enable the
+#__COMMENT link power management mode of Intel AHCI compliant SATA chipsets.
+#__COMMENT On newer kernels (4.6+), it can also help enable AHCI Runtime PM savings
+#
+###############################################################################
+
+# Enable debug mode for this module
+# Set to 1 if you want to debug this module
+DEBUG=0
+
+# Control Intel SATA chipset power management?
+# Set to 0 to disable
+CONTROL_INTEL_SATA_POWER="0"
+
+
+# Enable AHCI Runtime PM
+# This feature was added with Linux kernels 4.6+
+CONTROL_AHCI_RUNTIME_PM=0
+
+# Handle power management of the Intel SATA host controller under specific
+# circumstances. Legal values are "min_power" (maximum power saving at the
+# expense of higher latencies), "medium_power" (reduce latencies to a minimum
+# while still trying to enable power-saving features), "max_performance" (power
+# management is disabled). Note that setting any level besides
+# "max_performance" also disables device hotplug.
+BATT_SATA_POLICY=min_power
+LM_AC_SATA_POLICY=max_performance
+NOLM_AC_SATA_POLICY=max_performance

Consider giving Nix/NixOS a try! <3