add bat voltage check