Hi,

you can use a MC33064P5 ( TO92 Package ) as a voltage ref : its output will turn low if voltage goes under 4.65v ...

enough time to save data to EEPROM, then ...

Alain