Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ddcb18f0 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy Committed by Matt Wagantall
Browse files

power: qpnp-fg: improve ESR detection during cold battery condition



As per the PMIC systems team recommendation, improve the ESR
detection during cold battery condition to prevent jumps in
detected value. Update the ESR filter values to achieve that.

CRs-Fixed: 812179
Change-Id: Ief214925861a5df69e9cf9f8b4f69f491f59d671
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent e9344c5a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2855,7 +2855,7 @@ static void dump_sram(struct work_struct *work)
#define MAXRSCHANGE_REG		0x434
#define ESR_VALUE_OFFSET	1
#define ESR_STRICT_VALUE	0x4120391F391F3019
#define ESR_DEFAULT_VALUE	0x68005A6661C34A67
#define ESR_DEFAULT_VALUE	0x58CD4A6761C34A67
static void update_esr_value(struct work_struct *work)
{
	union power_supply_propval prop = {0, };