Abstract: Provided are methods and apparatus for improving motion sensing. In an example, provided is a method of mitigating an error in a motion sensor signal in a mobile device. A user input signal, based on a user input to the mobile device, is received. The user input can be a keystroke, and the user input signal can be a signal resulting from the keystroke. The user input signal triggers performing a function on a motion sensor signal for a period of time. The motion sensor signal can be an output from an accelerometer and/or a gyroscope. The period of time can be based on the duration of the user input signal, and can be in a range between substantially 100 milliseconds to substantially 700 milliseconds.