The opportunistic timer logic 1214 can configure opportunistic timers on the electronic device 1200. A timer allows a process to schedule a delayed or periodic action. The timer waits until a certain interval has elapsed and then fires, performing a specific action such as checking the scan cache 1218 or performing a wireless discovery scan. Waking the system from an idle state incurs an energy cost when the application processor 1205 and other systems are awakened from their low-power, idle states. Accordingly, reducing the number of wakeups by performing some deferred tasks early or late during another wakeup can reduce the overall power consumption of the electronic device 1200. In one embodiment, dual mode timers can be configured that makes use of both the opportunistic timer logic 1214 and the backstop timer logic 1216.