My current project uses an ATtiny85 and I'm finding that a bouncy power switch (usually just attaching wires to a power header) is enough to cause the EEPROM to get corrupted if the connector isn't plugged in really fast. I found that turning on brownout protection level 1 (2.5V minimum, 2.7V typical, 2.9V maximum) prevents this from happening. Still, I'm wondering if a simple RC snubber composed of a resistor and capacitor across the switch/header would help to prevent this trouble without incurring the extra power consumption for brownout protection. The prototype uses a 9V battery going through a 78L05 regulator (please, no commentary about this).
How do I figure out the correct values for a simple RC snubber for this? Everything I find with Google on the subject seems to start with the assumption that I'm dealing with mosfets, high-powered electric motors, and the like.