to spend time in a pleasant lazy way
while sth away
We whiled away the time reading and playing cards.
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition