Power aware compilation is a software approach to reducing energy consumption by optimizing code during compilation. It works by [1] analyzing assembly code produced during compilation to calculate clock cycles needed for execution, [2] developing optimization models to replace instructions with equivalents needing fewer cycles, and [3] generating optimized assembly code requiring less energy to run. This technique aims to make developers aware of programs' energy efficiency and influence more energy-conscious software development.