re-added the variance calculation to confirm when device is airborne (and not in hand)