mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-24 17:53:51 -08:00
feat(callisto): change udev rules for battery limiting
This commit is contained in:
parent
623eda78a2
commit
a958fc976e
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@
|
|||
|
||||
services.udev.extraRules = ''
|
||||
KERNEL=="cpu_dma_latency", GROUP="realtime"
|
||||
KERNEL=="macsmc-battery", SUBSYSTEM=="power_supply", ATTR{charge_control_end_threshold}="90", ATTR{charge_control_start_threshold}="80"
|
||||
KERNEL=="macsmc-battery", SUBSYSTEM=="power_supply", ATTR{charge_control_end_threshold}="90", ATTR{charge_control_start_threshold}="85"
|
||||
'';
|
||||
|
||||
# Allow unfree packages
|
||||
|
|
Loading…
Reference in a new issue