There's an app for that. I mean, seriously. It's called demagnetizing the accelerometer. This basically allows it to either remain at zero, or points within 0 indicating little to no movement. Sort of like your typical EA programmer.
Life is a whim of several billion cells to be you for a while.