This event is called just before the device shuts down for commands such as reset(), load(), save(), E.reboot() or Bangle.off()
Still having difficulty grasping why the need to use flash as often, as presumeably the user will be monitoring the timer, as they wouldn't have set it otherwise? Under that condition, the timer will always be running in the seconds duration update interval. This explains the design usage of the Storage module by Gordon himself:
When I open an app which does not show widgets, the timer progress is lost.
And the kill event is not triggered then, I think. But I will try this anyway.
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.
Bangle Reference
Still having difficulty grasping why the need to use flash as often, as presumeably the user will be monitoring the timer, as they wouldn't have set it otherwise? Under that condition, the timer will always be running in the seconds duration update interval. This explains the design usage of the Storage module by Gordon himself: