diff options
author | lu.zhang <lu.zhang@bitland.corp-partner.google.com> | 2018-11-28 15:29:20 +0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2018-12-06 01:28:35 +0000 |
commit | 04956f5df57e7be40c985c918d00cf2d1394fbcb (patch) | |
tree | 5eee161ca15d9b31ea6a1d035c25fcd39bc58cd8 | |
parent | 0425fc7fe6f5a8f1000444d8d176ecdab46c1f59 (diff) | |
download | chrome-ec-04956f5df57e7be40c985c918d00cf2d1394fbcb.tar.gz |
coral: Enable CONFIG_CHARGER_LIMIT_POWER_THRESH_BAT_PCT and CONFIG_CHARGER_LIMIT_POWER_THRESH_CHG_MW
set the minimum charger power required for powering on to 18W.
BUG=b:119653907
BRANCH=coral
TEST=Let battery to fully discharge until no voltage output anyway to make sure the battery is absolutely 0%.
The OS can power up after plugging adapter, then check SOC is 0% both on EC console with battery command and VT2 with power_supply_info command.
Change-Id: I5c5e5a0955c2ce61412cc8a90bbfaf59698a5b8d
Reviewed-on: https://chromium-review.googlesource.com/c/1351921
Commit-Queue: Lu Zhang <lu.zhang@bitland.corp-partner.google.com>
Tested-by: Lu Zhang <lu.zhang@bitland.corp-partner.google.com>
Reviewed-by: Scott Collyer <scollyer@chromium.org>
Reviewed-by: Marco Chen <marcochen@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
-rw-r--r-- | board/coral/board.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/coral/board.h b/board/coral/board.h index 3706cd4ae8..7657297cfa 100644 --- a/board/coral/board.h +++ b/board/coral/board.h @@ -60,6 +60,8 @@ #define CONFIG_CHARGER_BD9995X_CHGEN #define CONFIG_CHARGER_DISCHARGE_ON_AC #define CONFIG_CHARGER_INPUT_CURRENT 512 +#define CONFIG_CHARGER_LIMIT_POWER_THRESH_BAT_PCT 1 +#define CONFIG_CHARGER_LIMIT_POWER_THRESH_CHG_MW 18000 #define CONFIG_CHARGER_MAINTAIN_VBAT #define CONFIG_CHARGER_MIN_BAT_PCT_FOR_POWER_ON 1 #define CONFIG_USB_CHARGER |