A power supply for a computer device, the computer device including a computer housing, said power supply comprising:
- a casing having a side wall and adapted to be mounted in the computer housing so that said side wall of said casing is exposed outwardly of the computer housing;
- a power module disposed in said casing;
- an electrical socket embedded in said side wall of said casing;
- and
- a switch module embedded in said side wall of said casing, electrically interconnecting said power module and said electrical socket, and operable between an ON mode, where said electrical socket is connected electrically to said power module, and an OFF mode, where said electrical socket is not connected electrically to said power module, said switch module including
- a mounting seat embedded in said side wall of said casing, configured with an inner receiving space, and having a first open end in spatial communication with said inner receiving space, and a second end opposite to said first open end in a first direction,
- first and second terminal units mounted to said second end of said mounting seat and spaced apart from each other, each of said first and second terminal units having a contact end portion disposed in said inner receiving space in said mounting seat, and a connecting end portion opposite to said contact end portion, extending outwardly of said second end of said mounting seat and coupled to a corresponding one of said power module and said electrical socket, and
- an operating unit mounted movably in said inner receiving space in said mounting seat and including a conducting member, said operating unit being operable so as to move in the first direction among a first position, where said operating unit is adjacent to said first open end of said mounting seat and where said conducting member is spaced apart from said contact end portions of said first and second terminal units, a second position, where said operating unit is distal from said first open end of said mounting seat and where said conducting member contacts electrically said contact end portions of said first and second terminal units, and a third position between the first and second positions, where said conducting member contacts electrically said contact end portions of said first and second terminal units;
- wherein said switch module is in the OFF mode when said operating unit is at the first position, and is in the ON mode when said operating unit is at the third position;
- and
- wherein said operating unit of said switch module is moved from the first position to the third position via the second position when said switch module is switched from the OFF mode to the ON mode, and is moved from the third position to the first position via the second position when said switch module is switched from the ON mode to the OFF mode.