Patent ID: 8564962

Claim:
An electronic device, comprising: a casing comprising a side plate; and a power module attached to the side plate of the casing, the power module comprising: a base; a cover engaged with the base; a connector mounted between the base and the cover; a sliding member sandwiched between the base and the cover and defining a through slot; a locking member comprising a main body movably received in the base, and a locking portion connecting the main body and extending through the slot of the sliding member; and an elastic member sandwiched between the main body of the locking member and the base; wherein the sliding member is movable relative to the locking member between a locked position in which the locking portion of the locking member is pushed by the elastic member to extend through the cover to be blocked by the side plate of the casing, and an unlocked position in which the locking member is pressed by the sliding member to withdraw from the side plate to allow removal of the power module from the casing.