Methods Summary |
---|
public abstract int | getBatteryLevel()Returns battery level as a percentage.
|
public abstract boolean | getBatteryLevelLow()Returns whether we currently consider the battery level to be low.
|
public abstract int | getInvalidCharger()Returns a non-zero value if an unsupported charger is attached.
|
public abstract int | getPlugType()Returns the current plug type.
|
public abstract boolean | isPowered(int plugTypeSet)Returns true if the device is plugged into any of the specified plug types.
|