Is there a good way to use a battery - voltage regulator - AVR circuit as shown bellow?
I know leaving a voltage regulator hooked to the battery at all times is bad practice since it draws current.
On the other hand I would like to use the AVR Sleep function and try to avoid using a switch between battery anode and voltage regulator VIN.
Is there a clever way of doing so? Is it ok to leave a switching Voltage regulator running?