Use `battery_num` for battery number, fixes #1