Curious: How would Uber engineers be able to detect Lyft notifications by just the accelerometer and gyroscope? I can't even think of how that would work.
Different apps have unique vibration patterns, as well. A text message on my iPhone is two buzzes, but a NYTimes news alert is one. Perhaps if you detected a single buzz, and then picked up motion because I'm double-clicking the home button, you could presume that I'm switching apps to respond to the notification.
Most drivers would have sound on and not purely use vibrations, because the phone is not in their pocket.