I have a standalone atmega328p connected to a wallwart through a 7805 voltage regulator. The atmega is directly powering 6 20mA LEDs and nothing else, just reading a trimmer. I have it plugged into a remote wall socket to directly cut the power and I noticed it take about a second for the wallwart to discharge and turn off the atmega. I assume the current is slowly decreasing in this time. Is this bad for it? Is there anything I should do to improve it?