GUJAR KHAN, Pakistan — A woman named Rehana Yasmin struggles to keep her sick 2-year-old granddaughter cool in a sweltering hospital where working air conditioners are rare and electric fans are idle for much of the day.

Elsewhere, households can’t rely on their refrigerators, and at textile factories, factory workers say they can’t operate their machines for enough hours to earn their daily bread.

All are victims of Pakistan’s biggest problem, one that recently brought down a government – not the U.S. drone war in its backyard, not its permanent confrontation with India, but its inability to generate enough electricity. Pakistan, nuclear-armed, can’t deliver a reliable power supply to its 180 million citizens.

“Power, power, power is the problem. It’s power at home, in the workplace, on the streets,” said Rizwana Kauser, head nurse at the hospital in the city of Gujar Khan, about 40 miles (65 kilometers) from the capital, Islamabad.

Power can be out for up to 20 hours a day in the summer. TV coverage may be lost in the middle of a cliffhanger cricket match. Office meetings are scheduled around anticipated power cuts. Without electric fans, mosquitoes proliferate. People get stuck in elevators. Meat rots in refrigerators.

The shortfalls that became the top issue in the recent election are estimated at 3,500 to 6,000 megawatts – up to a third of total demand.

The problems result in part from bad bill-collecting, which leaves utility companies short of funds to pay for the oil that powers much of the production, which in turn means the state oil company can’t buy enough oil on international markets.

Power theft is rampant, often consisting of simply slinging a hook over a conveniently placed electricity wire. The infrastructure of the state-controlled utility companies around the country is outdated, the companies are inefficient, and power plants are heavily dependent on oil despite Pakistan’s abundant coal resources, experts say.

Fixing the problems is likely to take years, leaving Nawaz Sharif, the new prime minister, with a gargantuan task. But with Pakistanis impatient for action, the government has announced plans to pay off about $5 billion owed to companies throughout the supply chain within 60 days. It’s not a long-term solution but it would at least offer the government some breathing room.

And that’s just to keep the electricity flowing. Pakistan also has a problem with delivering natural gas to households and companies, and that too will need solving if the new government hopes to last.

For Rehana Yasmin, relief can’t come too soon. She has been at the public hospital in Gujar Khan for a week, tending to her granddaughter who has dysentery. She brings her own water because there’s no electricity to run the pump of the hospital well. She buys homemade straw fans hawked in the hospital’s hallways.

For the past week, Yasmin said, “during the night we hardly have two hours of electricity and during the day, it’s minimal. This lack of electricity is making children sick and making the elders sick as well.”

Public hospitals like the one in Gujar Khan, which care for the majority who can’t afford private hospitals, generally draw power from two grids, but nowadays, especially in the hot months, there’s sometimes no electricity coming from either grid.

The hospital uses a generator during operations, but sometimes has to resort to ice to keep medicines cool.

It is a struggle simply to maintain basic sanitation, said Kauser, the head nurse. Wounds take longer to heal. And “When there is no water, there is no cleaning,” she said. “How can you wash the sheets?”

In the past, power cuts (“load-shedding” in Pakistani bureaucratese) used to be much shorter and followed patterns that allowed people to plan such routine activities as scheduling an office meeting or taking a shower. But it was the newer phenomenon of “unscheduled load-shedding” and the much longer outages that raised tempers to the level of an election issue.

Dr. Ashraf Nizami of the Pakistan Medical Association said that doctors are seeing more psychological effects of load-shedding, such as stress and depression.

“It is a torture for the medical community and the patients,” he said.

It’s also bad for business.

The looms in one of Waheed Raamay’s workshops are silent and soon to be sold as scrap metal. This workshop, a graveyard as Raamay calls it, is a sign of how the electricity crisis hurts Pakistan’s economy.

“This is not just the story of this single factory. There are dozens of factories in this particular area, and there are hundreds of factories in this city that have closed down due to this power crisis,” said Raamay.

Faisalabad, the third-largest city in Pakistan with a population of about 2.6 million inhabitants, is known for its textiles. But from the low-end workshops that produce for the domestic market to the warehouse-sized factories that export sheets and pillowcases to international chains, that industry is hurting – badly – as a result of the electricity crisis, say workers and factory owners.

