diff options
author | Scott Chao <scott.chao@bitland.corp-partner.google.com> | 2020-07-06 09:18:11 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-07-06 09:17:07 +0000 |
commit | b98b77be5abb67aec1d94222741de8f9ada3c489 (patch) | |
tree | 761a574f1d891e794f1abc983048a4e791024833 /board/kakadu | |
parent | c4cdf1d96fe43cd040f5461358fc076f415f7e1d (diff) | |
download | chrome-ec-b98b77be5abb67aec1d94222741de8f9ada3c489.tar.gz |
kakadu: add board-specific charge behavior
1.If cycle count > 300, set Charge Voltage=4320,
cycle count > 600, set Charge Voltage=4300,
cycle count > 1000, set Charge Voltage=4250
2.If charging over 48 hours and Charge Voltage > 4.25V,
set Charge Voltage = 4.25V
3.If charging over 2 hours,battery voltage over 4.1V and
battery temperature over 45°C, switch to discharge mode and
set Charge Voltage = 4.1V
BUG=b:153272421
BRANCH=kukui
TEST=make -j BOARD=kakadu
TEST=make buildall
Signed-off-by: Scott Chao <scott.chao@bitland.corp-partner.google.com>
Change-Id: I4968308b984f08a58491586a90b0b239eec07328
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2280865
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'board/kakadu')
-rw-r--r-- | board/kakadu/board.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/kakadu/board.h b/board/kakadu/board.h index 8c3e75e308..719ba52b08 100644 --- a/board/kakadu/board.h +++ b/board/kakadu/board.h @@ -26,6 +26,10 @@ #define BATTERY_DESIRED_CHARGING_CURRENT 3500 /* mA */ #define CONFIG_CHARGER_MT6370_BACKLIGHT +#ifdef BOARD_KAKADU +#define CHARGER_LIMIT_TIMEOUT_HOURS 48 +#define CHARGER_LIMIT_TIMEOUT_HOURS_TEMP 2 +#endif /* Motion Sensors */ #ifdef SECTION_IS_RW |