Hold off on actually rotating screen
Created by: badshah400
On my system iio-sensor-proxy detects the accelerometer and ambient brightness and works great. My only complaint is that it works too well really, i.e. it is somewhat over sensitive to orientation and/or brightness changes. It so happens that if you quickly tilt the laptop and switch it back, the display rotates and remains stuck in the tilted orientation. You have to tilt and switch back again to actually get the display back to the original orientation. I suggest holding off on actually rotating the display until the laptop remains in the new orientation for at least 1 or 1.5 sec.
Ditto for ambient brightness changes. The display flickering because of small brightness changes in a dimly lit room is a little bit troubling on the eyes.
Thanks for your great application though. Has really made working with convertible laptops easy.