I locked my phone at 12:00am that on this time "get duration string(global_usage_duration)" shown "3h 48s" on widget.
I unlocked it on at 6:00 am and "get duration string(global_usage_duration)" shown 11h 36m on widget.
This script can not compute phone usage time correctly.
I did not unlock my phone duration but it compute time even more.
Can I explain more for you?
Use Timer
Moderator: Martin
Re: Use Timer
Did you check the log to see whether the screen off flow was executed at 12am when you locked the phone?