Battery configuration

Address : 02C5 (bank 2, register C5)

Size : 5 bytes

Default : 0005785A64 for S3xx, 0005785A64 for S550, 0002014650 for Afcare, 0002035A64 for all other devices.

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 Disable new battery detection 0 : The new battery detection is activated (battery may be new).
1 : The new battery detection is dicarded (battery is not new).
6 Disable power button while connected 0 : The power button is free to use.
1 : The power button is disabled if host connected.
5 Allow 1A charge mode (JCH test) 0 : The product can not use 1A mode.
1 : The product can use 1A mode.
4 Force High charge mode 0 : The product detects and selects LOW or HIGH charge mode.
1 : The product forces HIGH charge mode.
3 Sleep allowed on charger 0 : The product can’t sleep when connected to a charger.
1 : The product can sleep when connected to a charger.
2 Wake up provided by the BLE chip 0 : The product can’t be wake up by the BLE chip.
1 : The product can be wake up by the BLE chip.
1 behaviour when power loss 0 : The product stops immediately when the external power supply is unplugged
1 : The power button must be pressed to stop the product
0 behaviour when power arrives 0 : The product starts immediately when an external power supply is plugged
1 : The power button must be pressed to start the product

Byte 1 : Power saving delay, unconnected

Number of minutes before shutting down, when the product 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 product is running on battery and is connected to a remote host, but the remote host does not send any command to the product.

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

Byte 3 : charge will restart when the battery level goes below this value

This could be use to avoid charge stress on the battery.

Remark : Default is 95%.

Byte 4 : charge will stop when the battery level reaches this value

This could be use to avoid charge stress on the battery.

Remark : Default is 100%.