To engage in an activity whose only purpose is to make the time seem to pass more quickly; to fill the time between activities.
To spend time sitting idly, not doing anything important.