Wireless sensor nodes are commonly deployed in outdoor or hazardous environments. Due to limited resources and power consumption required to perform tasks, these nodes may experience power shortages and thus lead to the disconnection of the whole wireless