Turnout appeared low on Friday, with many voters saying they would not cast ballots in an election that they feel has been manipulated in favor of a hard-line conservative candidate.TEHRAN — The line outside the Tehran polling station was short and sedate on Friday morning, nothing like the energized down-the-block crowd that usually turns out for presidential elections in Iran.But when Abdolnaser Hemmati, the moderate in the race, showed up to vote, the sidewalk outside the polling station, set up at the Hosseinieh Ershad religious institute, suddenly crackled to life.“Your views are useless for this country,” one heckler shouted at Mr. Hemmati, the former governor of Iran’s central bank, holding up his phone to immortalize the moment.“You’re the hope of our nation,” a woman yelled to the candidate, trying to drown out the heckler.Iran’s presidential race has been marked, more than anything else, by a lack of interest: Many voters said they would not bother to cast ballots in an election that they feel has been manipulated in favor of the hard-line conservative candidate, Ebrahim Raisi, Iran’s judiciary chief, who is close to the supreme leader, Ayatollah Ali Khamenei.Ebrahim Raisi, Iran’s judiciary chief and a presidential candidate, greeted the news media after voting in Tehran on Friday. Many voters expect him to win.Arash Khamooshi for The New York TimesEven if they had more choice in the matter, previous elections all ended the same way no matter the winner, many Tehran residents said — with prices and rents shooting up, employment falling and pessimism taking hold.The lines of voters at several polling sites across the capital on Friday were much shorter than in previous presidential election years, though the ongoing coronavirus pandemic also likely affected turnout. The Iranian news media reported that as of 5 p.m. voter participation was at 23 percent. Results are expected on Saturday.Beneath that listless surface, however, is a country churning with rage and hope, bitterness and faith.Some of those who leaned liberal could not quite bear to shut themselves out of the vote, even as their friends or relatives boycotted it to protest the system.“We didn’t vote because of Hemmati himself,” said Milad, 34, a bank employee who came to the Hosseinieh Ershad polling station to vote for Mr. Hemmati. Many voters refused to give full names out of fear of speaking openly about politics. “We voted because we wanted to show the other side that there is still a voice of opposition in Iran. A weak voice of opposition is better than no voice at all.”Voters on each side agreed, broadly speaking, on the biggest issues facing the country: corruption, economic mismanagement and the U.S. sanctions that are intensifying Iran’s economic misery.But if the moderate opposition was divided over whether to vote, the conservatives who showed up to cast ballots were united behind Mr. Raisi and, more important, the Islamic government his candidacy had come to stand for. (Mr. Raisi’s campaign posters often feature him alongside Ayatollah Khamenei and Maj. Gen. Qassim Suleimani, the Iranian commander whose death in a U.S. airstrike last year brought crowds of mourners onto the streets.)Supporters of Mr. Raisi held a rally in Tehran on Wednesday.Arash Khamooshi for The New York Times“Despite all the shortages and shortcomings, we love our nation, and we will defend it to the last drop of blood,” said Marziyeh Gorji, 34, who works in a government office and said she had voted for Mr. Raisi because of his ties to revolutionary figures and his experience. “The people are upset, I understand that. But not voting is not the solution.”She motioned to her 5-year-old twin sons, who wore buttons featuring General Suleimani’s face. “I will raise them to be like General Suleimani,” she said.At Lorzadeh mosque in south Tehran, a poor and religiously conservative neighborhood, Muhammad Ehsani, 61, a retired government employee, said his ballot was an expression of faith in the ideals of the Islamic revolution that brought Iran’s current leadership to power.Being a citizen was like riding a bus, he said. If things were not going well — as every voter agreed they were not — the problem was with the driver, not with the bus.“What should we do?” he said. “It’s not logical to sit at home and not get on. It’s logical to get another company, another driver.”Draped across the entrance of the mosque was a banner with a picture of General Suleimani next to the words, “The Islamic Republic is considered a shrine. Those who are voting are defending the shrine.”The supreme leader, Ayatollah Ali Khamenei, arriving to cast a ballot on Friday in Tehran.Arash Khamooshi for The New York TimesThe morning’s voting was marred by widespread reports of electronic voting systems malfunctioning and going offline from polling stations across Iran, according to Tasnim news agency, which is affiliated with Iran’s Revolutionary Guards. As polls opened Friday morning, voters showed up to hear that they could not vote, and multiple polling stations had to delay their opening by more than an hour, Tasnim reported.“This is an epidemic of ballot boxes malfunctioning now,” said Kian Abdollahi, Tasnim’s editor in chief, during a live election report on Clubhouse, the audio-only social media app. “This is unacceptable given concerns about low election turnout.”Tehran’s governor confirmed that there were technical problems with electronic voting systems at 79 polling stations across the capital.It was not immediately clear what had caused the problems.Outside the Hosseinieh Ershad polling station, Shabna, 40, a government employee who works in information technology and also gave just one name, was alternately throwing her fist in the air as she chanted “I support Hemmati” and tugging her colorful head scarf, which was slipping amid all the excitement, back into place.“We want to stop this engineered election,” she said, explaining that she believed Mr. Hemmati, as an economist, was best qualified to turn the economy around. A minute later, she was locked in an argument with a Hemmati critic.The lines of voters at several polling sites across the capital on Friday were much shorter than in previous presidential elections, though the pandemic also likely affected turnout.Arash Khamooshi for The New York TimesBut most voters interviewed on Friday did not seem to have such strong views about any particular candidate. They were there to vote because they always had, or because they believed in the system.Efat Rahmati, 54, a nurse, said it was strange that the Iranian authorities had excluded so many candidates from the race, a fact that many Iranians said had paved the way for Mr. Raisi to win. But she had still decided to vote, partly out of a personal liking for Mr. Raisi, and partly because the authorities “have more knowledge than me about this issue,” she said. “I think Raisi was better than the rest anyway.”Farnaz Fassihi contributed reporting from New York. More