**Actual Behaviour** A lot of redundant code in accelerometer. **Expected Behaviour** Should be more like gyroscope. **Steps to reproduce it** N/A **LogCat for the issue** N/A **Screenshots of the issue** N/A **Would you like to work on the issue?** Yes.