Add the Rx / Tx / idle time in the battery monitor
[platform/core/connectivity/bluetooth-frwk.git] / bt-api / bt-event-handler.c
index f0167ea..9240b15 100644 (file)
@@ -474,6 +474,9 @@ void __bt_adapter_event_filter(GDBusConnection *connection,
                data->session_end_time = info->session_end_time;
                data->session_scan_time = info->session_scan_time;
                data->session_connected_time = info->session_connected_time;
+               data->tx_time = info->tx_time;
+               data->rx_time = info->rx_time;
+               data->idle_time = info->idle_time;
                data->atm_list = NULL;
 
                BT_INFO("Received battery data in bt-api: %ld %ld %d %d.",