Is there a script that will detect USB-A power loss and will gracefully shutdown the Pi