From 3d1963e351de96cc19d692427d54652fe44bdaf0 Mon Sep 17 00:00:00 2001 From: Subbaraman Narayanamurthy Date: Fri, 19 May 2017 13:50:44 -0700 Subject: [PATCH] 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 --- drivers/power/supply/qcom/qpnp-fg-gen3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0