A Distributed Power Management Policy for Wireless Ad Hoc Networks