getLatestBatteryPercentage abstract method

int getLatestBatteryPercentage(
  1. String deviceId
)

Gets the latest battery percentage for the given deviceId.

Returns the latest battery percentage, or a default value if not available.

Implementation

int getLatestBatteryPercentage(String deviceId);