Added functions to minimize battery impact

Added a function to disable the location updates when the app goes to
the background and to turn them back on when the app is resumed.
Testing indicates that the system may do this automatically, though, so
I'm not sure that it will generate any savings.  Delete these functions
if any issues arise (though they don't seem particularly dangerous.)