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 */
time_t startTime; /* start time of feature data collection session */
time_t stopTime; /* stop time of feature data collection session */
GSList *atm_list; /* application time map('app_time_map_st2') list for all active applications between start & stop */
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;
_I("BT usage data for battery monitor");
_I("startTime: %ld", bluetooth_record->startTime);
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 */
time_t startTime; /**< start time of feature data collection session */
time_t stopTime; /**< stop time of feature data collection session */
GSList *atm_list; /**< application time map('app_time_map_st2') list for all active applications between start & stop */