This commit adds support for auto-rotation by enabling the hardware sensor and configuring the sensor.hwdb file.