Control Raspberry pi with physically attached button. Wake, Power Off, and Restart (Double Press) . Python3 script runs as a service with easy installation.
Why do you think that https://github.com/Guitarman9119/Raspberry-Pi-Pico- is a good alternative to raspberry-pi-power-button