Theory of Operation
WARNING: This page is about a different car, the 2011 RAM Cab & Chassis. However, it is still accessible from the selected car via links, so may be relevant.
Fuel level is recorded when the ignition key is turned off and is compared to the fuel level when the ignition key is turned back on. The Powertrain Control Module (PCM) recognizes an increase in fuel level and will fail the Medium leak test because the fuel cap is broken or not installed properly. GAS CAP will be displayed in odometer to inform the owner that the cap is off of loose.