Added the function headers, plus split out def of BatteryInfo