Shorten interval between device scans and reduce duration of retries.

This CL modifies Manager to shorten the interval between device scans at
initialization or after resuming from suspend mode. That helps improve
the auto-connect performance. It also reduces the duration of retries as
the previous value is much longer than needed.

BUG=chrome-os-partner:10179
TEST=Observe interval between device scans and number of retries.

Change-Id: If31192a926f3d76ea583706b03a813312d2e02d2
Reviewed-on: https://gerrit.chromium.org/gerrit/25068
Reviewed-by: Darin Petkov <petkov@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
Commit-Ready: Ben Chan <benchan@chromium.org>
diff --git a/manager.cc b/manager.cc
index bcec695..7460383 100644
--- a/manager.cc
+++ b/manager.cc
@@ -17,8 +17,8 @@
 
 namespace {
 
-const int kMaxNumberOfDeviceScans = 10;
-const int kDefaultDeviceScanIntervalInSeconds = 3;
+const int kMaxNumberOfDeviceScans = 15;
+const int kDefaultDeviceScanIntervalInSeconds = 1;
 
 gboolean OnDeviceScanNeeded(gpointer data) {
   CHECK(data);