Patent ID: 8546008

Claim:
An electronic device, comprising: a casing, comprising an accommodation space and a first stopping portion located in the casing; a battery, detachably assembled in the accommodation space, wherein the battery comprises a hook extending towards the casing, a first urging surface, a second urging surface, and a step connected between the first urging surface and the second urging surface; and a latching module, disposed in the casing and moving back and forth between a first position and a second position, the latching module comprising: a main body; an urging portion, extending from the main body towards the battery; a second stopping portion, wherein the first stopping portion is located in a moving path of the second stopping portion; and an elastic member, disposed in the casing, wherein the elastic member is connected between the main body and the casing, the latching modules moves from the second position towards the first position through the elastic member, and the first stopping portion stops the second stopping portion at a third position, wherein the thrid position is between the first position and the second position, wherein when the latching module moves from the first position towards the second position, the hook, the first urging surface, the step, and the second urging surface are sequentially located in a moving path of the urging portion; when the latching module is located at the first position, the urging portion is buckled to the hook; and when the latching module is located at the second position, the urging portion is limited by the step and rests on the second urging surface.