BPL (Internal Battery Power Low Alarm)¶
The AT@BPL command is used to configure the alarm threshold of the Internal Battery of the terminal.
The terminal supports setting two low battery levels: ‘Alarm Percentage 1’ and ‘Alarm Percentage 2’. The value of ‘Alarm Percentage 2’ is required to be lower than ‘Alarm Percentage 1’, that is, ‘Alarm Percentage 2’ is a more serious low battery level. And when the battery is low to ‘Alarm Percentage 1’, it means that the terminal is in a Low Battery state.
Example:
AT@BPL=gl601###,,20,10,,012F$
+ACK:BPL,123456789012345,C031,10,0,,012F,20210407101530,1234$
AT@BPL?gl601###,,0C37$
+QRY:BPL,123456789012345,C031,10,0,1,1,,20,10,,0C37,20210407101530,1234$
Parts |
Fields |
Length (Byte) |
Range/Format |
Default |
|---|---|---|---|---|
Head |
Header |
3 |
AT@ |
AT@ |
Command Word |
3 |
BPL |
BPL |
|
Leading Symbol |
1 |
= |
= |
|
Password |
8-16 |
gl601### |
||
Body |
Reserved |
0 |
||
Alarm Percentage 1 |
<=2 |
5-50 (*1%) |
20 |
|
Alarm Percentage 2 |
<=2 |
0 or 5-20 (*1%) |
10 |
|
Reserved |
0 |
|||
Tail |
Sequence Number |
4 |
0000-FFFF (‘0’-‘9’, ‘A’-‘F’) |
|
Tail |
1 |
$ |
$ |
Alarm Percentage 1
Specify the low battery alarm threshold.
When the percentage of battery remaining is equal or less than this value, the battery is low.
Alarm Percentage 2
Specify the lower battery alarm threshold.
When the percentage of battery remaining is equal or less than this value, the battery is extremely low. The battery needs to be charged or replaced as soon as possible.
In particular, a 0 in this field indicates that this low battery level is not used.