Managing iPhone battery life when the power goes out