Patent ID: 7995077

Claim:
A portable electronic device, comprising: a main body; a display screen arranged on the main body for displaying an image in an original orientation; an orientation sensing module including a first elongated chamber having a first portion and a second portion, a first sensing unit comprising a first light source for emitting light and a first photo detector arranged at opposite sides of the first portion of the first elongated chamber, the first photo detector configured for detecting light emitted from the first light source and generating a first sensing signal, and a second sensing unit comprising a second light source for emitting light and a second photo detector arranged at opposite sides of the second portion of the first elongated chamber, the second photo detector configured for detecting light emitted from the second light source and generating a second sensing signal, and an opaque liquid medium partially filled in the first elongated chamber, and an air pocket received in the first elongated chamber, the air pocket being flowable through the first portion or the second portion of the first elongated chamber, the air pocket configured for allowing transmission of the light from the first and second light sources to the first and second photo detectors respectively; a display controlling module for deviating the displayed image at a given angle clockwise or counterclockwise from the original orientation of the image based on the first and second sensing signals.