From 0ff28fe737233f5b73fc9806437570a0ef679cbb Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Mon, 7 Aug 2017 12:07:54 -0700 Subject: [PATCH] poppy: Remove LIMIT_POWER config options These config options change the behavior of charge_prevent_power_on and ignore the minimum battery percentage for booting. Since we don't have any AP code to actually handle this state, we don't want it to always boot the AP or it might brown out with a battery that is critically low. (Reference: https://chromium-review.googlesource.com/c/582539) BUG=b:64460667 BRANCH=None TEST=manual testing with low battery to ensure it does not attempt to boot the AP. Change-Id: I670a2bf7eba4354ae522d1ea2423c90ff07f5ea6 Signed-off-by: Furquan Shaikh Reviewed-on: https://chromium-review.googlesource.com/605012 Reviewed-by: Nicolas Boichat --- board/poppy/board.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/board/poppy/board.h b/board/poppy/board.h index 5fda50466c..4d2bef1ee8 100644 --- a/board/poppy/board.h +++ b/board/poppy/board.h @@ -85,8 +85,6 @@ #define CONFIG_CHARGER_ISL9238 #define CONFIG_CHARGER_DISCHARGE_ON_AC #define CONFIG_CHARGER_INPUT_CURRENT 512 -#define CONFIG_CHARGER_LIMIT_POWER_THRESH_CHG_MW 15000 -#define CONFIG_CHARGER_LIMIT_POWER_THRESH_BAT_PCT 1 #define CONFIG_CHARGER_MIN_BAT_PCT_FOR_POWER_ON 1 #define CONFIG_CHARGER_NARROW_VDC #define CONFIG_CHARGER_PROFILE_OVERRIDE