Noun - trifling - the deliberate act of delaying and playing instead of working
Or
Noun - dawdling - an act of going very slowly and wasting time.
TFD
Both are single words that describe time-wasting activities without swearing. Trifling is derived from trivial, which is appropriate in this case, and dawdling sounds like doodling, another way to waste time.
I would choose my words because they add more of a descriptive and evocative setting to a given scenario. Trifling is frivolous and playful time-wasting, dawdling sounds lazy and aimless.
Also,
Loiter - verb - To stand idly about; linger without any purpose.
which has a more legalistic side to it.