summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Chen <philipchen@google.com>2019-01-23 11:26:53 -0800
committerchrome-bot <chrome-bot@chromium.org>2019-01-24 00:51:43 -0800
commit788746e4819c0c7d981b2b318446a6c0bb40a0be (patch)
tree4066769bce9e5fc83d6f999fcef1329e9199c322
parent8d8e6eb819e6c883c10ae71fc4662af463d91a1b (diff)
downloadchrome-ec-788746e4819c0c7d981b2b318446a6c0bb40a0be.tar.gz
scarlet: Lower the charging voltage
The battery spec states the maximal charging voltage is 4.42V. Considering +-1% of voltage accuracy from rt9467, we should lower the charging voltage to ensure it never hits 4.42V. BUG=b:118799175 BRANCH=scarlet TEST=make BOARD=scarlet Change-Id: I8a2f01d64ccb0750b1d5e4d4af586faf307d7b9d Signed-off-by: Philip Chen <philipchen@google.com> Reviewed-on: https://chromium-review.googlesource.com/1431552 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/battery.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/scarlet/battery.c b/board/scarlet/battery.c
index 7c407fe6d1..0be4cc93e2 100644
--- a/board/scarlet/battery.c
+++ b/board/scarlet/battery.c
@@ -152,8 +152,8 @@ int charger_profile_override(struct charge_state_data *curr)
int desired_voltage; /* mV */
} temp_zones[BATTERY_COUNT][TEMP_ZONE_COUNT] = {
[BATTERY_SIMPLO] = {
- {0, 150, 1772, 4400}, /* TEMP_ZONE_0 */
- {150, 450, 4000, 4400}, /* TEMP_ZONE_1 */
+ {0, 150, 1772, 4376}, /* TEMP_ZONE_0 */
+ {150, 450, 4000, 4376}, /* TEMP_ZONE_1 */
{450, 600, 4000, 4100}, /* TEMP_ZONE_2 */
},
[BATTERY_AETECH] = {