battery measure is ok,need learn more to understand the code