A motherboard having a charging function and comprising: a connection interface configured to an electrical device; a switching circuit coupled to the connection interface and comprising a first transmission path and a second transmission path; a first controller coupled to the switching circuit and adapted to communicate with the electrical device via the first transmission path; a second controller coupled to the switching circuit and adapted to communicate with the electrical device via the second transmission path; a voltage converter circuit coupled to the connection interface, the first controller and the second controller, wherein in a standard charge mode, the first transmission path is turned on and the first controller is adapted to direct the voltage converter circuit to generate first charge power to the electrical device; wherein in a first fast charge mode, the second transmission path is turned on and the second controller is adapted to direct the voltage converter circuit to generate second charge power to the electrical device; wherein in a second fast charge mode, the first transmission path is turned on and the first controller is adapted to determine whether the electrical device is a specific device, responsive to the electrical device not being the specific device, the first controller is adapted to direct the voltage converter circuit to generate third charge power to the electrical device, and responsive to the electrical device being the specific device, the first controller is adapted to direct the voltage converter circuit to generate fourth charge power to the electrical device. a connection interface configured to an electrical device; a switching circuit coupled to the connection interface and comprising a first transmission path and a second transmission path; a first controller coupled to the switching circuit and adapted to communicate with the electrical device via the first transmission path; a second controller coupled to the switching circuit and adapted to communicate with the electrical device via the second transmission path; a voltage converter circuit coupled to the connection interface, the first controller and the second controller, wherein in a standard charge mode, the first transmission path is turned on and the first controller is adapted to direct the voltage converter circuit to generate first charge power to the electrical device; wherein in a first fast charge mode, the second transmission path is turned on and the second controller is adapted to direct the voltage converter circuit to generate second charge power to the electrical device; wherein in a second fast charge mode, the first transmission path is turned on and the first controller is adapted to determine whether the electrical device is a specific device, responsive to the electrical device not being the specific device, the first controller is adapted to direct the voltage converter circuit to generate third charge power to the electrical device, and responsive to the electrical device being the specific device, the first controller is adapted to direct the voltage converter circuit to generate fourth charge power to the electrical device.