system: Enable battery-care features in TLP.

This commit is contained in:
Raghav Gururajan 2022-10-15 12:21:39 -04:00
parent d4d0806324
commit 6accba298e
Signed by: raghavgururajan
GPG Key ID: 5F5816647F8BE551
1 changed files with 7 additions and 1 deletions

View File

@ -241,7 +241,13 @@
(service thermald-service-type
(thermald-configuration
(ignore-cpuid-check? #t)))
(service tlp-service-type)
(service tlp-service-type
(tlp-configuration
;;; Battery Care
(start-charge-thresh-bat0 75)
(stop-charge-thresh-bat0 80)
(start-charge-thresh-bat1 75)
(stop-charge-thresh-bat1 80)))
(service upower-service-type))
;; Security
(list