lifebook: fix and create complete tuned profile

This commit is contained in:
2026-07-10 22:48:31 +02:00
parent 567ec14e81
commit ad4f57c10d
+25 -8
View File
@@ -115,6 +115,9 @@
tuned = {
enable = true;
ppdSettings.battery = {
balanced = "balanced-battery_powertop";
};
profiles = {
balanced_powertop = {
main = {
@@ -136,14 +139,28 @@
include = "balanced-battery";
};
sysfs = {
"/sys/class/net/wlan0/device/power/wakeup" = "disabled";
"/sys/bus/usb/devices/usb3/power/wakeup" = "disabled";
"/sys/bus/usb/devices/usb1/power/wakeup" = "disabled";
"/sys/bus/usb/devices/3-9/power/wakeup" = "disabled";
"/sys/bus/usb/devices/usb4/power/wakeup" = "disabled";
"/sys/bus/usb/devices/3-10/power/wakeup" = "disabled";
"/sys/bus/usb/devices/usb2/power/wakeup" = "disabled";
"/sys/bus/usb/devices/3-5/power/wakeup" = "disabled";
"/sys/bus/pci/devices/0000:00:00.0/power/control" = "auto";
"/sys/bus/pci/devices/0000:00:04.0/power/control" = "auto";
"/sys/bus/pci/devices/0000:00:08.0/power/control" = "auto";
"/sys/bus/pci/devices/0000:00:12.0/power/control" = "auto";
"/sys/bus/pci/devices/0000:00:14.2/power/control" = "auto";
"/sys/bus/pci/devices/0000:00:14.3/power/control" = "auto";
"/sys/bus/pci/devices/0000:00:16.3/power/control" = "auto";
"/sys/bus/pci/devices/0000:00:1f.0/power/control" = "auto";
"/sys/bus/pci/devices/0000:00:1f.5/power/control" = "auto";
"/sys/bus/pci/devices/0000:00:1f.6/power/control" = "auto";
"/sys/bus/pci/devices/0000:55:00.0/power/control" = "auto";
"/sys/bus/usb/devices/3-10/power/wakeup" = "enabled";
"/sys/bus/usb/devices/3-3/power/control" = "auto";
"/sys/bus/usb/devices/3-5/power/control" = "auto";
"/sys/bus/usb/devices/3-5/power/wakeup" = "enabled";
"/sys/bus/usb/devices/3-9/power/wakeup" = "enabled";
"/sys/bus/usb/devices/usb1/power/wakeup" = "enabled";
"/sys/bus/usb/devices/usb2/power/wakeup" = "enabled";
"/sys/bus/usb/devices/usb3/power/wakeup" = "enabled";
"/sys/bus/usb/devices/usb4/power/wakeup" = "enabled";
"/sys/class/net/wlan0/device/power/wakeup" = "enabled";
"/sys/module/snd_hda_intel/parameters/power_save" = "1";
};
};
};