To while away something (or while something away) is to spend time relaxing because you have nothing else to do, or because you are waiting for something.
Examples of use:
1. We had a lovely relaxing holiday. We spent most of the week whiling our days away on the beach.
2. My bus was late so I whiled away my time by watching the people go by.
infinitive – while away
present simple – while away and whiles away
-ing form – whiling away
past simple – whiled away
past participle – whiled away
Image by belgianchocolate