I have configured my application to spend most of its time in sleep mode. This is to conserve air time and battery life. Ironically, what I observe is a continuously decreasing state of charge on my LiPo battery. I assume that this is because the battery only charges when the Electron is “awake”.
I have the Asset Tracker shield connected, with external 12VDC provided to it.
My Electron is also connected to an external 5V supply via USB port.
My code wakes up for about 2 minutes roughly every 20 minutes. My LiPo SoC decreased from 96% to 83% in the space of 3 hours.
My sleep mode statement is:
System.sleep(WKP, FALLING, TIME_PUBLISH_BATTERY_SEC, SLEEP_NETWORK_STANDBY);
Clearly I must be doing something wrong. Can anybody advise me on best practice for extending battery life, keeping the LiPo charged, while also minimizing air time and energy consumed? Does the LiPo battery charge during sleep? Should I use a different sleep mode?