An pressure sensor is an alternative, but since the pressurehight of the kettle is so low i'm unsure if an pressure sensor could give an accurate reading.
In my kettle the pressure at the bottom with filled kettle with water is about 0,5psi. So the pressure differanse at one litre is about...