Slow battery performance with M5PaperS3
-
Hi,
I bought a M5PaperS3 to built a mobile WebDAV based calendar but I ran into some battery issues which I can´t explain. The device run for ~4 days before it becomes empty. I think either the MCU or another component doesn´t go to sleep.
It´s a minimal project that uses LVGL and FastEPD for the display.
What have I tested?
- I´ve checked the datasheet of the IMU to be sure it is in power down mode by default because I don´t use it yet (suspend mode after PoR)
- Disable WiFi, GPIO, etc. in ESP firmware
- Disable the eInk Display (added epaper.einkPower(false) to the ESP firmware)
Has someone done something similar and run into the same issues or can me help figuring out whats wrong here?
You can find the code here:
https://github.com/Kampi/CalendarThanks!
-
Hello @Kampi
well, quickly looking though your code I see you are using ESP32 deep sleep. In ESP32 deep sleep the system consumes about 5 - 6 mA according to measurements I did a while ago. See here. And official values from M5Stack here.
With the 1800 mAh battery that gives you a theoretical run time of about 10 days. But since your system isn't in ESP32 deep sleep all the time and the battery cannot be completely emptied before the voltage is too low, 4 days sound about right.
If you want substantially longer runtime per battery charge you need to power off M5PaperS3 instead of using ESP32 deep sleep. Doing that brings the current down to a couple of uAs instead of mAs.
M5.Power.timerSleep(x)is used to shutdown M5PaperS3. See example here.Thanks
Felix