主权项 |
1. A method, comprising:
determining, by a processor, that a change in a contact with a perimeter of a device exceeds a predetermined contact change threshold, wherein the change in the contact with the perimeter of the device exceeding the predetermined contact change threshold indicates that a change in orientation of the device may have occurred; causing, in response to determining that the change in the contact with the perimeter of the device exceeds the predetermined contact change threshold, a sensor coupled to the device to switch from a disabled state to an enabled state, wherein the processor is configured to receive, while the sensor is in the enabled state, information associated with a current orientation of the device; receiving the information associated with the current orientation of the device; outputting, at a display operatively coupled to the device, content oriented based on the current orientation of the device; and causing the sensor to switch back to the disabled state. |