View Single Post
Posts: 1,313 | Thanked: 2,978 times | Joined on Jun 2011 @ Finland
#1024
Originally Posted by slarti View Post
I may have found a bug. I have a rule set up as described here. Today, for some reason it didn't fire off the script when I locked the screen. A reboot cured this but I got some logs before doing that. The name of the rule is "UpdateBB".
Thanks,

from the logs I can see you apparently want the script to be invoked immediately when lock screen is activated. The idle condition is optimized on the other hand for longer periods for power consumption, so it can be that in these cases the script can be triggered 1-4 seconds after locking screen. And if the device is unlucked during this time, the script is not executed. Can this be the case here? If this is a realworld problem I can see for a different, more immediate, handling for the "0 minute" idle case.

If this is not the case here, do you remember anymore at what time did this problem happen?

From the logs I see the script was fired at these times:

Code:
ma tammikuuta 14 08:06:35 2013 RulesManager::refresh()
ma tammikuuta 14 08:07:45 2013 RulesManager::refresh()
ma tammikuuta 14 08:09:44 2013 RulesManager::refresh()
ma tammikuuta 14 08:09:59 2013 RulesManager::refresh()
Judging by the logs everything happened as it should... but I may have missed something that more information could reveal.
__________________
My N9/N950 projects:

Last edited by ajalkane; 2013-01-18 at 23:59.
 

The Following User Says Thank You to ajalkane For This Useful Post: