Epson BT-2000 Developers Guide - Page 162

Power control summary - battery

Page 162 highlights

9.1. Power control summary You can install two batteries in the BT-2000 and acquire power supply information. ■ Power supply information The following power supply information types are defined in the Android BatteryManager class. Power supply type Power status Overall status of batteries A/B Battery Constant information type int EXTRA_STATUS Amount of power remaining AC adapter connection Battery A status Battery A installed Amount of power remaining in battery A Battery A current Battery A voltage Battery A temperature Battery B status Battery B installed Amount of power remaining in battery B Battery B current Battery B voltage Battery B temperature Amount of power remaining int in batteries A/B [%] Info. on AC adapter int connected/disconnected Status String Battery installed boolean Power remaining [%] int Current [mA] Voltage [mV] Temperature [deg C] Status Battery installed Power remaining [%] int int int String boolean int Current [mA] int Voltage [mV] int Temperature [deg C] int EXTRA_LEVEL EXTRA_PLUGGED EXTRA_STATUS_A EXTRA_PRESENT_A EXTRA_LEVEL_A EXTRA_CURRENT_A EXTRA_VOLTAGE_A EXTRA_TEMPERATURE_A EXTRA_STATUS_B EXTRA_PRESENT_B EXTRA_LEVEL_B EXTRA_CURRENT_B EXTRA_VOLTAGE_B EXTRA_TEMPERATURE_B MOVERIO Pro Developer's Guide (Rev.1.0) 158

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168

MOVERIO Pro Developer's Guide (Rev.1.0)
158
9.1.
Power control summary
You can install two batteries in the BT-2000 and acquire power supply information.
■ Power supply information
The following power supply information types are defined in the Android BatteryManager class.
Power supply type
Battery
information
type
Constant
Power status
Overall status of batteries
A/B
int
EXTRA_STATUS
Amount of power
remaining
Amount of power remaining
in batteries A/B [%]
int
EXTRA_LEVEL
AC adapter connection
Info. on AC adapter
connected/disconnected
int
EXTRA_PLUGGED
Battery A status
Status
String
EXTRA_STATUS_A
Battery A installed
Battery installed
boolean
EXTRA_PRESENT_A
Amount of power
remaining in battery A
Power remaining [%]
int
EXTRA_LEVEL_A
Battery A current
Current [mA]
int
EXTRA_CURRENT_A
Battery A voltage
Voltage [mV]
int
EXTRA_VOLTAGE_A
Battery A temperature
Temperature [deg C]
int
EXTRA_TEMPERATURE_A
Battery B status
Status
String
EXTRA_STATUS_B
Battery B installed
Battery installed
boolean
EXTRA_PRESENT_B
Amount of power
remaining in battery B
Power remaining [%]
int
EXTRA_LEVEL_B
Battery B current
Current [mA]
int
EXTRA_CURRENT_B
Battery B voltage
Voltage [mV]
int
EXTRA_VOLTAGE_B
Battery B temperature
Temperature [deg C]
int
EXTRA_TEMPERATURE_B