pmaports/device/device-xiaomi-santoni/misc/charging.sh

5 lines
156 B
Bash
Executable file

#!/bin/sh
# We'll vibrate a bit here, then turn the led on.
echo 500 > /sys/class/timed_output/vibrator/enable
echo 100 > /sys/class/leds/white/brightness