Trade-off between energy conservation and efficiency is one of the most important issues in designing Wireless Sensor Network (WSN) based applications. Network life time is primarily determined by the life time of battery. Recently, energy harvesting techniques that will recharge the battery in different non-conventional ways are being investigated by researchers. In this paper, an adaptive cross layer protocol is proposed which will provide trade off between energy harvesting time and active time for message transmission with the aim of increasing network lifetime. Depending on the value of various network parameters like, remaining energy of node, node density, message density in a particular region of the network, the cross-layer protocol will change its policy. The paper also proposes a cluster head selection method that ensures maximum network life time and higher quality of service. The result shows an overall increase in network lifetime as compared to other protocols.