battery_nag, add comments.

This commit is contained in:
me
2026-08-19 18:34:41 -07:00
parent 4d1c461fcf
commit bb9ac37d9c
+7
View File
@@ -2,6 +2,8 @@
# 20260819 - Hyperling
# Alert the user every so often once the battery is low.
## Setup ##
echo "`date` - Checking Active Programs"
PID="$$"
@@ -21,6 +23,8 @@ which battery.function || {
}
source battery.function
## Params ##
echo "`date` - Parsing Parameters"
typeset -i alert sleep
@@ -41,6 +45,7 @@ if [[ -n "$2" ]]; then
echo "to '$sleep'"
fi
# Default to true.
accelerate="Y"
if [[ -n "$3" ]]; then
echo -n "accelerate changed from '$accelerate' "
@@ -57,6 +62,8 @@ else
fi
echo " (accelerate == $accelerate)"
## Main ##
echo "`date` - Starting Loop"
while true; do