A contribution to reduce the battery consumption of the esp32 modules, you can select the clock frequency to "80Mhz(wifi)" option in the Arduino tools menu when compiling, this will reduce the screen refresh rate and the speed of response but insignificant for the purpose of this sketch and your...