Battery configuration

Address : 02C5 (bank 2, register C5)

Size : 3 bytes

Default : 000203

Description

When the product has a battery, this register controls the behaviour of the power button and the power-saving policy.

Remark

This register is ignored if the product does not have a battery.

Content

Byte 0 : behaviour

Misc. parameters to control the behaviour

Bit    Role Values
7-6 RFU
5 Allow 1A charge mode (JCH test) 0 : The device can not use 1A mode.
1 : The device can use 1A mode.
4 Force High charge mode 0 : The device detects and selects LOW or HIGH charge mode.
1 : The device forces HIGH charge mode.
3 Experimental 0 : The device can't sleep when connected to a charger.
1 : The device can sleep when connected to a charger.
2 Wake up provided by the BLE chip 0 : The device can't be wake up by the BLE chip.
1 : The device can be wake up by the BLE chip.
1 behaviour when power loss 0 : The device stops immediately when the external power supply is unplugged
1 : The power button must be pressed to stop the device
0 behaviour when power arrives 0 : The device starts immediately when an external power supply is plugged
1 : The power button must be pressed to start the device

Byte 1 : Power saving delay, unconnected

Number of minutes before shutting down, when the device is running on battery and is not connected to a remote host.

Remark : Default is 3 minutes.

Byte 2 : Power saving delay, connected but idle

Number of minutes before shutting down, when the device is running on battery and is connected to a remote host, but the remote host does not send any command to the device.

Remark : Disabled by default (the device remains powered as long as the remote host is connected).