Added watchdog state machine to handle low voltage check