Analysts and government officials estimate that Pakistan loses about two percent of its GDP every year due to the electricity crisis. The Pakistan Textile Exporters Association estimates about 150,000 jobs lost in Faisalabad and surrounding Punjab province over the last five years.

In the part of the city where fabric is made for local consumption, the clicking and clacking of the machines rises and falls with the load-shedding.

Workers show up hoping for a day’s work, knowing they are hostages to power cuts. A show of hands indicates all the workers are deeply in debt to their grocery stores or the factory owners. Angry job-seekers have taken to the streets in protest.

“We don’t have money to bury our dead,” said Mohammed Haneef, who was missing part of one finger from a loom accident. “My mother died and I had no money so I had to borrow money from the owners. A year later my father died, and I had to borrow money. … The situation is bad.”

Kurram Mukhtar, head of Sadaqat Limited, one of Pakistan’s leading textile manufacturers, said that from 2006 to 2010 many companies in the city and surrounding area were bankrupted by the power crisis. Owners who survived decided they needed energy independence. Now, at Mukhtar’s factory, piles of coal sit next to a massive generator that keeps the workers stitching, cutting and dying fabrics through the load-shedding.

But Mukhtar said that the cost has cut deeply into his profits, leaving no money to invest in new technologies.

He doesn’t have the option chosen by Aurangzeb Khan in the northwestern town of Mathra when his power was cut off last year over unpaid bills: Khan resorted to the tactic Pakistanis call “kunda,” the hook slung over a convenient electricity pole.

He said he did it because it pained him to see his kids suffering through the August heat. “I am not stealing electricity just for fun or pleasure but I don’t have any other option,” he said.

Such non-payment is rampant. Even government agencies are known to default on bills. And customers can always go to court to obtain a “stay-order” that forces the power company to keep supplying electricity.

“There is no concept of paying the bill,” said Ashfaque Khan, the dean of the business school at the Islamabad-based National University of Sciences and Technology.

A report in March commissioned by the Planning Commission of Pakistan estimated that the delinquencies added up to about 86 billion rupees (about $870 million) in lost revenues.

The Peshawar Electric Supply Company, whose coverage area includes Khan’s home, was said to be one of the worst at bill-collecting, though it suffers the added problem of being a target for violence. In April, militants attacked a grid station outside of Peshawar, killing eight policemen and electric company officials.

The new government says it wants to increase bill collection but has given few specifics about how they’ll go about it. People like Aurangzeb Khan say they want to see improved service before they pay up.

“I know stealing is not good,” he said, “but if we get uninterrupted supply of electricity at a reasonable price we shall pay the bills.”

__

Associated Press writers Riaz Khan in Peshawar, Asif Shahzad in Islamabad, Zarar Khan in Gujar Khan and B.K. Bangash in Faisalabad contributed to this report.

Also on HuffPost:

