Energy Conservation in Heterogeneous Smartphone Ad Hoc Networks