How long food will keep in a power outage depends on the temperature of the fridge and if you open it. First of all, don't open it if you can help it. That will keep the cool in there as long as possible. The absolute longest that food should be considered safe, as long as the fridge is unopened is 4 to 6 hours. If you just don't trust it, don't test it. Throw it out.