diff --git a/scripts/.config/scripts/batteryobserver.sh b/scripts/.config/scripts/batteryobserver.sh index 5230cfd..3d13a9c 100755 --- a/scripts/.config/scripts/batteryobserver.sh +++ b/scripts/.config/scripts/batteryobserver.sh @@ -28,6 +28,12 @@ while true; do fi ;; esac - sleep 2m + if [ $level -gt 50 ]; then + sleep 40m + elif [ $level -gt 30 ]; then + sleep 10m + else + sleep 2m + fi done