If memory serves correctly, the historical Buddha did mention contemplating/investigating energy (viriya). Also remember mention of energy leading to the cessation of dukka.
But does the Buddha, or other Buddhist teachings, ever expound upon energy in-depth, specifically techniques on how to raise/rouse energy — perhaps with the same level of detail the Abhidhamma does with the 121 types of consciousness — other than by intention? (as in:
“What is virya? It is the mind intent on being ever active, devoted, unshaken, not turning back and being indefatigable. It perfects and realizes what is conducive to the positive.” via: The Abhidharma-samuccaya from https://en.m.wikipedia.org/wiki/Vīrya )