Filter gyroscope's error from linear acceleration?
It's called an unwanted DC offset and all devices of any reasonable complication suffer from it. You get rid of it by either subtraction in the analogue realm or subtraction in the digital realm.