摘要 |
A portable computer with a power control function is disclosed to include a first body, a hinge, a second body coupled to the first body through the hinge, an optical sensor having a transmitter and a receiver and mounted on the first body, an optical grating connected to the hinge and having a part located between the transmitter and the receiver, a control circuit, and an electronic component. When the second body is turned relative to the first body, the optical sensor generates a first sensing voltage and a second sensing voltage subject to the turning action of the optical grating so that the control circuit controls the power of the electronic component based on the first sensing voltage and the second sensing voltage provided by the optical sensor.
|