Abstract:
In one general aspect, a method can include obtaining, by a computing device, a lid accelerometer vector for a lid accelerometer included in a lid portion of the computing device, and obtaining, by the computing device, a base accelerometer vector for a base accelerometer included in a base portion of the computing device. The method can include calculating a value for a lid angle based on the lid accelerometer vector and the base accelerometer vector, and identifying an operating mode for the computing device based on the calculated value of the lid angle, the operating mode being one of a laptop mode and a tablet mode.
Abstract:
In one general aspect, a method can include obtaining, by a computing device, a lid accelerometer vector for a lid accelerometer included in a lid portion of the computing device, and obtaining, by the computing device, a base accelerometer vector for a base accelerometer included in a base portion of the computing device. The method can include calculating a value for a lid angle based on the lid accelerometer vector and the base accelerometer vector, and identifying an operating mode for the computing device based on the calculated value of the lid angle, the operating mode being one of a laptop mode and a tablet mode.