He was leaving the hospital after visiting her. When the power went, he knew her machine had gone with it. Hospitals have backup generators. The riddle doesn’t care.
A man gets into a lift. Between floors the lift stops and the lights go out, and he knows at once that his wife has died. How?
Give me a hintThe hint
He’s just been visiting her.