Gaza's power woes began in 2006, when Israel bombed the territory's power plant after Hamas-allied militants captured an Israeli soldier.
It took years for the plant to be fixed, but due to its limited capacity and growth in Gaza's population, it provides just a small fraction of the territory's needs. As a result, Gaza relies on electricity purchased from neighboring Israel and Egypt.
For several years, Gaza has scraped by with roughly eight hours of electricity a day. But in recent months, the situation has worsened due to a combination of factors.
The power plant has not operated since April after emergency fuel shipments, purchased from Israel by Hamas allies Qatar and Turkey, ended. Electricity deliveries from Egypt, which is busy fighting its own Islamic militants, are unreliable, and Palestinian President Mahmoud Abbas, locked in a bitter rivalry with Hamas, wants to reduce electricity purchases for Gaza by about 40 percent.
This reduced supply, combined with peak demand during the Ramadan holiday season, has created rolling blackouts that give people just two to four hours of power at a time.