I recently had a similar problem on my 2013 C-Max Energi. After driving on battery only, the trip mileage would read anywhere from 80 to 150 MPGe. Then after some work at the dealer, it started reading 999.9. The answer is in the menu system. Using the arrows on the left of the steering wheel, left arrow to arrive at the main menu. Down arrow and select: Settings, Display, Units, Fuel Economy, Fuel + Electric. Somehow mine had gotten set to Fuel only. This fixed it for me.