HOT-SWAPPABLE ELECTRONIC DEVICE AND METHOD FOR PREVENTING CRASH OF THE SAME
DRIVE
June 13, 2024
A hot-swappable electronic device and a method for preventing crash of the same are provided. The method includes: detecting, by a controller, whether or not the hot-swappable electronic device is in a power-on state; detecting, by the controller, whether or not a power connection port is connected to an alternating current power source when the hot-swappable electronic device is in the power-on state; detecting, by a first sensor and a second sensor, whether or not a first battery leaves a first battery installation groove and a second battery leaves a second battery installation groove when the power connection port is not connected to the alternating current power source; and lowering, by the controller, a system power consumption of the hot-swappable electronic device when the first battery leaves the first battery installation groove or the second battery leaves the second battery installation groove.
Discussion in the ATmosphere