mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-15 00:56:22 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user