You are reading a single comment by @splch and its replies. Click here to read the full conversation.
  • I recently made a widget that buzzes following the 20-20-20 rule… But it should only run when the user is actually wearing the watch. Is there already some detection for if someone is wearing the watch? Or do all widgets run constantly in the background?

    If all widgets are always running, my proposal is an optional boolean in the manifest that can have a widget only run while the watch is being worn. I could see other widgets using this, but mine definitely could and it’d increase the battery life as well!


    I’m thinking a call like this:

    Call type:

    `Bangle.isWorn()`
    

    Return

    Is the device being worn or not?
    

    Description

    Determines if the device is being worn from various sensors’ activities.
    
    **Note:** This is only available in Bangle.js smartwatches
    
About

Avatar for splch @splch started