SMS/GPRS command - battery
Appearance
Revision as of 15:42, 16 January 2026 by Donatas.Mazonas (talk | contribs)
SMS/GPRS commands > SMS/GPRS command - battery

Description
Returns information about battery status. If battery is not present voltage and current will return zero value.
Note! For battery level percentage, use SMS/GPRS command - readavl.
Syntax
battery
Arguments
This command has no arguments.
Examples
| REQUEST | OUTCOME | RESPONSE |
|---|---|---|
| battery | Success | BatState: n/a FSMState: active ChargerIC: OFF ExtV: 11796 BatV:3942 BatI: 0 |
| battery | Fail | No response |
Response Explanation
| RESPONSE ELEMENT | DESCRIPTION | EXAMPLE |
|---|---|---|
| BatState: | Battery State: n/a (not implemented yet) |
BatState: n/a |
| ChargingState: | Charging State: - active - standby - n/a - error |
ChargingState: active |
| ChargerIC: | Charger State: - ON - OFF - Failure |
ChargerIC: ON |
| ExtV: | External Voltage (mV) | ExtV: 11796 |
| BatV: | Battery Voltage (mV) | BatV: 3942 |
| BatI: | Battery Charge Current (mA) | BatI: 100 |