From 1bc6436fce086c992805ca2fa366bf31a5d24b77 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Sun, 23 Jul 2017 00:28:09 -0700 Subject: eve: Remove CONFIG_BATTERY_REVIVE_DISCONNECT Since Eve has a custom battery presence function we do not need the disconnect behavior as it will recover better by letting the state machine handle it with precharge directly. Without this change I would sometimes see the first boot after a cut-off battery get stuck with "battery found in disconnect state" and not able to boot up the AP. BUG=b:63957122 BRANCH=eve TEST=manual testing on Eve with cut-off batteries shows more consistent behavior to boot the AP after plugging in adapter. Change-Id: I2d115788c1f9f6171a01525970285abb9f3467a2 Signed-off-by: Duncan Laurie Reviewed-on: https://chromium-review.googlesource.com/582538 Reviewed-by: Scott Collyer Reviewed-by: Furquan Shaikh Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2319998 Tested-by: Patryk Duda Reviewed-by: Jett Rink Commit-Queue: Patryk Duda --- board/eve/board.h | 1 - 1 file changed, 1 deletion(-) (limited to 'board/eve/board.h') diff --git a/board/eve/board.h b/board/eve/board.h index 2274fa0d5d..7365286b23 100644 --- a/board/eve/board.h +++ b/board/eve/board.h @@ -76,7 +76,6 @@ #define CONFIG_BATTERY_CUT_OFF #define CONFIG_BATTERY_DEVICE_CHEMISTRY "LION" #define CONFIG_BATTERY_PRESENT_CUSTOM -#define CONFIG_BATTERY_REVIVE_DISCONNECT #define CONFIG_BATTERY_SMART /* Charger */ -- cgit v1.2.1