In various embodiments, multiple instances of the timer 702A-702B may be used on each of the mobile devices 102A-102B. For example, a device can use an opportunistic timer that can trigger opportunistically before or after the timer deadline to take advantage of other timer or wake events that occur or are scheduled to occur around the timer deadline. Taking advantage of opportunistic events avoids causing a separate device or processor wake from a low power state solely to service the opportunistic timer, reducing the overall number of wake events. The device may pair the opportunistic timer with a precise timer that fires precisely at a set time interval as a backstop to the opportunistic timer.
In various embodiments, the duration of the near owner timeout and the number, type, and configuration of the timers can vary, but are generally set to complementary values. Every M minutes, a new K byte key is selected for use as, or to enable derivation of, a beacon identifier that is broadcast by the wireless accessory. The near owner timeout period can be configured for M+I minutes after disconnection of an encrypted communication session between the owner device and the connection. In various embodiments, the value of I can be set to between one and five minutes, but is not limited to any specific value.
In one embodiment, an 15 minute near owner timeout is used with a maintenance timer set for 14 minutes. In one embodiment a 20 minute near owner timer is used with a maintenance timer set for 18 or 19 minutes. In some embodiments, timers are synchronized across devices that can perform near owner maintenance.