Keeping cool when the lights go out