What is the meaning of Beat_one's_meat?

To masturbate manually by stroking or rubbing one's penis.

To waste time; to engage in an unproductive activity.

Source: wiktionary.org