Well, in case of unexpected power-down, the brownout handling needs to be managed on application level. Typically, the data integrity can be secured by CRC over certain chunks of data etc. It is also good idea to have default data/configuration stored in MCU flash which can be loaded to EEPROM in case of some failure.
Regards,
Lukas