It's a nice idea only running widgets if the watch is worn, but the issue is we can't 'unload' widgets so I'm not sure it'd work that well.
For 'isWorn' there are a few options - maybe someone could make a simple library when they come up with a solution that works nicely and then everyone could use it?
Would it be easier to suspend watch features (like buzzing) for opt-in widgets when not worn? I was thinking about adding a check right before I buzz the watch about whether it’s being worn.
And I’ll make a PR for the library and share it on the other thread so everyone can improve it :)
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.
It's a nice idea only running widgets if the watch is worn, but the issue is we can't 'unload' widgets so I'm not sure it'd work that well.
For 'isWorn' there are a few options - maybe someone could make a simple library when they come up with a solution that works nicely and then everyone could use it?