Why calibration matters
Lying flat, the accelerometer should read gravity: about 9.81 m/s². If it reads far off, screen rotation can be unreliable, tilt games drift and the level shows the wrong angle.
Fixing a wrong accelerometer
- Restart the phone.
- Remove the case and lay the phone on a truly flat surface for the check.
- Samsung: dial *#0*# and open Sensor for the built-in test.
- Still off after a reset? The sensor may be damaged by a drop.
How to read the results
Lay the phone flat on a level table. The bubble should sit in the middle and the readings should show about 9.8 m/s² on the Z axis (gravity) and close to 0 on X and Y. Tilt it slowly — the bubble should follow smoothly without jumping. Use the gravity check: a healthy sensor measures 9.6–10.0 m/s² when the phone is still in any orientation.
Common accelerometer problems
- Auto-rotate doesn't work: check rotation lock first; if the bubble doesn't move here, the sensor or its driver has failed.
- Step counter or fitness apps undercount: battery optimisation is often killing the app, not the sensor.
- Bubble sits off-centre on a level table: the sensor needs calibration (see above) — or the table isn't level; turn the phone 180° to check.
Where this test works
| Device or browser | Works | Notes |
|---|---|---|
| Android | Yes | Chrome and Samsung Internet; vibration test works too. |
| iPhone & iPad | Yes | Tap Allow when Safari asks for motion access. No vibration API. |
| Laptops | Rarely | Most laptops have no motion sensors. |
Frequently asked questions
Can I use this as a spirit level?
Yes, for rough checks. Lay the phone on the surface and center the bubble. Phone cases and camera bumps can tilt it slightly.
What does an accelerometer do in a phone?
It measures acceleration and gravity in three directions. Your phone uses it for auto-rotate, step counting, shake gestures, tilt controls in games and to wake the screen when you pick it up.
Does this work on iPhone?
Yes. Safari asks for permission to use motion sensors — tap Allow. If you tapped Don't Allow earlier, close the tab, reopen the page and try again.
More tests: Phone sensors
- Phone Sensor Test – Gyro, accelerometer, compass
- Gyroscope Test – Rotation & drift
- Compass Test – Heading & accuracy
- Phone Vibration Test – Is the motor working?