I know this topic has been discussed multiple time, but I’m searching to a solution for my issue.
While using the following Sleep option, then waking the SOC never seems to update correctly.
config2.mode(SystemSleepMode::ULTRA_LOW_POWER)
.gpio(WKP, RISING)
.network(NETWORK_INTERFACE_CELLULAR,
SystemSleepNetworkFlag::INACTIVE_STANDBY);
System.sleep(config2);
then reading the SOC using:
SOCvoltage =System.batteryCharge();
I using Device OS: 4.0.2.
Is there a solution I can use to read the updated SOC?