I'm running a Python program on an ESP32 (MicroPython firmware) that fetches online data to save it locally every 5 hours, and then goes into deep sleep mode. The board is powered with a 3.7V lipo battery. The whole HTTP request takes at most 10s to get a response.
I'm tracking the battery voltage as well, and I get a 0.1V daily voltage drop, going from a 3.8V output when fully charged to 3.3V when battery is running low (under that level, the board doesn't seem to be able to send HTTP requests anymore).
I also connected a button to one of the GPIOs that I use to wake up the board (via the
I don't understand why the voltage output drops that fast. I thought that in deep sleep mode, an ESP32 drew 10uA to 150uA of current.
Am I missing something? Could it be that the pull-up resistance that I programmatically set for the wake-up button is drawing current even in deep sleep?
Any suggestion to keep power consumption low would be appreciated.