Jump to content

SMS/GPRS command - battery: Difference between revisions

From Teltonika Telematics Wiki
Added note about using readavl 113 for battery level percentage.
mNo edit summary
 
Line 1: Line 1:
[[File:smsgprscommand_battery.png|300px|right|alt=battery]]
[[File:smsgprscommand_battery.png|300px|right|alt=battery]]
{{Template:SMSGPRScommandPage
{{Template:SMSGPRScommandPage
|description=Returns information about battery status. If battery is not present voltage and current will return zero value.<br>''Note! For battery level percentage, use [[SMS/GPRS command - readavl]]: <code>readavl 113</code>''.}}
|description=Returns information about battery status. If battery is not present voltage and current will return zero value.<br>Note! For battery level percentage, use [[SMS/GPRS command - readavl]].}}
===Syntax===
===Syntax===
  battery
  battery

Latest revision as of 15:42, 16 January 2026

SMS/GPRS commands > SMS/GPRS command - battery
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