Fixed bug in low battery voltage detection
Improved low battery handling
Watchdog added