Patent attributes
A portable electronic device comprises a body, a stationary magnetic element and a base. The stationary magnetic element is disposed at a periphery of the first groove. The connecting element of the base is disposed on the bottom plate of the base and including a second engaging surface and a second groove. An opening of the second groove is formed on the second engaging surface. The rotatable magnetic element is pivotally connected with the second groove. One end of the rotatable magnetic element can rotate in/out the second groove. When a distance between the first engaging surface and the second engaging surface is less than a predetermined value and the opening of the first groove faces to the opening of the second groove, the rotatable magnetic element is attracted by the stationary magnetic element to rotate out of the second groove and get into the first groove.