while a period of time away

while a period of time away (doing something)

to spend or waste time doing something. I whiled an hour away just staring at the sea. Liz whiled away the entire afternoon, snoozing. I just love to while away the hours.
See also: away, of, period, time