setcharge, discharge, et al: detect first battery BAT0/BAT1.