Battery type judgment criteria