# How to deal with mains/grid spikes?

Sorry if this is the wrong place. I thought it fit better here than DIY Stack Exchange.

I replaced a 230 V halogen light bulb with a 6 LED package. Now I notice that all the LED's blink every 15 seconds when it's plugged in*. Initially I thought it was some circuit in the package using energy stored in capacitors, but I don't think that anymore since it stops as soon as I unplug it.

The LED lamp is rated for 12000h of light and 20000 on/off cycles. I solved the equation:

1/15 hertz * x seconds = 20000 times


for x, and I found that the lamp will last only 300000 seconds, or 3.47 days. That is, if each of these blinks count as a on/off cycle.