Use GPS to get the location information periodically