mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	Change TLP charge thresholds
This commit is contained in:
		@@ -16,4 +16,10 @@
 | 
			
		||||
  services.xserver.deviceSection = lib.mkDefault ''
 | 
			
		||||
    Option "TearFree" "true"
 | 
			
		||||
  '';
 | 
			
		||||
 | 
			
		||||
  services.tlp.extraConfig = lib.mkDefault ''
 | 
			
		||||
    START_CHARGE_THRESH_BAT0=67
 | 
			
		||||
    STOP_CHARGE_THRESH_BAT0=100
 | 
			
		||||
  '';
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user