Implemented APIs for the tilt sensor