🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Slow battery performance with M5PaperS3

    PROJECTS
    2
    2
    26
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Kampi
      last edited by

      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/Calendar

      Thanks!

      felmueF 1 Reply Last reply Reply Quote 0
      • felmueF
        felmue @Kampi
        last edited by

        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

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        1 Reply Last reply Reply Quote 0
        • First post
          Last post