Implement APIs for the vibration sensor