Stop in for a cup of coffee

I need to figure out how to track my fuel. The gauge is not working, have to mess around with it, maybe a ground wire? No gas gauge and no speedometer, use my phone I guess.