A 1989 study indicated that an individual's impression of boredom may be influenced by the individual's degree of attention, as a higher acoustic level of distraction from the environment correlated with higher reportings of boredom.[32] Boredom has been studied as being related to drug abuse among teens.[33] Boredom has been proposed as a cause of pathological gambling behavior. A study found results consistent with the hypothesis that pathological gamblers seek stimulation to avoid states of boredom and depression.[34] It has been suggested that boredom has an evolutionary basis that encourages humans to seek out new challenges. It may influence human learning and ingenuity.[35]
The authors of this paper point to an interesting study by Robin Damrad-Frye and James Laird in the August 1989 issue of the Journal of Personality and Social Psychology. In this study, participants had to listen to a tape of a person reading a Psychology Today article. In the next room, there was a television soundtrack from a soap opera playing. For some groups listening to the article, the TV was very loud and distracting, for others it was barely noticeable, and for some it was not playing at all. After listening to the article, people rated their boredom during the study. 
“I don’t like to be bored, but without it I couldn’t escape from it. Creativity is the byproduct of escapism.⁣⁣ Inventiveness is the byproduct of laziness.⁣⁣ Productivity is the byproduct of your mom.⁣⁣ Lol. Anyways. ⁣⁣The bored do weird stuff to not be bored.⁣⁣ The lazy invent things like cars so they don’t have to ride horses. ⁣⁣Get bored to get busy.”

When the antiproton was discovered … it sent a wave of ennui through the physics community. Not that its discovery was unimportant, but on the basis of Dirac's theory, everybody expected it. — Roger G. Newton, The Truth of Science, 1997 Chauncey and I were keen enough about our aesthetic solution to the ennui of war to try to proselytize others. He organized discussion groups with the crew; I took volunteers to visit landmarks … — Louis Auchincloss, "Atlantic War," in Authors at Sea, ed. Robert Shenk,  1997 The attendant outside was standing on tennis balls, exercising the soles of her feet, her body swaying back and forth with the ennui of jelly. — Edna O'Brien, New Yorker, 17 June 1991 Thus the days of life are consumed, one by one, without an object beyond the present moment; ever flying from the ennui of that, yet carrying it with us … — Thomas Jefferson, in a letter dated 7 Feb. 1787 Thomas Jefferson: Writings,  1984 the kind of ennui that comes from having too much time on one's hands and too little will to find something productive to do