Blog · 2026-11-10

OBD-II Fuel type and level of Monofuel Cars

Stefan Bogdanescu

Founder & Senior Architect

OBD-II Fuel Type and Level on Monofuel Vehicles

Developing diagnostic applications like Torque often reveals a stark contrast between bifuel vehicles and standard monofuel cars. When working with engines that support dual fuel systems, such as Gasoline + CNG, retrieving specific data points is straightforward. A command for PID 0151 (Fuel Type) and PID 012F (Fuel Level) typically returns valid values, allowing your app to display the current operating mode or tank status immediately.

However, when targeting vehicles that run exclusively on either diesel or gasoline, this same approach frequently fails. Instead of receiving a data payload, the ECU responds with 7F 01 22. In the OBD-II protocol, this specific response code indicates "No Available PID" (NAPID). The vehicle is explicitly stating that it does not support reporting fuel type or level via these standard PIDs. This behavior was observed across three different test subjects: two Fiat Pandas (one diesel, one gasoline) and a Smart Fortwo gasoline model. Despite the variation in manufacturers and engine architectures, all returned the identical error message when queried for fuel data using the standard bifuel commands.

The root cause lies in how the OBD-II specification defines these PIDs versus how individual manufacturers implement them. PIDs 0151 and 012F are not universally standardized definitions; they are often manufacturer-specific or reserved for vehicles where the ECU actively tracks multiple fuel sources. On a monofuel vehicle, the concept of "fuel type" is static from the factory—there is no need to report it because it never changes. Similarly, if the manufacturer decides that fuel level reporting is handled via a different, non-standard PID or a proprietary command set, querying the standard OBD-II PIDs will yield the 7F 01 22 response.

For developers building diagnostic tools, the immediate implication is that you cannot assume standard PIDs will work for every vehicle. Your application logic must gracefully handle the NAPID response. If 7F 01 22 is returned for fuel type or level, it confirms that the ECU does not expose this data through the requested PID. Attempting to parse the result as a valid value (e.g., interpreting 7F 01 22 as a number) will corrupt your dataset. You must treat this response as a definitive "data unavailable" signal for those specific parameters on that specific vehicle.

This limitation extends beyond just fuel type and level. Many monofuel vehicles do not provide standard OBD-II access to fuel tank capacity or current range either, relying instead on proprietary manufacturer commands. These commands are often locked behind specific hardware keys or require a handshake protocol that generic diagnostic tools cannot replicate without specific tuning files. Even advanced devices capable of reading extended data streams may struggle if the manufacturer has not enabled these features for third-party scanners.

Consequently, there is no universal "common diagnostic device" command that forces a monofuel car to report fuel level via PID 012F if the manufacturer has chosen not to enable it. The ECU's decision to return 7F 01 22 is intentional and reflects the hardware configuration of the engine management system.

If your application requires precise fuel monitoring for monofuel vehicles, you must investigate whether the specific vehicle model supports proprietary PIDs. Some manufacturers publish these in their technical service manuals or OBD-II database repositories. Without access to these manufacturer-specific definitions, you are limited to reporting that the data is unavailable. In many cases, the only reliable way to obtain this information is through a dedicated manufacturer-approved scanner that can execute the specific key sequence required to unlock those data fields.

For open-source projects aiming to support as many vehicles as possible, documenting which PIDs return NAPID for monofuel platforms is crucial for user expectations. Users expecting Torque-like functionality need to understand that if their diesel Smart or gasoline Fiat returns 7F 01 22, it is a hardware limitation of the ECU, not a bug in the scanning protocol. Your software should log this discrepancy and perhaps offer an alternative data source if available, such as battery voltage correlation for hybrid systems or manufacturer-specific API integrations, rather than attempting to force standard OBD-II queries that are known to fail on these architectures.