Location-Based Services on Mobile Phones: Minimizing Power Consumption