Ear infections are very painful. I would get him into the vet ASAP, especially since he is displaying low energy.
Here is what can happen if an ear infection is not treated properly, in addition to hearing loss (warning, graphic photos):
http://www.yorkietalk.com/forums/sic...going-vet.html
Best wishes to your little guy.