[RAMEN9610-12309][9610] drivers: fuelgauge: change Low voltage W/A threshold
authorKeunho Hwang <keunho.hwang@samsung.com>
Tue, 19 Feb 2019 07:37:09 +0000 (16:37 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:17 +0000 (20:23 +0300)
Change Low voltage W/A threshold voltage 3.45V to 3.4V

Change-Id: Ib139e80f32a61e38c1ce4370e28876d3e382964c
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
drivers/power/supply/s2mu106_fuelgauge.c

index ee029294d7cdbb62df563945e28d39402a32fa19..08faa03b079ea5a1fa9617ca578255107f978136 100644 (file)
@@ -1022,7 +1022,7 @@ batcap_learn_init:
 #endif
 
        /* Low voltage W/A, make 0% */
-       if ((avg_vbat < 3450) && (avg_current < -50) && (fuelgauge->rsoc > 100)) {
+       if ((avg_vbat < 3400) && (avg_current < -50) && (fuelgauge->rsoc > 100)) {
                if (fuelgauge->temperature > fuelgauge->low_temp_limit) {
                        dev_info(&fuelgauge->i2c->dev, "%s: Low voltage WA. Make rawsoc 0\n", __func__);