Widget : how to always have it on screen ?

Hello

Do you know if there's a way to have the widget developped stay on screen ? i wrote one and after 60 seconds it's back to watch face

Something i do wrong in dev or it's usual way ??

Thanks !!
  • All widgets have a timeout, and it varies by device. There is no way to change it.

    On the vivoactive, it's about 10 seconds unless you're doing comm, then it increases to about 45 seconds.

    Other devices are a minute. (maybe 2 in some cases).

    If you want something to stay on the screen, it needs to be a watch-app.
  • dyeenco our

    Thanks a lot for this complete answer !

    ok si i'm stuck because i think it's not possible to have pulse on watchface.. :(

    Thanks
  • You are correct - watchfaces can not access sensors. But, watch-apps can.

    You could do a watch app, that looks like a watchface, but you must take care to not impact the battery too much (things like not updating the screen every second, etc.) Just accessing the sensor will also have an impact on the battery.

    I did a watch app that looks like a watchface, but uses the Tempe Sensor (Temperature), and there I only update the screen every minute (kind of like low-power mode for a watchface). On top of that, the Tempe only transmits once a minute, so there's not a lot of data coming in for the FW to handle. And even then, it drains the battery more than a watchface.
  • group ompactor

    Yes it's a good idea ! and the only way to do this... but as you said, i wonder if the battery will survive even if i check the pulse only every 5 seconds !! :confused:

    I will try...

    Thanks !