summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2015-09-22 14:16:09 -0700
committerchrome-bot <chrome-bot@chromium.org>2015-09-24 19:36:20 -0700
commitbd34af5d78fc7e674af7fef9f1c6e2388e1295bc (patch)
treee44d99898d6c962dc70fcced3fb8bb19e0bf7026
parent854d5a6e7fa47e44797891e6fad392a344003b46 (diff)
downloadchrome-ec-bd34af5d78fc7e674af7fef9f1c6e2388e1295bc.tar.gz
ryu: change charging temperature limits
Do not charge below 5 C or above 50 C. Still charge at 0.1C between 5 C and 10 C. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=smaug BUG=chrome-os-partner:45631 TEST=none Change-Id: I6788088054ef4a5eb176eb2185b5e1c576128e09 Reviewed-on: https://chromium-review.googlesource.com/302232 Commit-Ready: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Alec Berg <alecaberg@chromium.org>
-rw-r--r--driver/battery/ryu.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/driver/battery/ryu.c b/driver/battery/ryu.c
index cc945f9605..c109bfb5c1 100644
--- a/driver/battery/ryu.c
+++ b/driver/battery/ryu.c
@@ -21,10 +21,10 @@ static const struct battery_info info = {
/* Pre-charge current: I <= 0.01C */
.precharge_current = 64, /* mA */
/* Operational temperature range */
- .start_charging_min_c = 0,
- .start_charging_max_c = 60,
- .charging_min_c = 0,
- .charging_max_c = 60,
+ .start_charging_min_c = 5,
+ .start_charging_max_c = 50,
+ .charging_min_c = 5,
+ .charging_max_c = 50,
.discharging_min_c = -20,
.discharging_max_c = 60,
};
@@ -130,7 +130,7 @@ int charger_profile_override(struct charge_state_data *curr)
/*
* Okay, impose our custom will:
- * When battery is 0-10C:
+ * When battery is 5-10C:
* CC at 900mA @ 4.35V
* CV at 4.35V until current drops to 450mA
*