mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			d232c6f9cc
			...
			156fbb62a9
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					156fbb62a9 | ||
| 
						 | 
					c52ea60901 | 
@@ -31,10 +31,14 @@ in
 | 
			
		||||
      wantedBy = [
 | 
			
		||||
        "local-fs.target"
 | 
			
		||||
        "suspend.target"
 | 
			
		||||
        "suspend-then-hibernate.target"
 | 
			
		||||
        "hibernate.target"
 | 
			
		||||
      ];
 | 
			
		||||
      after = [
 | 
			
		||||
        "local-fs.target"
 | 
			
		||||
        "suspend.target"
 | 
			
		||||
        "suspend-then-hibernate.target"
 | 
			
		||||
        "hibernate.target"
 | 
			
		||||
      ];
 | 
			
		||||
      description = "Set the battery charge threshold to ${toString cfg.chargeUpto}%";
 | 
			
		||||
      startLimitBurst = 5;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user