summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2017-05-19 13:50:44 -0700
committerSubbaraman Narayanamurthy <subbaram@codeaurora.org>2017-05-22 20:42:09 -0700
commit3d1963e351de96cc19d692427d54652fe44bdaf0 (patch)
treebe28b657f459ccb2ebf4087479c9ea7e3ac9644f /drivers/power
parent5404e35069576a8cd8203065f60975e34a5f727b (diff)
power: qpnp-fg-gen3: update default empty voltage to 2.85 V
Based on the hardware recommendation, update the default empty voltage from 2.8 V to 2.85 V. This is to prevent undervolting in low temperatures (e.g. -20 C) when battery voltage drops below 2.8 V but the battery SOC may not reach 0% as the charger is configured to issue GP_FAULT2 when battery voltage goes below 2.8 V. This helps in shutting down graciously. Change-Id: Ifc68b825541c09d985d890ee7200ff8e0af2ba0f Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/supply/qcom/qpnp-fg-gen3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/qcom/qpnp-fg-gen3.c b/drivers/power/supply/qcom/qpnp-fg-gen3.c
index d0f7a5e1e227..26648595c55c 100644
--- a/drivers/power/supply/qcom/qpnp-fg-gen3.c
+++ b/drivers/power/supply/qcom/qpnp-fg-gen3.c
@@ -3880,7 +3880,7 @@ static int fg_parse_ki_coefficients(struct fg_chip *chip)
}
#define DEFAULT_CUTOFF_VOLT_MV 3200
-#define DEFAULT_EMPTY_VOLT_MV 2800
+#define DEFAULT_EMPTY_VOLT_MV 2850
#define DEFAULT_RECHARGE_VOLT_MV 4250
#define DEFAULT_CHG_TERM_CURR_MA 100
#define DEFAULT_CHG_TERM_BASE_CURR_MA 75