Transmitting the battery status of a battery powered ESP32 board

Hi there,

my ESP32 is running on a connected battery. It’s an Olimex Lipo board.

The gateway is reporting memory usage of the board as far as I’ve seen and I wondered if it is possible to read and send the battery level of the board via Mqtt too?

Thanks,
Florian