diff options
author | Philip Chen <philipchen@google.com> | 2018-05-17 19:55:35 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-05-21 18:19:23 -0700 |
commit | 1de987735a42438c5fc82f0616b5af5645fd9fe5 (patch) | |
tree | 29f542ec5290c1f764b16f8d16f99ef6c89fc105 | |
parent | 453647e21a9e584cd0ee8567efef3d81371ae27f (diff) | |
download | chrome-ec-1de987735a42438c5fc82f0616b5af5645fd9fe5.tar.gz |
scarlet: Enable AP throttling for battery under-voltage
BUG=b:73050145
BRANCH=scarlet
TEST=manually test on scarlet together with CL:1064983
Change-Id: Ic5bcc0e4432b2f8ac03fcfa872388ff07d240a7b
Signed-off-by: Philip Chen <philipchen@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1064985
Commit-Ready: Philip Chen <philipchen@chromium.org>
Tested-by: Philip Chen <philipchen@chromium.org>
Reviewed-by: David Schneider <dnschneid@chromium.org>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
-rw-r--r-- | board/scarlet/board.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/scarlet/board.h b/board/scarlet/board.h index f61ae05d56..db4330d521 100644 --- a/board/scarlet/board.h +++ b/board/scarlet/board.h @@ -132,6 +132,9 @@ #define CONFIG_THROTTLE_AP_ON_BAT_DISCHG_CURRENT #define BAT_MAX_DISCHG_CURRENT 5000 /* mA */ +#define CONFIG_THROTTLE_AP_ON_BAT_VOLTAGE +#define BAT_LOW_VOLTAGE_THRESH 3200 /* mV */ + #define PD_OPERATING_POWER_MW 15000 #define PD_MAX_POWER_MW ((PD_MAX_VOLTAGE_MV * PD_MAX_CURRENT_MA) / 1000) #define PD_MAX_CURRENT_MA 3000 |