Battery turn off / on

  • How does double pressing the reset button, turn it off?

    Is this software controlled, putting the esp32 to sleep using esp_deep_sleep_start()

    OR, is it additional hardware inside the m5Stack, that cuts battery power when double press is detected?

    And, if it is additional hardware, is turning it off via software possible?


  • Hi,

    It is a built-in function of PMU. One pressing will only reset the ESP32, double pressing will be treated as power off, so the PMU will directly cut-off the MCU's power. We may supply modifying such functions in the future hardware releases.