My theory of boredom: when bored, one becomes more observant of their surroundings to counteract this primitive emotion. Not particularly useful in the modern setting, but one can imagine its usefulness in prehistoric times, where one must be aware of their surroundings in order to avoid predators.
