When an undershoot occurs at the Vcc pin, the data may get reset even when the part is connected to a battery. As for how much undershoot will cause a reset, there are differences between each device. We recommend keeping the undershoot within 0.3V. The voltage on the other pins should also be well regulated, neither below -0.3V, nor above VCC+0.3V.