event-handler.sh: changed battery-check to event-handler to also handle dose events