Open Enzime opened 1 year ago
It works when I set udev rule. However how can I change these values manually, without restarting? E.g. I've tried "echo 99 > sudo tee /sys/class/power_supply/macsmc-battery/charge_control_end_threshold", but the value stays the same. Changing it as root did not work either.
As per https://twitter.com/AsahiLinux/status/1638954458821578752
charge_control_start_threshold
andcharge_control_end_threshold
are available inside/sys/class/power_supply/macsmc-battery/
To keep the properties set across reboots, you can create a udev rule (e.g.
/etc/udev/rules.d/99-asahi-battery.rules
):