Open TheColorman opened 7 months ago
For now I've gone with a superuser cronjob that runs on reboot:
@reboot echo "40 80" > /sys/devices/platform/huawei-wmi/charge_control_thresholds
it does the job, but it stays charged at 80%. I would have expected it to cycle between 40% and 80%.
I am setting the battery protection levels using the
/sys/devices/platform/huawei-wmi/charge_control_thresholds
, but after a reboot they go back to0 100
. Is there a way of making it persistent that doesn't involve making a script that runs on boot?