A motherboard with an energy saving function is coupled to an external power supply. The external power supply provides an operational power. The motherboard comprises a battery and a processing device. The battery provides a standby power. The processing device receives the operational power in a turned-on mode. The processing device does not receive the operational power and receives the standby power in a turned-off mode.