The invention relates to a method and a device for acquiring fuel quantity data in a
fuel tank of a vehicle. In the method, the process of acquiring the fuel quantity data when the vehicle is in the running state comprises the following steps that: an automobile power supply supplies power to a
central processing unit (CPU) through a
regulated power supply, an adaptive
cruise control (ACC) switchis switched on, and the automobile power supply supplies power to a fuel float sensor through the ACC switch and a
fuel gauge; and the CPU intermittently acquires fuel level signals output by the fuel float sensor, converts the fuel level signals into digitalized fuel quantity data and corresponding
acquisition time data and stores the digitalized fuel quantity data and the corresponding
acquisition time data. In the method, the process of acquiring the fuel quantity data when the vehicle is in the stopping state comprises the following steps that: the automobile power supply supplies power to the CPU through the
regulated power supply and the ACC switch is switched off; the automobile power supply supplies power to an auxiliary power supply controller through the
regulated power supply; and the CPU intermittently controls the auxiliary power supply controller to supply power to the fuel float sensor, synchronously acquires the fuel level signals in the
fuel tank, converts the fuel level signals into the digitalized fuel quantity data and the corresponding
acquisition time data and stores the digitalized fuel quantity data and the corresponding acquisition
time data. By the method, the fuel quantity data in the
fuel tank when the vehicle is in the running state and the stopping state can be provided.