]> cvs.zerfleddert.de Git - m1-debian/commitdiff
add notes from mps irc log
authorThomas Glanzmann <thomas@glanzmann.de>
Sat, 28 May 2022 09:48:02 +0000 (11:48 +0200)
committerThomas Glanzmann <thomas@glanzmann.de>
Sat, 28 May 2022 09:48:02 +0000 (11:48 +0200)
files/quickstart.txt

index 34a61d7b39d952183aebd8f410dcb4968ed8c8b7..28c159c11554806515f312b22e39b37e020537e7 100644 (file)
@@ -256,3 +256,14 @@ sudo parted /dev/nvme0n1 rm <n>
 
 # If you're asked if you want to proceed, say 'y'. If your asked if you want to
 # ignore, say, ignore.
+
+Control Charging
+================
+# Do not charge
+echo inhibit-charge > /sys/class/power_supply/macsmc-battery/charge_behaviour
+
+# Default
+echo auto > /sys/class/power_supply/macsmc-battery/charge_behaviour
+
+# Force discharge
+echo force-discharge > /sys/class/power_supply/macsmc-battery/charge_behaviour
Impressum, Datenschutz