How to judge the battery voltage