Patent ID: 8310819

Claim:
An electronic device comprising: a base; a first magnetic member fixed to the base; a connecting member slidably mounted to a rear side of the base; an elastic member arranged between the base and the connecting member; a cover pivotably connected to the connecting member by a hinge; and a second magnetic member fixed to the cover, wherein the first and second magnetic members are aligned and are attached to each other using magnetism, for retaining the cover in a closed state relative to the base; wherein the cover is pushed to slide the connecting member forward relative to the base against the elastic member to stagger and release the first and second magnetic members from each other, for releasing the cover from the base; wherein the elastic member restores the connecting member after releasing the cover from the base; and wherein the hinge comprises a shaft, a first interfering member, a second interfering member mated with the first interfering member, a resilient member, a sleeve, and a mounting member; the shaft extends through the first interfering member, the second interfering member, the resilient member, and the sleeve in that order, to engage with the mounting member.