Patent ID: 8386811

Claim:
A computer having power management function, comprising: a power supply, comprising a first power plug and a second power plug for respectively providing power; an external device with a second socket, wherein the second socket is coupled to the second power plug for receiving power; and a mother board with a first socket, wherein the first socket is coupled to the first power plug for receiving power, the mother board comprising: a current detecting module, coupled between the second power plug and the power supply for detecting current in a power line disposed between the second power plug and the power supply and accordingly outputting a current detecting signal; and a controller, coupled between the current detecting module and the external device, for outputting a control signal to the external device according to the current detecting signal so as to control operating frequency or the operating voltage of the external device; wherein when the current detecting signal is lower than a predetermined value, controller outputs the control signal to the external device for decreasing the operating frequency or the operating voltage of the external device, and when the current detecting signal is higher than the predetermined value, controller outputs the control signal to the external device for increasing the operating frequency or the operating voltage of the external device.