An electronic system, comprising: a plurality of electronic devices (M1-M6), each having a male connector and a female connector, wherein the male connectors are mated with the female connectors, such that the electronic devices (M1-M6) are overlapped in a direction and electrically connected to each other; a plurality of power supplies (P1-P3), each connected to one of the electronic devices (M1-M6), respectively, configured for providing power to the electronic devices (M1 -M6), wherein the number of the electronic devices (M1-M6) is larger than the number of the power supplies (P1-P3); and a control module, having a first mode and a second mode and configured to control the male connectors and the female connectors; wherein, in the first mode, a first electronic device of the electronic devices (M1-M6), which is not connected to either one of the power supplies (P1-P3), is configured to receive power through a first female connector of the first electronic device, and the first electronic device is configured to output power to another electronic device connected to a first male connector of the first electronic device through the first male connector, and, in the second mode, the first electronic device of the electronic devices (M1-M6) is configured to receive power through the first male connector, and the first electronic device is configured to output power to another electronic device connected to the first female connector, through the first female connector; the electronic system being characterized in that the control module is configured to calculate output powers of the power supplies in the first mode and to find out a first maximum output power from the output powers of the first mode, and the control module is configured to calculate output powers of the power supplies in the second mode and to find out a second maximum output power from the output powers of the second mode, wherein, when the first maximum output power is larger than the second maximum output power, the control module is configured to control the first male connector and the first female connector according to the second mode and when the second maximum output power is larger than the first maximum output power, the control module is configured to control the first male connector and the first female connector according to the first mode. a plurality of electronic devices (M1-M6), each having a male connector and a female connector, wherein the male connectors are mated with the female connectors, such that the electronic devices (M1-M6) are overlapped in a direction and electrically connected to each other; a plurality of power supplies (P1-P3), each connected to one of the electronic devices (M1-M6), respectively, configured for providing power to the electronic devices (M1 -M6), wherein the number of the electronic devices (M1-M6) is larger than the number of the power supplies (P1-P3); and a control module, having a first mode and a second mode and configured to control the male connectors and the female connectors; wherein, in the first mode, a first electronic device of the electronic devices (M1-M6), which is not connected to either one of the power supplies (P1-P3), is configured to receive power through a first female connector of the first electronic device, and the first electronic device is configured to output power to another electronic device connected to a first male connector of the first electronic device through the first male connector, and, in the second mode, the first electronic device of the electronic devices (M1-M6) is configured to receive power through the first male connector, and the first electronic device is configured to output power to another electronic device connected to the first female connector, through the first female connector; the electronic system being characterized in that the control module is configured to calculate output powers of the power supplies in the first mode and to find out a first maximum output power from the output powers of the first mode, and the control module is configured to calculate output powers of the power supplies in the second mode and to find out a second maximum output power from the output powers of the second mode, wherein, when the first maximum output power is larger than the second maximum output power, the control module is configured to control the first male connector and the first female connector according to the second mode and when the second maximum output power is larger than the first maximum output power, the control module is configured to control the first male connector and the first female connector according to the first mode.