Raspberry Pi Auto Shutdown Power Loss, I’ve been using a shutdown button on a digital I/P for use before switching off the power.