However, li-ion charging works in a two-phase process: constant current, and then constant voltage. It will try to start charging the battery until it reaches 4.2v and then stay charging at 4.2v while the charge current trickles down.
This is probably the reason why the watch may say 100% (which means the battery is at 4.2v) but can still continue charging as the second phase of the charge cycle isn't done yet.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I'm guessing because the battery widgets are calling https://www.espruino.com/Reference#l_E_getBattery
E.getBattery()
which returns the battery voltage.However, li-ion charging works in a two-phase process: constant current, and then constant voltage. It will try to start charging the battery until it reaches 4.2v and then stay charging at 4.2v while the charge current trickles down.
This is probably the reason why the watch may say 100% (which means the battery is at 4.2v) but can still continue charging as the second phase of the charge cycle isn't done yet.