Does this condition has anything to do with idle Air Control Valve (IACV):
– the car earns the P0171 CEL at idle
– When driving steadily, CEL goes off.
The car last yr gave P0505 – also AC would shuts off at idle.
So I cleaned the IACV and AC started working fine.
I didn’t change the IACV gasket that it introduced a leak which shop fixed – Ever since shop fixed it, the P0171 came.