The sender unit in the tank can do that. It is a variable resistor that you may get away with cleaning. You will need to remove it from the tank (located tank top right side) as you move the float you will see a rod with a couple fine fingers on a small circuit board, Clean the contact points on the fingers lightly with some alcohol, being very careful not to bend as they are probably brittle. Or, replace the sender.