finally get battery information in real time