harbour-batterybuddy/service/set-write-permissions.sh

6 lines
224 B
Bash
Raw Normal View History

#!/bin/bash
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
exit 0