Loading Slideshow...
  • A supporter of Pakistani cleric Tahir-ul Qadri poses with a victory sign at a protest rally in Islamabad on January 17, 2013. Pakistani ministers held talks with a cleric leading a mass protest in Islamabad in an attempt to avert a political crisis and end a demonstration that has heaped pressure on the fragile government. (ASIF HASSAN/AFP/Getty Images)

  • A supporter of Pakistani cleric Tahir-ul Qadri waves the national flag at a protest rally in Islamabad on January 17, 2013. Pakistani ministers held talks with a cleric leading a mass protest in Islamabad in an attempt to avert a political crisis and end a demonstration that has heaped pressure on the fragile government. (ASIF HASSAN/AFP/Getty Images)

  • Supporters of Pakistani cleric Tahir-ul Qadri gather at a protest rally in Islamabad on January 17, 2013. Pakistani ministers held talks with a cleric leading a mass protest in Islamabad in an attempt to avert a political crisis and end a demonstration that has heaped pressure on the fragile government. (ASIF HASSAN/AFP/Getty Images)

  • Pakistani cleric Tahir-ul Qadri addresses his supporters from his makeshift room at a protest rally in Islamabad on January 17, 2013. Pakistani ministers held talks with a cleric leading a mass protest in Islamabad in an attempt to avert a political crisis and end a demonstration that has heaped pressure on the fragile government. (ASIF HASSAN/AFP/Getty Images)

  • Supporters of Pakistani cleric Tahir-ul Qadri chant slogans at a protest rally in Islamabad on January 17, 2013. Pakistani ministers held talks with a cleric leading a mass protest in Islamabad in an attempt to avert a political crisis and end a demonstration that has heaped pressure on the fragile government. (ASIF HASSAN/AFP/Getty Images)

  • Supporters of Pakistani cleric Tahir-ul Qadri chant slogans at a protest rally in Islamabad on January 17, 2013. Pakistani ministers held talks with a cleric leading a mass protest in Islamabad in an attempt to avert a political crisis and end a demonstration that has heaped pressure on the fragile government. (ASIF HASSAN/AFP/Getty Images)

  • A supporter of Pakistani cleric Tahir-ul Qadri holds a placard at a protest rally in Islamabad on January 17, 2013. Pakistani ministers held talks with a cleric leading a mass protest in Islamabad in an attempt to avert a political crisis and end a demonstration that has heaped pressure on the fragile government. (ASIF HASSAN/AFP/Getty Images)

  • Supporters of Pakistani cleric Tahir-ul Qadri gather inthe rain at a protest rally in Islamabad on January 17, 2013. Pakistani ministers held talks with a cleric leading a mass protest in Islamabad in an attempt to avert a political crisis and end a demonstration that has heaped pressure on the fragile government. (ASIF HASSAN/AFP/Getty Images)

  • Supporters of Pakistani cleric Tahir-ul Qadri gather at a protest rally in Islamabad on January 17, 2013. Pakistani ministers held talks with a cleric leading a mass protest in Islamabad in an attempt to avert a political crisis and end a demonstration that has heaped pressure on the fragile government. (ASIF HASSAN/AFP/Getty Images)

  • Supporters of Pakistani moderate preacher Tahir-ul Qadri gather on the fourth day of a protest rally in Islamabad on January 17, 2013. Pakistan’s President intervened to stop authorities from using force against protesters who are calling for parliament to be dissolved in Islamabad’s largest political rally in years. (ASIF HASSAN/AFP/Getty Images)

  • A supporter of Pakistani moderate preacher Tahir-ul Qadri waves the national flag on the fourth day of a protest rally in Islamabad on January 17, 2013. Pakistan’s President intervened to stop authorities from using force against protesters who are calling for parliament to be dissolved in Islamabad’s largest political rally in years. (ASIF HASSAN/AFP/Getty Images)

  • Supporters of Pakistani cleric Tahir-ul Qadri gesture the victory symbol during a protest rally in Islamabad on January 17, 2013. A populist Pakistani cleric calling for electoral reforms announced that a mass sit-in of tens of thousands of people camped outside parliament in Islamabad would end January 17. (FAROOQ NAEEM/AFP/Getty Images)

  • Supporters of Pakistani cleric Tahir-ul Qadri gather in the rain during a protest rally in Islamabad on January 17, 2013. A populist Pakistani cleric calling for electoral reforms announced that a mass sit-in of tens of thousands of people camped outside parliament in Islamabad would end January 17. (FAROOQ NAEEM/AFP/Getty Images)

  • A supporter of Pakistani cleric Tahir-ul Qadri wears a plastic bag in the rain during a protest rally in Islamabad on January 17, 2013. A populist Pakistani cleric calling for electoral reforms announced that a mass sit-in of tens of thousands of people camped outside parliament in Islamabad would end January 17. (FAROOQ NAEEM/AFP/Getty Images)

  • A supporter of Pakistani cleric Tahir-ul Qadri enjoys the rain at a protest rally in Islamabad on January 17, 2013. A populist Pakistani cleric calling for electoral reforms announced that a mass sit-in of tens of thousands of people camped outside parliament in Islamabad would end January 17. (FAROOQ NAEEM/AFP/Getty Images)

  • Female supporters of moderate preacher Tahir-ul Qadri stand guard to protect sleeping women taking part in the fourth day of protests in Islamabad early on January 17, 2013. Pakistan’s president on January 16 intervened to stop authorities from using force against protesters who are calling for parliament to be dissolved in Islamabad’s largest political rally in years. (ASIF HASSAN/AFP/Getty Images)

  • Supporters of Pakistani cleric Tahir-ul Qadri rest on the third day of the protest rally in Islamabad on January 16, 2013. A populist cleric Wednesday urged Pakistani politicians to join tens of thousands taking part in the largest protest in Islamabad for years, ratcheting up the pressure on the government to step down. (ASIF HASSAN/AFP/Getty Images)

  • Pakistani students, civil society and Pakistan Muslim League Nawaz party activists light candles in the favor of democracy in Lahore on January 16, 2013. Pakistan’s main opposition leader Nawaz Sharif demanded January 16, that the government immediately announce a timetable for elections. (Arif Ali/AFP/Getty Images)

  • A supporter of Pakistani cleric Tahir-ul Qadri dances to drums on the third day of the protest rally in Islamabad on January 16, 2013. A populist cleric Wednesday urged Pakistani politicians to join tens of thousands taking part in the largest protest in Islamabad for years, ratcheting up the pressure on the government to step down. (ASIF HASSAN/AFP/Getty Images)

  • Activists of the ruling Pakistan Peoples Party (PPP) burn tyres on a street at a protest rally in Lahore on January 16, 2013, against the Supreme Court order to arrest of the prime minister Raja Pervez Ashraf. Pakistan’s top judge January 15, ordered the arrest of the prime minister over graft allegations, threatening to worsen turmoil as thousands of protesters demanded the government step down. (Arif Ali/AFP/Getty Images)

  • A Pakistani villager from the northwest mourns the death of a relative during a protest in the provincial capital Peshawar on January 16, 2013. Demonstrators said gunmen wearing military uniforms stormed homes in Bara Tehsil in Khyber Agency, some 30 kilometers from Peshawar and shot 18 villagers dead in an overnight raid. (A Majeed/AFP/Getty Images)

  • Supporters of moderate preacher Tahir-ul Qadri rest on the third day of a protest rally in Islamabad on January 16, 2013. Pakistani protesters rallied for a third day January 16 in the largest political demonstration seen for years in the capital, calling on the government to quit after the Supreme Court ordered the arrest of the prime minister. (ASIF HASSAN/AFP/Getty Images)

  • Supporters of moderate preacher Tahir-ul Qadri prepare breakfast at dawn on the third day of a protest rally in Islamabad on January 16, 2013. Pakistani protesters rallied for a third day January 16 in the largest political demonstration seen for years in the capital, calling on the government to quit after the Supreme Court ordered the arrest of the prime minister. (ASIF HASSAN/AFP/Getty Images)

  • Pakistani Frionter Constables (FC) and policemen stand guard over a barricade of shipping containers on Constitution avenue on the third day of a protest rally in Islamabad on January 16, 2013. Pakistani protesters rallied for a third day January 16 in the largest political demonstration seen for years in the capital, calling on the government to quit after the Supreme Court ordered the arrest of the prime minister. (ASIF HASSAN/AFP/Getty Images)

  • A supporter of moderate preacher Tahir-ul Qadri waves this Pakistani national flag on the third day of a protest rally in Islamabad on January 16, 2013. An estimated 25,000 to 50,000 people have poured into Islamabad from across the country, devoted followers of moderate preacher Tahir-ul Qadri who is calling for the government to step down and radical reforms. It is the largest protest in the capital since the Pakistan People’s Party won elections in 2008, ending a decade of military rule and forming what in March will be the country’s first civilian government to complete a term in office. (ASIF HASSAN/AFP/Getty Images)

  • Supporters of moderate preacher Tahir-ul Qadri gather on the third day of a protest rally in Islamabad on January 16, 2013. An estimated 25,000 to 50,000 people have poured into Islamabad from across the country, devoted followers of moderate preacher Tahir-ul Qadri who is calling for the government to step down and radical reforms. It is the largest protest in the capital since the Pakistan People’s Party won elections in 2008, ending a decade of military rule and forming what in March will be the country’s first civilian government to complete a term in office. (ASIF HASSAN/AFP/Getty Images)