long getBatteryLevel()

This function can be used to return the battery level of the device.

Return

The battery level of the device.