Add gyroscope permission and log sensor data