To waste time, to spnd time doing something in a useless way.
If the students piddle around too long, they will miss their train!
The word 'piddle' is often followed by 'around': piddle around with something.