As a verb, the older meaning is "to busy oneself with trifling matters", possibly from the Low German word piddeln.  I might, for instance, "piddle around" instead of getting on with something more important (and this is a phrase I would actually use without self-consciousness).  In the senses "to urinate, urine", it's possibly formed from a combination of pee, piss and puddle.