Device orientation and motion detection for noflo