⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
5 posts / 0 new
Last post
Anonymous (not verified)
14681 Charging status

Hi i have enabled the charger in the SDK and confirmed that its charging. Is there anyway I can find out in the software when the 14681 is charging the battery. Need this to indicate battery charging to the user.

Device:
mutahir (not verified)
can anyone help on this?

can anyone help on this?

MT_dialog
Offline
Last seen:1 month 4 weeks ago
工作人员
加入:2015-06-08 11:34
Hi mutahir,

Hi mutahir,

You could use the charging_state variable in order to read the state of charging sequence, this variable will return all the states that the 68x charging FSM goes through in order to complete charging.

Thanks MT_dialog

mutahir (not verified)
变量”charging_state"

变量”charging_state" is not visible outside of the sys_charger.c

MT_dialog
Offline
Last seen:1 month 4 weeks ago
工作人员
加入:2015-06-08 11:34
Hi mutahir,

Hi mutahir,

Yes, indeed, you will have to remove the static identifier from the variable.

Thanks MT_dialog