I keep my priorities firmly in mind, accept that not all my time can be used 'profitably' or 'productively', and often find I need to rethink my definition of both.
I focus on others to head off any bouts of moping.
I also draw a distinction between things I enjoy and things that make me happy, which can help.