-
Solution: I will use the transistor to simulate the switch button pressed. I will connect to power the Raspberry pi board and also the UPS board.