when the device is not moving, then the accelerometer readings you see represent the direction of the gravitational force ( or the opposite of it ).
when the device is not moving, then the accelerometer readings you see represent the direction of the gravitational force ( or the opposite of it ).