Lots of bikes have or had fuel level sensors, including newer BMW's, sometimes they even work half decent. Most are integrated with a computer module that is typical on later models and that's where they get the power and control for the display electronics. So simple answer is, if your tank was never so equipped, it gets expensive real quick.