A probabilistic power-aware routing algorithm for wireless ad-hoc networks