From e808cd1dcf0cc5e04b27b4900305fd77e19e5a3f Mon Sep 17 00:00:00 2001 From: DoHyun Pyun Date: Mon, 6 Apr 2020 16:46:06 +0900 Subject: [PATCH] Increase the session timeout value 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 --- bt-service-adaptation/services/bt-service-battery-monitor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bt-service-adaptation/services/bt-service-battery-monitor.c b/bt-service-adaptation/services/bt-service-battery-monitor.c index 2219b3a..16bd835 100644 --- a/bt-service-adaptation/services/bt-service-battery-monitor.c +++ b/bt-service-adaptation/services/bt-service-battery-monitor.c @@ -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; -- 2.7.4