sometimes all we can do is love them and make them as comfy as possible till the end. I hope he'll perk up a bit for you and you get a bit more time with him. Always the hardest part of dog ownership when they get old and frail.