I have a circuit that is off almost all the time, when a button is pressed an MCU will be brought outside of sleep mode perform a log and go back to sleep. This device should run on 3 1.5V AAA batteries giving more than 3.3V.
How can I regulate the voltage when I wake up from sleep and have the regulator not waste energy when device is not used?