If I remember correctly, hypothyroidism can also have those symptoms. I think maybe a UTI could also. Dogs DO get urinary tract infections.

Trip to the doc, preferably with a urine sample, is in order. Hope it is nothing serious.