.. _headlabel-refx-cmd-pms: PMS (Power Management Settings) =============================== The `AT@PMS` command is used to configure the power management of the terminal. .. code-block:: none Example: AT@PMS=gv500cna,,1,0,,,,012F$ +ACK:PMS,123456789012345,8203,3,0,,012F,20210407101530,1234$ AT@PMS?gv500cna,,0C37$ +QRY:PMS,123456789012345,8203,3,0,1,1,,1,0,,,,0C37,20210407101530,1234$ .. tabularcolumns:: |p{2.2em}|p{14.2em}|p{5.8em}|p{12em}|p{4.8em}| .. table:: :width: 100% :widths: auto +-------+-------------------------------------+---------------+-------------------------------------+--------------------+ | Parts | Fields | Length (Byte) | Range/Format | Default | +=======+=====================================+===============+=====================================+====================+ | Head | Header | 3 | AT@ | AT@ | + +-------------------------------------+---------------+-------------------------------------+--------------------+ | | Command Word | 3 | PMS | PMS | + +-------------------------------------+---------------+-------------------------------------+--------------------+ | | Leading Symbol | 1 | = | = | + +-------------------------------------+---------------+-------------------------------------+--------------------+ | | Password | 8-16 | | gv500cna | +-------+-------------------------------------+---------------+-------------------------------------+--------------------+ | Body | Reserved | 0 | | | + +-------------------------------------+---------------+-------------------------------------+--------------------+ | | `Battery Power Mode` | 1 | 0, 1 | 1 | + +-------------------------------------+---------------+-------------------------------------+--------------------+ | | `Battery Charge Mode` | 1 | 0, 1 | 0 | + +-------------------------------------+---------------+-------------------------------------+--------------------+ | | Reserved | 0 | | | + +-------------------------------------+---------------+-------------------------------------+--------------------+ | | Reserved | 0 | | | + +-------------------------------------+---------------+-------------------------------------+--------------------+ | | Reserved | 0 | | | +-------+-------------------------------------+---------------+-------------------------------------+--------------------+ | Tail | Sequence Number | 4 | 0000-FFFF ('0'-'9', 'A'-'F') | | + +-------------------------------------+---------------+-------------------------------------+--------------------+ | | Tail | 1 | $ | $ | +-------+-------------------------------------+---------------+-------------------------------------+--------------------+ - `Battery Power Mode` Specify the power mode of the Internal Battery of the terminal. - **0** - Disable battery power supply. - **1** - Enable battery power supply. - `Battery Charg Mode` Specify the charge mode of the Internal Battery of the terminal. - **0** - Charge as needed. When the main power supply is connected, the battery is charged as needed. - **1** - Charge only when ignition on. When the main power supply is connected, the battery will be charged only when ignition on is detected. The charge process will begin 3 minutes after the ignition is turned on. The charge process is stopped when the ignition is off.