Network capacity is an essential metric of any Communication Network. Recent research works have proved that Network Coding can improve the network capacity of a communication network. This paper proposes a strategy called Enhanced Encoding Algorithm (EEA) for network coding process with minimum energy. Only limited nodes in the network do network coding. The suitability of the node to do network coding is based on its position in the network and only these optimal position nodes contribute network coding. Also only limited packets called optimal packets undergo the network coding process based on their structure of flow. EEA allows the network coding conditions to be verified with the dynamic topology. The simulation results confirm the possibility of reduction of energy consumption by the authors' algorithm.