Add a repeat count parameter to the battery command
Add a repeat count parameter to the battery command

This allows us to repeatedly read the battery for testing.

BUG=chrome-os-partner:10888
TEST=manual:
build for all boards
boot on snow (cannot test i2c as it is

Change-Id: I0ed99d59355e1f228486070dcf37863563b16023
Reviewed-on: https://gerrit.chromium.org/gerrit/26290
Reviewed-by: Simon Glass <c00b0378376498bd9cd974c388df8854c0131d27@chromium.org>
Tested-by: Simon Glass <c00b0378376498bd9cd974c388df8854c0131d27@chromium.org>
Commit-Ready: Simon Glass <c00b0378376498bd9cd974c388df8854c0131d27@chromium.org>

fourier49/BZ_DEV_EC,thehobn/ec,eatbyte/chromium-ec,md5555/ec,coreboot/chrome-ec,thehobn/ec,eatbyte/chromium-ec,mtk09422/chromiumos-platform-ec,gelraen/cros-ec,fourier49/BIZ_EC,fourier49/BZ_DEV_EC,alterapraxisptyltd/chromium-ec,gelraen/cros-ec,mtk09422/chromiumos-platform-ec,akappy7/ChromeOS_EC_LED_Diagnostics,eatbyte/chromium-ec,longsleep/ec,coreboot/chrome-ec,longsleep/ec,fourier49/BIZ_EC,mtk09422/chromiumos-platform-ec,coreboot/chrome-ec,fourier49/BZ_DEV_EC,fourier49/BZ_DEV_EC,coreboot/chrome-ec,coreboot/chrome-ec,longsleep/ec,akappy7/ChromeOS_EC_LED_Diagnostics,akappy7/ChromeOS_EC_LED_Diagnostics,thehobn/ec,longsleep/ec,gelraen/cros-ec,mtk09422/chromiumos-platform-ec,alterapraxisptyltd/chromium-ec,md5555/ec,alterapraxisptyltd/chromium-ec,gelraen/cros-ec,thehobn/ec,eatbyte/chromium-ec,fourier49/BIZ_EC,akappy7/ChromeOS_EC_LED_Diagnostics,md5555/ec,akappy7/ChromeOS_EC_LED_Diagnostics,coreboot/chrome-ec,md5555/ec,alterapraxisptyltd/chromium-ec,fourier49/BIZ_EC