level-sensing device