I need to be able to switch off my product for long term storage. I also need it to shut off automatically on low power. The device software needs to do housekeeping before shutting down. I found a tutorial online that uses a load switch circuit to accomplish half of the task. The problem with this circuit is it only shuts off in code.
How can I adapt this circuit to use a slide switch as opposed to a momentary push button switch?
Thanks for your time. Tim Cerka