Should the power go out
Avoid opening the refrigerator and freezer unnecessarily. The longer the doors are closed, the longer the food will remain at a cold temperature.
If your power is restored within four hours, the items in the refrigerator should be safe to eat if you don't constantly open it.
A freezer that is stuffed full will stay at freezing temperatures for two days if the door remains closed. A half-full freezer will stay at freezing temperatures for one day if the door remains closed.