• I think it would be really useful to have a power event generated when one of the peripherals devices is switched on; especially the power hungry devices like GPS and Heart Rate Monitor.

    Although there is Bangle.isGPSOn() etc, these have to be polled.

    I wrote a GPS status widget and the only way to make it switch is for a draw event to get triggered such that it will check the value of Bangle.isGPSOn(). In my own apps I have to poke the widget to redraw otherwise there could be a delay before the widget lights to show that the GPS is on an drawing power. It would be much nicer to be able to write a widget that listenned to an Bangle.on('power',,) event, and such widgets would potentially be more responsive.


Avatar for HughB @HughB started