3 posts • Page 1 of 1
I'm working on a project that will require to keep the ESP32 on an idle state for about 5 mins and then start again. As the project will be running with a battery, I decided I would like to use power saving options. When I run the code using light sleep, the accuracy of the sleep time is pretty good, and everything works fine. However, when I tried to use deep sleep, keeping every other configuration the same, the sleep time started to lag for about 10 s. Do any of you know why is this happening?
Light sleep can resume but deep sleep has to boot the whole app again. Are you taking that into account?
I did, I measured the time from sleep start to reboot when I was using deep sleep. Even if I didn't, boot time with the configurations I'm using is about 1 s, and the difference between both sleeps modes is around 10 s, so it wouldn't be justified
Who is online
Users browsing this forum: MSN [Bot] and 43 guests