From 22b20e3ad70f212112683797b286a6d2c127add6 Mon Sep 17 00:00:00 2001 From: Hyotaek Shim Date: Wed, 22 Jul 2020 10:52:55 +0900 Subject: [PATCH] Fix battery_info structure name (Before) struct battery_info (After) struct device_battery_info Change-Id: I9b8e4f9bb1c99ccca444cce9c54d0c02580b093e Signed-off-by: Hyotaek Shim --- src/battery_dump/bm_listeners.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battery_dump/bm_listeners.c b/src/battery_dump/bm_listeners.c index 2f246ba..6891103 100644 --- a/src/battery_dump/bm_listeners.c +++ b/src/battery_dump/bm_listeners.c @@ -137,7 +137,7 @@ static int fill_AppId_info(char *app_id) static int fill_battery_info() { ENTER; - struct battery_info info; + struct device_battery_info info; int ret = device_battery_get_info(&info); if (ret == DEVICE_ERROR_NONE) { data_obj->battery_level = info.capacity; -- 2.7.4