https://subethasoftware.com/2022/01/17/piz-supercap-safe-shutdown-for-raspberry-pi-zero/
PiZ SuperCap safe shutdown for Raspberry Pi Zero