public class BatteryLevel
extends java.lang.Object
Constructor and Description |
---|
BatteryLevel(BatteryLevel batteryLevel) |
BatteryLevel(byte[] data) |
Modifier and Type | Method and Description |
---|---|
int |
getAD()
Get the AD value of battery voltage.
|
int |
getMilliVolt()
Get the voltage value of battery.
|
int |
getPercentage()
Get the percentage of battery.
|
public BatteryLevel(BatteryLevel batteryLevel)
public BatteryLevel(byte[] data)
public int getAD()
public int getMilliVolt()
public int getPercentage()