My reproachless method of preventing devices from power glitches