Definitions include: to engage in an activity which is inherently wasteful (particularly when one is at work) and for which there isn't any tangible compensation or reward, other than one's own mental stimulation.