Would there be a mechanism where by when a long press is requested that step count is somehow pushed to storage
The long press is usually needed because the Bangle is totally locked up, so it's probably not possible.
But the Health app does write all the step info to Storage every 10 minutes.
I guess what is needed really is for first boot (we don't currently have a way of running code just then) the health data is scanned and the health data for the day is updated with the new step count (but we don't have a way to do that either).
I think I mentioned before, but IMO the best solution here is really to ensure that nobody has to long-press reboot apart from to update firmware :)
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.
Looks like you have, and this is fixed now in latest firmwares ;) https://github.com/espruino/BangleApps/issues/2382
The long press is usually needed because the Bangle is totally locked up, so it's probably not possible.
But the Health app does write all the step info to Storage every 10 minutes.
I guess what is needed really is for first boot (we don't currently have a way of running code just then) the health data is scanned and the health data for the day is updated with the new step count (but we don't have a way to do that either).
I think I mentioned before, but IMO the best solution here is really to ensure that nobody has to long-press reboot apart from to update firmware :)