ChocolateCream81 gave some great advice
I recently lost my long-haired gentleman, and it really is about keeping them most comfortable.
Definitely keep him warm...adding to the soft foods, maybe try some baby food? I usually have some kind of organic chicken one for them, just look for no onioin/garlic of course!
Also check the condition of his nails/eyes/teeth, make sure the teeth and eyes are not overgrown as if he is less active, this may be the case and you could wash a rock thoroughly and place it under his water bottle so he may use it. You may find that him sleeping a lot also means he builds up a bit of stuff under his eye, which you can gently wipe off with a cotton bud and a bit of warm water
A nice simple cage set up will be good as well! Remove anything he could tumble off and keep it as a nice usual layout, with a good thick layer of bedding and extra so he keeps nice and warm.