From 88348cb5c1e6bdad2f9879663dd9c12ef281a3be Mon Sep 17 00:00:00 2001 From: "[object Object]" Date: Sun, 10 Sep 2023 11:39:16 -0700 Subject: [PATCH] framework laptop 11th gen: change `mem_sleep_default=deep` kernel parameter to `acpi_osi="!Windows 2020"` (fixes a regression in s2idle, making it more power efficient than deep sleep) --- framework/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/framework/default.nix b/framework/default.nix index bbb38e5..cb8cb95 100644 --- a/framework/default.nix +++ b/framework/default.nix @@ -6,9 +6,8 @@ ]; boot.kernelParams = [ - # For Power consumption - # https://kvark.github.io/linux/framework/2021/10/17/framework-nixos.html - "mem_sleep_default=deep" + # Fixes a regression in s2idle, making it more power efficient than deep sleep + "acpi_osi=\"!Windows 2020\"" # For Power consumption # https://community.frame.work/t/linux-battery-life-tuning/6665/156 "nvme.noacpi=1"