Usually devices have schematics protecting from writing to memory when voltage becomes low.