Increase the session timeout value 81/229881/2
authorDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 6 Apr 2020 07:46:06 +0000 (16:46 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 6 Apr 2020 07:49:09 +0000 (16:49 +0900)
The battery monitor increases the duration to read
information from 3 minutes to 10 minutes. So the
timeout value also need to increase.

Change-Id: Ibf9d62cbf7ba637c80f389c63faf07298ef244eb
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
bt-service-adaptation/services/bt-service-battery-monitor.c

index 2219b3a..16bd835 100644 (file)
@@ -39,8 +39,8 @@
 #define VCONFKEY_BATTERY_MONITOR_STATUS "db/bluetooth/bmstatus"
 #endif
 
-/* 10 minutes */
-#define BT_BM_SESSION_TIMEOUT 600
+/* 20 minutes */
+#define BT_BM_SESSION_TIMEOUT 1200
 
 static struct timeval scan_start;
 static struct timeval connect_start;