Improved state handling. Added battery voltage readings