P0171 on a 2005 3.0i
I have a 2005 X3 3.0i with 105k miles on it. I had the SES light come on a couple weeks ago and cleared out about 4 codes. The light came on a few days later on my way to the bank and then it was off when I came out so I didn't think much of it. This weekend I took a trip to the mountains (3 hour drive from where I am) and I noticed that the car would surge when it would accelerate up the mountain. Normal driving is fine, starting is fine, only time I notice it is when it accelerates on incline. Of course, the light came back on right after I noticed this. The light stayed on the trip back home and brings up a P0171 code.
I've read on here that it could be any number of things to trigger this code but is there something that stands out when the car surges up a hill? Any help is appreciated!