I have a Raspberry Pi 4 and 2.5V power sources.
One of the power sources is always on and I would like it to power my Pi.
The other one I will be connecting to a 5V to 3V converter and connect it to a GPIO so it could turn the Pi on and off whenever there's power.
I think I have the turn off figured out by writing a script that listens to the GPIO and have it shutdown when the voltage drops.
But how do I have it turn on when the power kicks back in? Is that even possible?
Please try to explain things as layman as possible as I am very new to these kind of stuff.