do not need reinit the tesseract if not clear
fix the memory leak error
fix the getscreenimage when enter background error calculate the time interval when battery value change