grunt: Enable discharge on AC

Add support for setting the battery to discharge even if AC is
present. Used for factory testing.

BRANCH=none
BUG=b:74096137
TEST=ectool chargecontrol discharge, ectool battery

Change-Id: I79e6bfabcfc0327e5c12c789decc27591911a6ee
Signed-off-by: Edward Hill <ecgh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/954283
Reviewed-by: Cheng-Han Yang <chenghan@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
This commit is contained in:
Edward Hill
2018-03-07 16:02:50 -07:00
committed by chrome-bot
parent 68461a1242
commit 0edf807724

View File

@@ -52,6 +52,7 @@
#define CONFIG_CHARGER
#define CONFIG_CHARGER_V2
#define CONFIG_CHARGE_MANAGER
#define CONFIG_CHARGER_DISCHARGE_ON_AC
#define CONFIG_CHARGER_INPUT_CURRENT 128
#define CONFIG_CHARGER_ISL9238
#define CONFIG_CHARGER_MIN_BAT_PCT_FOR_POWER_ON 1