Abstract:-Wireless Sensor Networks (WSNs) have more attention in community and actual everyday life. The lifetime of WSN is a critical parameter for Wireless Sensor Networks (WSNs). Wireless sensor network (WSN) refers to spatially dispersed and dedicated sensors that monitor and record the physical conditions of the environment and forward the collected data to a central location. WSNs can measure environmental conditions such as temperature, sound, pollution levels, humidity and wind. Wireless sensor node consists of sensor, trans receiver, receiver, battery. This focus on battery part of the node and the efficient utilization of energy source,that is, battery in sensor node to reduce the energy consumption of nodes, so that the network lifetime can improve. Most of the previous sensor nodes focus on uniform battery allocation. This paper focuses on improving wireless sensor network lifespan with heterogeneous spatial power consumption distributions to sensor nodes This gives solution to the lifetime–aware battery allocation problem for sensor networks with heterogeneous power distributions. Keywords: Wireless sensor network, lifetime, battery allocation, heterogeneous power distribution