Added code for lipo monitor