scripts: (battery) reimplement multiple battery support

Added an optional arg for battery number (1 -> BAT1), defaults to 0.