Which power source does UPS HAT use when both 5.5x2.1mm DC and USB-C are connected?

If both the 5.5x2.1mm DC and USB TypeC power supplies of the UPS HAT are connected, which interface will be used for power supply?
2024-07-11 10:35:31 Power will be obtained preferentially from the interface with the higher voltage. The USB Type-C PD automatically negotiates for a 15V power supply, and the voltage of the 5.5x2.1mm DC interface depends on the specifications of the power adapter you are using.
Tonny12138
