Open waged opened 3 years ago
What dev board are you using. I have found that some dev boards have some strange management around how they manage the battery and actually reset the chip when you plug it in-out.
I'm using the ESP32-WROVER KIT, the behavior is super annoying as the i wakeup with both timer and a user reset sw on interrupt, if battery died during sleeping mode, the ESP32 cannot wake up until controller reset button pressed and it's not applicable for my use case.
Yeah that is annoying but, I think its board related. Have you asked anyone on https://esp32.com/ There might be a solution there
Have done the last example of hibernation in the sleep modes and found interesting behavior. 1-ESP32 works without power in hibernation for 30 seconds. 2-during the 30 seconds if i connect the power again it wakes-up and perform normal. 3-if i connect the power after the 30 seconds have passed, i find that board cannot wake-up or even restart. it only works again if i force reset it with the board RST button. (any solution to let the board work properly from hibernation?)