Incorrect SOC from npm1300

Hi,

I am getting randomly incorrect SOC reported by pmic npm1300. For most days, it reports correct SOC but then all of a sudden it starts to report incorrect SOC even though rest of the data seems correct to me. Any idea what causes this? I am pasting both dts file and log data. 

[00:01:41.980,346] <inf> power_mng: raw SOC: 0 %

[00:01:42.027,099] <inf> power_mng: avg_current: -0.021000

[00:01:42.051,574] <inf> power_mng: time to empty: : nan seconds

[00:01:42.076,110] <inf> power_mng: time to full: 36.23 seconds

[00:01:42.100,585] <inf> power_mng: Battery voltage: 4218 mV

[00:01:42.124,908] <inf> power_mng: Battery temperature: 24.79 °C

[00:01:42.149,597] <inf> power_manager: Battery delta: 0.93

[00:01:42.173,767] <inf> power_mng: Battery status: BatteryDetected, ConstantVoltage

[00:01:42.199,859] <inf> power_mng: Battery error: 0

[00:01:42.223,266] <inf> power_mng: Battery CC charging: No

[00:01:42.247,222] <inf> power_mng: Battery is charging: Yes

[00:01:42.271,240] <inf> power_mng: Battery is PMIC data valid: Yes

npm1300_pmic: pmic@6b {
compatible = "nordic,npm1300";
reg = <0x6b>;
status = "okay";
host-int-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
pmic-int-pin = <1>;

npm1300_gpio: gpio-controller {
compatible = "nordic,npm1300-gpio";
status = "okay";
gpio-controller;
#gpio-cells = <2>;
ngpios = <5>;
};

npm1300_regulators: regulators {
compatible = "nordic,npm1300-regulator";
status = "okay";
npm1300_buck1: BUCK1 {
regulator-min-microvolt = <0>; /* Min voltage in microvolts */
regulator-max-microvolt = <3300000>; /* Max voltage in microvolts */
};

npm1300_buck2: BUCK2 {
regulator-min-microvolt = <0>;
regulator-max-microvolt = <3300000>;
regulator-init-microvolt = <2000000>;
regulator-boot-on;
};

npm1300_ldo1: LDO1 {
};

npm1300_ldo2: LDO2 {
};
};

npm1300_charger: charger {
compatible = "nordic,npm1300-charger";
term-microvolt = <4200000>;
current-microamp = <150000>;
dischg-limit-microamp = <1000000>;
vbus-limit-microamp = <500000>;
thermistor-ohms = <10000>;
thermistor-beta = <3380>;
charging-enable;
vbatlow-charge-enable;
};

};
Related