I experience a similar behaviour on two different Bangles. Step count is working fine on the device, rarely transmitted to gadgetbridge, if at all, altough conected 24/7.
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.
Work is being done on this here and here.