Information returned by getBatteryInfo.
Public Attributes | |
boolean | canScan |
true if battery is capable of scanning | |
boolean | externalPowerIsConnected |
true if external power is connected | |
boolean | isCharging |
true if battery is charging | |
boolean | temperatureAtOrAboveThreshold |
true if temperature is at or above the threshold for scanning | |
boolean | temperatureWithin5DegreesOfThreshold |
true if temperature is within 5 degrees C of the threshold for scanning | |
boolean | temperatureWithin10DegreesOfThreshold |
true if temperature is within 10 degrees C of the threshold for scanning | |
boolean | temperatureWithin20DegreesOfThreshold |
true if temperature is within 20 degrees C of the threshold for scanning | |
int | minutesRemaining |
Minutes of scanning remaining. | |
int | percentRemaining |
Percent of scanning time remaining. | |
double | voltage |
Battery voltage. | |