diff --git a/application/service/restore-write-permissions.sh b/application/service/restore-write-permissions.sh index 2be6817..0a5691a 100755 --- a/application/service/restore-write-permissions.sh +++ b/application/service/restore-write-permissions.sh @@ -19,4 +19,5 @@ chmod 644 /sys/class/power_supply/battery/input_suspend 2>/dev/null chmod 644 /sys/class/power_supply/battery/charging_enabled 2>/dev/null chmod 644 /sys/class/power_supply/usb/charger_disable 2>/dev/null +chmod 644 /sys/class/power_supply/dollar_cove_battery/enable_charging 2>/dev/null exit 0 diff --git a/application/service/set-write-permissions.sh b/application/service/set-write-permissions.sh index 008a93e..297d8cb 100755 --- a/application/service/set-write-permissions.sh +++ b/application/service/set-write-permissions.sh @@ -19,4 +19,5 @@ chmod 666 /sys/class/power_supply/battery/input_suspend 2>/dev/null chmod 666 /sys/class/power_supply/battery/charging_enabled 2>/dev/null chmod 666 /sys/class/power_supply/usb/charger_disable 2>/dev/null +chmod 666 /sys/class/power_supply/dollar_cove_battery/enable_charging 2>/dev/null exit 0