added battery watchdog