sxmo-utils/configs/default_hooks/battery_crit
noneofyourbusiness c7e0e3b656 add a configurable daemon that warns on low battery
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-06-21 23:01:48 +02:00

6 lines
221 B
Bash

#!/usr/bin/env sh
# This script is executed when sxmo_batterymonitor detects a battery capacity below the set threshold
# You can use it to shutdown, play a notification sound, send a message, etc
sudo busybox poweroff