energy implementation started

Change-Id: I468c40aed998c4ca90ec26190555d5506f1520f6