Patent ID: 9541393
Date: 2017-01-10
CPC Classifications: G01C,G06F

Claim:
1. A method comprising: receiving one or more measurement signals at a digital compass of a mobile device from one or more sensors of the mobile device; determining a motion state of the mobile device in response to the received one or more measurement signals; storing magnetometer samples obtained from a magnetometer in a buffer; initiating a process, performed by the mobile device, for calibrating the magnetometer based, at least in part, on the motion state indicating motion of the mobile device, wherein the process for calibrating utilizes the magnetometer samples stored in the buffer to perform the calibrating of the magnetometer; and suspending the process performed by the mobile device for calibrating the magnetometer, in response to the motion state indicating that said mobile device is in a stationary state, wherein suspending the process performed by the mobile device includes deleting or otherwise ignoring one or more magnetometer samples stored in the buffer corresponding to a time interval immediately before the stationary state.