Have you noticed that the Moto X has an interesting set of Moto X specific sensors? They have no documentation though, so in this post I try to reverse engineer it.
For example, what is Flat up / Flat down?
I've done some investigation. The Flat Up sensor is equal to 1 when the device is on it's back and pointing up. If it is any other configuration, the value is 0. Flat Down works the opposite way.
Open questions:
- Do these values occur when the device is locked?
- Do these sensors consume less power when monitored?
There seem to be some other sensors too. Stowed. Camera Activation Sensor. NFC Detect Sensor. Dock. Display Rotation Sensor. Display Brightness sensor. There is much reverse engineering to do.