Lay the phone flat or stand it on its long edge against the surface. Tap Set zero on a known-level surface to calibrate.