1 files changed,
4 insertions(+),
2 deletions(-)
M
bin/power-monitor.sh
@@ -19,7 +19,9 @@ fi
echo "$bat_path" } -readonly BAT="$(get_battery_path)" +readonly BAT +BAT="$(get_battery_path)" + readonly BAT_STATUS="$BAT/status" readonly BAT_CAP="$BAT/capacity" readonly LOW_BAT_PERCENT=30@@ -40,7 +42,7 @@ log "powerprofilesctl not found"
exit 1 fi -if [[ -n "''${STARTUP_WAIT:-}" ]]; then +if [[ -n "${STARTUP_WAIT:-}" ]]; then sleep "$STARTUP_WAIT" fi