Just in case, take him to the vet and get a full check-up.  Could catch something that might be going on at early stage.  Lying down right at your feet instead of a greeting is worrisome to me!  Not typical Yorkie greeting!  Maybe just UTI or something simple and a couple of pills and he's right as rain.  Keep us posted, please.  
