summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDoHyun Pyun <dh79.pyun@samsung.com>2020-03-24 16:22:55 +0900
committerDoHyun Pyun <dh79.pyun@samsung.com>2020-03-26 08:43:02 +0900
commit16a5bbd7f54ffb90ddf80b11d23279361c853341 (patch)
tree77853dd7bbbee3832bef427e5245581ac1de198d /test
parenteec9e84a4fdb5bf2065865be9bc8bbe44053a565 (diff)
downloadbluetooth-16a5bbd7f54ffb90ddf80b11d23279361c853341.tar.gz
bluetooth-16a5bbd7f54ffb90ddf80b11d23279361c853341.tar.bz2
bluetooth-16a5bbd7f54ffb90ddf80b11d23279361c853341.zip
Add the Rx / Tx / idle time in the battery monitor
Change-Id: I3e9370f8f60791aef9d1414c1567a0e94b75f44c Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Diffstat (limited to 'test')
-rw-r--r--test/bt_unit_test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/bt_unit_test.c b/test/bt_unit_test.c
index 61fd1ed..8d8a1b7 100644
--- a/test/bt_unit_test.c
+++ b/test/bt_unit_test.c
@@ -4426,6 +4426,10 @@ int test_input_callback(void *data)
} else {
TC_PRT("Battery data: %ld %ld %d %d", battery_data.session_start_time,
battery_data.session_end_time, battery_data.session_scan_time, battery_data.session_connected_time);
+
+ TC_PRT("Tx time [%d], Rx time [%d], Idle time [%d]", battery_data.tx_time,
+ battery_data.rx_time, battery_data.idle_time);
+
if(battery_data.atm_list == NULL) {
TC_PRT("No data transaction in this session");
break;