How to get the phone's location when battery is draining out? which feature is preferable to use to fetch my current location?
Use Network Provider and disable WiFi.
Use network provider and enable WiFi.
Use GPS provider and fetch from satellites.
either use network provider with WiFi disabled or use lastKnownLocation.
If battery is draining out, then we should not use too much of battery power. Using GPS or WiFi will take lot of battery power. so either use network provider with cell tower or use GPS and get last known location.
Back To Top