Abstract-The objective of this work is to reduce energy consumption of source programs written in C. The underlying technique employs code transformation which focuses on cohesion. Four classes of transformations will be considered: function, loop optimization, control structure, and operator. Code transformation is evaluated by effectiveness, efficiency, space complexity, number of instructions executed, number of pages, size of memory page allocated, and energy consumption. The results suggest that different cohesion level will affect the energy consumption. Moreover, different types of source code yield different energy consumptions based on cohesion measures.