I have been working to optimize the battery life of my Solar powered Electrons. I have noticed the sleep state and time I wake each hour is having an effect on the rate of charging. Here is what I see:
If the Electron is awake and I start charging, it can draw up to the default 500mA of current at 5V.
If the Electron is asleep and I start charging, it will only draw ~90mA of current at 5V
So far so good as this behavior has been covered in other posts. Here where I see two distinct behaviors:
When I wake from SLEEP_MODE_DEEP for very short (100mA) periods to pet the watchdog and go back to sleep, the charging rate stays at ~90mA.
When I wake from regular System.sleep(), I stay awake for 3 seconds and once the Electron goes back to sleep the charging rate is the full 500mA.
Why this matters: My plan if the battery level ever gets critical is to go into SLEEP_MODE_DEEP and let the battery charge enough to enable normal operations (checking each hour). It would be helpful in this case, if I could get the higher charging rate.
Is there a command I should execute when waking from SLEEP_MODE_DEEP to enable the charging rate to increase before going back to sleep?