public final class BatteryStatus extends Object
Modifier and Type | Field and Description |
---|---|
static BatteryStatus |
DEFAULT |
Constructor and Description |
---|
BatteryStatus(boolean charging,
float batteryPercent) |
Modifier and Type | Method and Description |
---|---|
float |
getBatteryPercent() |
boolean |
isBatteryLow() |
boolean |
isCharging() |
public static final BatteryStatus DEFAULT
public boolean isCharging()
public float getBatteryPercent()
public boolean isBatteryLow()