mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	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)
				
					
				
			This commit is contained in:
		
				
					committed by
					
						
						Jörg Thalheim
					
				
			
			
				
	
			
			
			
						parent
						
							9e28985b44
						
					
				
				
					commit
					88348cb5c1
				
			@@ -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"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user