One more key element of boredom is control. Boredom often occurs when you have little control over your situation. Waiting rooms, lectures, and airline gates are all places where you have little control over your situation. Normally, we react to unpleasant situations by changing the situation. If you don’t like a book you are reading, for example, you close it and do something else. Boredom happens when you are unable to change the situation.  
Boredom also has its benefits. It is important to see boredom as a “call to action” (Svendsen, 1999). Nietzsche suggested that men of rare sensibility value boredom as an impetus to achievement. Boredom can be a catalyst for action. It can provide an opportunity for thought and reflection. It can also be a sign that a task is a waste of time—and thus not worth continuing.
Thomas Goetz, the lead researcher of the work and a professor at the University of Konstanz in Germany, says the multiple types of boredom can be loosely characterized along two dimensions. First, whether it is associated with a positive (score of 1) or negative (score of 5) emotion, and second, by degree of arousal, from calm (score of 1) to fidgety (score of 5).
Absent-mindedness is where a person shows inattentive or forgetful behaviour.[20] Absent-mindedness is a mental condition in which the subject experiences low levels of attention and frequent distraction. Absent-mindedness is not a diagnosed condition but rather a symptom of boredom and sleepiness which people experience in their daily lives. When suffering from absent-mindedness, people tend to show signs of memory lapse and weak recollection of recently occurring events. This can usually be a result of a variety of other conditions often diagnosed by clinicians such as attention deficit hyperactivity disorder and depression. In addition to absent-mindedness leading to an array of consequences affecting daily life, it can have as more severe, long-term problems.

^ Vodanovich, Stephen J. (November 2003) "Psychometric Measures of Boredom: A Review of the Literature" The Journal of Psychology. 137:6 p. 569 "Indeed, a shortcoming of the boredom literature is the absence of a coherent, universally accepted definition. The lack of an agreed-upon definition of boredom has limited the measurement of the construct and partly accounts for the existence of diverse approaches to assessing various subsets of boredom."
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