The effects of beaconing on the battery life of ad hoc mobile computers