To pass time doing unimportant things; to mess around.
To piss away: to waste or squander time, money, etc.
He piddled away three hours at the bus station waiting for Gabe to show up.