Motion detect: The delay to wait for the gps was wrong,

t < initial-gps-delay, should be
t > initial-gps-delay then isTimeWindowForMovementExceeded() return true

(This delay is the time to wait for an initial gps fix after scanning has started, during this window, don't pause scanning)