batteryLevel

suspend fun batteryLevel(): Response<Int>

Retrieves the current battery level of the connected device.

Return

A Response containing the battery level as an integer percentage (0-100), or an error when the request fails.