As a basis for a low power project, I want to render the useless machine not useless
https://www.youtube.com/watch?v=Z86V_ICUCD4
A useless machine is a simple mechanism that powers up when a switch is closed, and then a mechanical arm moves to switch it back off. I want to apply this principle to my device waking up to do useful work only when a user interacts momentarily, and then completely shutting itself back off at a software determined time.
In principle I understand I can do this with a relay, and a momentary switch, the momentary switch would energize the circuit closing the relay, which would then connect the source to the remainder of the circuit until another action opened the relay.
I think that a similar sort of thing can work with an gated SR latch, except that it seems sequential logic circuits always need Vcc and ground to see if the clock signal has ticked.
In principle then it seems that as long as I reset and then unlatch I should have a comparable result, but I'm not convinced that there isn't current leaking through the IC, whereas I know if I open a relay an absolutely negligible amount of energy is crossing the air gap.
I am still paranoid about the IC though. Is this the correct for going extreme low power, or have I missed something important and is there a better approach?