Walking home from the downtown Cairo restaurant where he works late one recent night, Ahmed Ali did a double-take: Tahrir Square, home to the famed Egyptian Museum and multiple revolutions, was almost entirely dark.

Usually it dripped with golden light. But that night, practically its only illumination came from the red subway stop sign.

Had there been a blackout? Ali asked his fellow waiters. No, they said.