feat(callisto): change udev rules for battery limiting

This commit is contained in:
Youwen Wu 2024-09-17 22:24:46 -07:00
parent 623eda78a2
commit a958fc976e
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -115,7 +115,7 @@
services.udev.extraRules = '' services.udev.extraRules = ''
KERNEL=="cpu_dma_latency", GROUP="realtime" 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 # Allow unfree packages