Patent ID: 8949485
Filing Date: 2015-02-03
Classification: G06F

Abstract:
1. An electronic device capable of safely removing a peripheral device comprising: a housing; a connecting port rotatably disposed in the housing, the connecting port configured to electrically connect the peripheral device; an angle detecting unit disposed in the housing and adjacent to the connecting port, the angle detecting unit configured to detect a rotating angle of the connecting port; a processing unit disposed in the housing and electrically connected to the connecting port and the angle detecting unit, the processing unit configured to determine whether the peripheral device is in use and determining whether the rotating angle is larger than or equal to a predetermined angle, when the peripheral device is out of use and the rotating angle is larger than or equal to the predetermined angle, the processing unit stopping to identify the peripheral device; and a display unit disposed on the housing and electrically connected to the processing unit, the display unit configured to display a setting interface, the setting interface configured to detect the predetermined angle.