diff options
author | Edward Hill <ecgh@chromium.org> | 2018-03-07 16:02:50 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-03-08 11:33:20 -0800 |
commit | 0edf807724d647550cdb6818eb0893d8517fbe8e (patch) | |
tree | 03259da0f83bb6b6d2bd9937f650d10788369cd8 /board | |
parent | 68461a1242c73825a2aa75f7c5e6305feb6e6e48 (diff) | |
download | chrome-ec-0edf807724d647550cdb6818eb0893d8517fbe8e.tar.gz |
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>
Diffstat (limited to 'board')
-rw-r--r-- | board/grunt/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/grunt/board.h b/board/grunt/board.h index 1e6e4da251..8b69a0cf42 100644 --- a/board/grunt/board.h +++ b/board/grunt/board.h @@ -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 |