View Single Post
Posts: 1,313 | Thanked: 2,978 times | Joined on Jun 2011 @ Finland
#1138
Originally Posted by slarti View Post
I made a few rules including one 8 + 8 min rule and noticed that if you don't press snooze but let the alarm snooze itself, the snooze time is set by the system default, not the value in PM.
I've updated the beta version. I'm trying now to set another option, that should result in the "not pressing snooze" resulting in same snooze value as pressing snooze. I haven't had time to test this at all myself.

I also realised I might have a use for the extra precision with the alarm rule after all. If this is something that is very easy to do, please consider it. The seconds wouldn't have to show in the Ui in any way. Just that the updateRule method would accept second accuracy and that the rule would execute then. If this is at all tricky, forget about it, because it's not important.
It's not that hard to change the behaviour, but here is two problems:

- Even the minute precision is not EXACTLY on that minute. Instead in an effort to preserve battery I am using (heartbeat-based) timer, so that the wakeups try to occur on other wakeups of the device. In practice this means that the real timeout can be as much as 30 seconds later than that was set in condition. In light of that, setting precision by second doesn't make much sense.
- The other problem is that changing the current behavior could have unexpected side-effects. So I wouldn't want to change it without a good reason.
__________________
My N9/N950 projects:
 

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