Vehicle: 2020 BMW 540i
My 2020 BMW 540i (G30, B58 engine) suddenly threw a "Drivetrain Malfunction" warning and went into limp mode while I was driving on the highway. I immediately pulled over.
After restarting, the warning reappeared, and the car still feels very limited in power. I scanned it with my diagnostic tool, and I'm getting codes P0299 (Turbocharger/Supercharger Underboost) and P00BD (Mass Air Flow Sensor 'A' Circuit Range/Performance - Air Flow Too High).
Could this be a bad MAF sensor, or something more serious with the turbo system? The car has about 45,000 miles on it.