iSwitchPi Adds an Intelligent Power Switch to Your Raspberry Pi
https://www.electronics-lab.com/iswitchpi-adds-intelligent-power-switch-raspberry-pi/
by Peter Boxler : Native Raspberry Pi does not have an On/Off switch and there is no easy way to shutdown the Pi while keeping the filesystem intact. This Intelligent Power Switch allows just that: Power-On the Pi by pressing a pushbutton and also properly Power-Off the Pi with another press on the same button. […]