BatteryStatus
public abstract class BatteryStatus extends Object
Constructors
Name | Description |
---|---|
public BatteryStatus()
|
Methods
chargingState
public abstract ChargingState chargingState()
Returns the charging state.
ReturnValue
Name | Description |
---|---|
ChargingState
|
batteryLevel
public abstract int batteryLevel()
Returns the battery level from 0 to 100.
ReturnValue
Name | Description |
---|---|
int
|
Data class for holding the tags battery status.