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.
In a five year period we can get one superb programming language. Only we can't control when the five year period will begin.