made a few small changes to variables, added all the geofence tests though I feel perhaps a case setup would be better then else if. Currently no GPS power saving.