Add Jolla Tablet charger control file to permission service

This commit is contained in:
Matti Viljanen 2022-08-07 23:16:52 +03:00
parent 5d3a6ac041
commit 354ffcb295
No known key found for this signature in database
GPG key ID: CF32A1495158F888
2 changed files with 2 additions and 0 deletions

View file

@ -19,4 +19,5 @@
chmod 644 /sys/class/power_supply/battery/input_suspend 2>/dev/null 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/battery/charging_enabled 2>/dev/null
chmod 644 /sys/class/power_supply/usb/charger_disable 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 exit 0

View file

@ -19,4 +19,5 @@
chmod 666 /sys/class/power_supply/battery/input_suspend 2>/dev/null 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/battery/charging_enabled 2>/dev/null
chmod 666 /sys/class/power_supply/usb/charger_disable 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 exit 0