Patent ID: 8787024

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 locking member comprising a securing end fixed on the cover and a locking portion opposite to the securing end; and a sliding member sandwiched between the base and the cover and abutting the locking member; wherein the sliding member is movable relative to the locking member and the cover between a locked position in which the locking portion of the locking member is pushed by the sliding member to extend through the cover to be blocked by the side plate of the casing, and an unlocked position in which the locking portion of 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, wherein the locking member comprises an engaging plate connecting the locking portion, the sliding member comprises a supporting portion pushing the engaging plate to the cover in the locked position, and an inclined pressing edge pressing the engaging plate away from the cover in the unlocked position; and wherein the sliding member has a concave portion and the base comprises a latching portion elastically engaged in the concave portion when the sliding member is in the unlocked position.