Adaptive power-aware metric in mobile ad hoc networks