This is a quote from an article titled What Boredom Does to You:
Unless you are on the manager's schedule, you need unstructured time during the day. Personally, boredom is my only effective strategy to writing music. There's no way I can write music with a busy mind. I need to reach the bottom of my thoughts to start writing music. And I never really start writing music, my mind starts wandering and does it for me. It's the same for any creative work in a professional environment.
That's also why writers, designers, programmers are known to arrive late at work or tend to be productive at night. It's not that they don't want to work, they're unconsciously trying to avoid busyness to start thinking clearly.
It seems to be true for kids too. Boredom encourages imagination.
So go ahead, get bored.