@hosky well, you could use the esp32 built in ADC to read pin 4 bat volt, or wire the 5V pin to a voltage divider and then to a GPIO, such as 16 and digitalRead it.