diff options
author | Duncan Laurie <dlaurie@google.com> | 2017-07-23 00:31:51 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-08-29 22:41:00 +0000 |
commit | 40f52e3f26f30096363e96f4353285d01c75e2b4 (patch) | |
tree | 4bc42572b2253a936d454d99631b90636320d225 | |
parent | 024fe253dd2a6934d8759f1b93351b5c459138dc (diff) | |
download | chrome-ec-40f52e3f26f30096363e96f4353285d01c75e2b4.tar.gz |
eve: Set minimum battery percentage for booting to 2%
With a battery that has 1% charge there may not be enough
to boot the AP, resulting in a brown-out. Raise this to
2% to get more consistent behavior to let the battery charge
before booting.
BUG=b:63957122
BRANCH=eve
TEST=manual testing with depleted batteries to ensure that the
AP does not boot until it has 2% charge
Change-Id: I7e64925c480993d37754cd51a1dd24fcdc7ba2ec
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://chromium-review.googlesource.com/582540
Reviewed-by: Scott Collyer <scollyer@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2320000
Tested-by: Patryk Duda <pdk@semihalf.com>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Commit-Queue: Patryk Duda <pdk@semihalf.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2383891
Reviewed-by: Edward Hill <ecgh@chromium.org>
Commit-Queue: Edward Hill <ecgh@chromium.org>
Tested-by: Edward Hill <ecgh@chromium.org>
-rw-r--r-- | board/eve/board.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/eve/board.h b/board/eve/board.h index 56004fdc0e..9ec580773e 100644 --- a/board/eve/board.h +++ b/board/eve/board.h @@ -88,7 +88,7 @@ #define CONFIG_CHARGER_DISCHARGE_ON_AC #define CONFIG_CHARGER_INPUT_CURRENT 512 #define CONFIG_CHARGER_MAINTAIN_VBAT -#define CONFIG_CHARGER_MIN_BAT_PCT_FOR_POWER_ON 1 +#define CONFIG_CHARGER_MIN_BAT_PCT_FOR_POWER_ON 2 #define CONFIG_CHARGER_PROFILE_OVERRIDE #define CONFIG_CHARGER_PSYS_READ #define CONFIG_CHARGER_SENSE_RESISTOR 10 |