Question: Are bindings constantly being evaluated if the screen is off or if LL is in the background?
Question: Are bindings constantly being evaluated if the screen is off or if LL is in the background?
Use case: I have a clock widget setup to change item properties every second. If I use a script to do this, I can clear timeout on desktop pause and resume on desktop resume. If I use bindings to achieve the same effect, do the bindings continue to get evaluated when LL is in the background or when screen is off, thereby draining more battery than the script solution?
]]>(Next Post) Help. »
< ![CDATA[
Bindings are automatically disabled when the launcher is not active (at least they were last time I checked)
]]>
< ![CDATA[
thanks! very helpful and what i was hoping to hear. Pierre Hébert can you confirm this?
]]>
< ![CDATA[
Confirmed, everything is paused, except if you manually set a timeout through script that trigger some binding evaluation.
]]>
< ![CDATA[
Thank you!
]]>
< ![CDATA[
Pierre Hébert would it be possible to apply this system to custom variables somehow?
]]>
< ![CDATA[
Do you mean : when a custom variable is modified, defer updates until the app is resumed ?
]]>
< ![CDATA[
Pierre Hébert no, I was thinking a step further: I’d like to not update custom variables while they aren’t used. E.g. if I have a complex computation whose result is set as variable, it would be great to not run that computation if the result isn’t needed anyway.
]]>