diff options
author | Rong Chang <rongchang@chromium.org> | 2012-08-31 15:54:57 +0800 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-08-31 02:09:22 -0700 |
commit | 1276132c33795f9188b429e73d1402589280b04e (patch) | |
tree | 8349ae67a041e4e310fb283b06eb0e7f6ddd4ace /common/pmu_tps65090_charger.c | |
parent | 60d57a81623b1189231c83cd1b914d77b022f1ad (diff) | |
download | chrome-ec-1276132c33795f9188b429e73d1402589280b04e.tar.gz |
snow: Change charging temperature range
Signed-off-by: Rong Chang <rongchang@chromium.org>
BRANCH=snow
BUG=chrome-os-partner:13491
TEST=manual
Charging can start in temperature range 5C ~ 45C
Charging stops when temperature >= 60C
System can be powered on when temperature < 100C
Change-Id: Ic4d66f7d1877f819892328e298b7442a763ced7a
Reviewed-on: https://gerrit.chromium.org/gerrit/32019
Commit-Ready: Rong Chang <rongchang@chromium.org>
Tested-by: Rong Chang <rongchang@chromium.org>
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Reviewed-by: Yung-Chieh Lo <yjlou@chromium.org>
Diffstat (limited to 'common/pmu_tps65090_charger.c')
-rw-r--r-- | common/pmu_tps65090_charger.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/pmu_tps65090_charger.c b/common/pmu_tps65090_charger.c index f8bb0cd441..e08e7c1bb2 100644 --- a/common/pmu_tps65090_charger.c +++ b/common/pmu_tps65090_charger.c @@ -76,7 +76,7 @@ static int battery_temperature_celsius(int t) static int battery_start_charging_range(int t) { t = battery_temperature_celsius(t); - return (t > 5 && t < 40); + return (t > 5 && t < 45); } static int battery_charging_range(int t) @@ -88,7 +88,7 @@ static int battery_charging_range(int t) static int battery_discharging_range(int t) { t = battery_temperature_celsius(t); - return (t < 70); + return (t < 100); } /* |