Patent ID: 7339784

Claim:
A fastening and automatic ejecting structure for a battery of a notebook, for fixing a battery in an accommodating space of a notebook, comprising: a first fastening element, disposed on a predetermined position of the computer and swinging to and fro between a first position and a second position in a predetermined direction when subjected to a pushing force; and a second fastening element, disposed on a predetermined position of the battery and moving to and fro between a third position and a fourth position in a predetermined direction along with the movement of the battery; wherein, when the battery moves from the third position to the fourth position, the first fastening element is forced to swing towards the second position and to be bound with the second fastening element, and when the battery is pushed again towards the fourth position, the first fastening element will swing towards the first position thereby departing from the second fastening element, and the battery is then pushed towards the third position, such that the battery ejects automatically from the notebook.