Revert "add a configurable daemon that warns on low battery"

This reverts commit c7e0e3b656.

Signed-off-by: Anjandev Momi <anjan@momi.ca>
This commit is contained in:
Anjandev Momi 2021-07-15 18:29:35 -04:00
parent 1f563dd873
commit ccc6223c1b
5 changed files with 1 additions and 128 deletions

View file

@ -1,6 +0,0 @@
#!/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
mpv --no-video /usr/share/sxmo/notify.ogg >/dev/null && notify-send \"battery low\" && sxmo_vibratepine 1500 &

View file

@ -1,6 +0,0 @@
#!/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