Patent ID: 8592704

Claim:
An electronic device, comprising: a casing comprising a side plate, and a top plate detachably connected with a top end of the side plate; a first switch mounted on the side plate, the first switch being turned on when the top plate is connected to the side plate and being turned off when the top plate is detached from the side plate; a second switch mounted on the side plate and electrically connected in parallel with the first switch; and a switch control unit comprising a sliding member mounted at one end of the second switch and an operating member fixedly mounted on the sliding member, the sliding member comprising a pressing plate, the sliding member being operated by the operating member to be movable relative to the side plate between a first position in which the pressing plate is offset from the second switch leaving the second switch in a turned off state, and a second position in which the pressing plate is aligned with and presses the second switch to turn on the second switch.