diff --git a/.local/bin/battmon b/.local/bin/battmon index be3568b..94f12d0 100755 --- a/.local/bin/battmon +++ b/.local/bin/battmon @@ -35,6 +35,7 @@ if ! [[ $(_acpib | wc -l) -gt 0 ]]; then fi while true; do + echo "$(date --iso-8601=seconds):$(getLevel)" if eval "$(isDischarging)"; then if eval "$(levelIsCritical)"; then i3-nagbar -t warning -m "$(getLevelMessage) which is below the critical level of $BAT_LEVEL_CRITICAL%. The computer will be suspended in 30 seconds unless charged."