Remove the scanTime in BT power model 12/229112/2 accepted/tizen/unified/20200402.155602 submit/tizen/20200401.080249
authorDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 30 Mar 2020 02:04:13 +0000 (11:04 +0900)
committerPyun DoHyun <dh79.pyun@samsung.com>
Wed, 1 Apr 2020 07:37:45 +0000 (07:37 +0000)
Change-Id: I2c8b2bc62e56fd9c236c8a14aba45491950260d7
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
plugin/bm-bt-plugin/include/bm_bt_plugin.h
plugin/bm-bt-plugin/src/bm_bt_plugin.c
plugin/common/include/bm_plugin_interface.h

index f4077d3..71e5e37 100644 (file)
@@ -56,7 +56,6 @@ typedef struct {
  * structure for "bluetooth" feature data.
  */
 typedef struct {
-       uint scanTime;                  /* Total time spent by the resource in (scan) mode during the session */
        uint connectedTime;             /* Total time spent by the resource in (connected) mode during the session */
        uint rxTime;                    /* Total time spent by the resource in (RX) mode during the session */
        uint txTime;                    /* Total time spent by the resource in (TX) mode during the session */
index 9f9b7f3..9c1e93a 100644 (file)
@@ -125,7 +125,6 @@ int get_feature_data(bm_data_h *handle, bm_plugin_data_type_e type)
 
        bluetooth_record->startTime = battery_data.session_start_time;
        bluetooth_record->stopTime = battery_data.session_end_time;
-       bluetooth_record->scanTime = battery_data.session_scan_time;
        bluetooth_record->connectedTime = battery_data.session_connected_time;
        bluetooth_record->rxTime = battery_data.rx_time;
        bluetooth_record->txTime = battery_data.tx_time;
@@ -133,7 +132,6 @@ int get_feature_data(bm_data_h *handle, bm_plugin_data_type_e type)
        _I("BT usage data for battery monitor");
        _I("startTime: %ld", bluetooth_record->startTime);
        _I("stopTime: %ld", bluetooth_record->stopTime);
-       _I("scanTime: %u", bluetooth_record->scanTime);
        _I("connectedTime: %u", bluetooth_record->connectedTime);
 
        /* Getting app data */
index b6d6b65..c2350a3 100644 (file)
@@ -151,7 +151,6 @@ typedef struct {
  * structure for "bluetooth" feature data.
  */
 typedef struct {
-       uint scanTime;                  /**< Total time spent by the resource in (scan) mode during the session */
        uint connectedTime;             /**< Total time spent by the resource in (connected) mode during the session */
        uint rxTime;                    /**< Total time spent by the resource in (RX) mode during the session */
        uint txTime;                    /**< Total time spent by the resource in (TX) mode during the session */