summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--driver/charger/isl923x.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/driver/charger/isl923x.c b/driver/charger/isl923x.c
index d9a6713a56..b918cec8a4 100644
--- a/driver/charger/isl923x.c
+++ b/driver/charger/isl923x.c
@@ -887,6 +887,14 @@ void raa489000_hibernate(int chgnum, bool disable_adc)
CPRINTS("%s(%d):Failed to set Control8!", __func__,
chgnum);
}
+
+ /* Disable DVC on the main charger to reduce power consumption. */
+ if (chgnum == CHARGER_PRIMARY) {
+ rv = raw_write16(chgnum, RAA489000_REG_CONTROL10, 0);
+ if (rv)
+ CPRINTS("%s(%d):Failed to set Control10!", __func__,
+ chgnum);
+ }
#endif
cflush();