Brent crude held steady above $109 a barrel on Tuesday, as unrest and low output in Opec-producer Libya offset expectations of a build in weekly US crude stocks to a record high.
Libyan oil output was capped at 210,000 barrels per day, far below the 1.4 million bpd produced through mid-2013, with major western oilfields, El Sharara and El Feel, still shut a week after the government said it reached a deal with protesters to reopen them.
French oil major Total said on Monday it cut its presence in capital Tripoli to a minimum over security concerns, while Algerian state energy company Sonatrach is evacuating workers from the country, following clashes in Libya over the weekend.
"Whatever happens in Libya at the moment shouldn't really matter, basically because things can't get much worse than they are," said Jonathan Barratt, chief executive of commodity research firm Barratt Bulletin in Sydney.
Brent crude rose 13 cents to $109.50 a barrel early on Tuesday, after settling 38 cents lower.
US crude for June delivery was 10 cents higher at $102.71 a barrel. The contract, which closed 59 cents up, expires on Tuesday.
US crude for July delivery was 10 cents higher at $102.21 per barrel.
US commercial crude stocks were expected to have risen by a million barrels in the week to 16 May, a preliminary Reuters poll of four analysts showed.
That would take crude inventories to a new record after inventories hit 399.4 million barrels in the week to 25 April, the highest since the US Department of Energy's Energy Information Administration (EIA) began collecting data in 1982.
The poll was taken ahead of weekly inventory reports due later on Tuesday from industry group the American Petroleum Institute (API) and on Wednesday from the EIA.
"The summer driving season could provide some support, but the economies aren't yet showing substantial growth in consumption," said Barratt.
"I don't think there's a lot out there that can force prices either way. I think we're stuck in this range for some time."
The Ukraine crisis continued to support oil prices, after NATO and the United States said they saw no sign troop movements following a Kremlin announcement that President Vladimir Putin had ordered Russian forces near Ukraine back to their bases.
Europe's Energy Commissioner said on Monday progress had been made in the gas price dispute between Russia and Ukraine after talks with Russia's energy minister and Gazprom. A new round of negotiations is scheduled for 26 May.