Patent ID: 8551634

Claim:
A computer enclosure, comprising: a frame portion defining a battery receiving groove for receiving a battery, a first sliding groove and a second sliding groove respectively communicating with the battery receiving groove; and a battery holding structure assembled to the frame portion, the battery holding structure comprising: a first locking member movably received in the first sliding groove and comprising a first latching block; a second locking member movably received in the second sliding groove and comprising a second latching block; and a spring compressed between the second locking member and an inner surface of the second sliding groove and configured to provide a force to push the second latching block into the battery receiving groove; wherein the first and the second latching blocks are capable of being pushed into the battery receiving groove to cooperatively latch the battery in the battery receiving groove, the first and second latching blocks are also capable of being pushed out of the battery receiving groove to release the battery from the battery receiving groove.