Our Electrons sleep most of the time with the modem still active. They wake up for approx 5 seconds to do some house keeping then go back to sleep for about 10 minutes. What we’ve noticed during this cycle is that the reported battery voltage level doesn’t change. Resetting the Electron results in the fuel gauge reporting a much lower voltage than before the reset.
I have tried the following calls after the CPU has woken up.
None of the calls result in a correct reading from the fuel gauge. The fuel gauge reports VCell value of 5 after a reset. I never see this default value when running the commands above.
Is there a way to completely reset the fuel gauge without resetting the Electron?
OK, I’ll have to do some experimenting then. It’s not a known problem but something like that could happen if the I2C interface is not reinitialized properly after stop mode sleep.