I will create a service to do something when some hot situation occurs.
By hot situation I mean:
- the GPS/cell coordinates are in known zone;
- known Bluetooth device detected;
- known Wi-Fi network detected;
- weather info has change;
- considerable movement speed change detected: eg. from walking to travel by car.
As you see these tasks are heavy, and will be run frequently. 15 mins, but sometimes even more, when I have to detect the movement speed of the device.
The question I have, will this drain the battery heavily?
If so, what recommendations do you have to minimize battery drain with the above tasks?