asahi-battery-threshold
asahi-battery-threshold copied to clipboard
A small daemon for setting a charging threshold on Asahi Linux systems
Results
1
asahi-battery-threshold issues
Sort by
recently updated
recently updated
newest added
As per https://twitter.com/AsahiLinux/status/1638954458821578752 `charge_control_start_threshold` and `charge_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`): ``` KERNEL=="macsmc-battery", SUBSYSTEM=="power_supply", ATTR{charge_control_end_threshold}="80", ATTR{charge_control_start_threshold}="70"...