ESP32 Dev board battery level

I’m using the ESP32 Dev board included in the ESP32 Starter Kit to create a custom gamepad, since I’m using the Bluetooth connection I want to send the battery level to the paired device via command bleGamepad.setBatteryLevel(batteryLevel);

My question is: how can I get the current battery level from the dev board?

Thanks a lot.

Sorry we don’t have done the battery level detection function.