Apply hal-api-device-battery module HAL ABI versioning 47/309947/1
authorYunhee Seo <yuni.seo@samsung.com>
Thu, 18 Apr 2024 07:58:41 +0000 (16:58 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Thu, 18 Apr 2024 08:00:05 +0000 (17:00 +0900)
As HAL ABI versioning is applied to hal-api-device-battery module,
inclusion path and data definition is changed.

Change-Id: I8ec8ba530c927f9530b7289e54e685f2f10d9745
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
src/battery.c

index 4b837a3..c261a17 100644 (file)
@@ -20,7 +20,7 @@
 #include <string.h>
 #include <errno.h>
 #include <vconf.h>
-#include <hal/hal-battery.h>
+#include <hal/hal-device-battery.h>
 #include <libsyscommon/libgdbus.h>
 #include <system_info.h>
 
@@ -134,7 +134,7 @@ int device_battery_get_level_status(device_battery_level_e *status)
 //LCOV_EXCL_STOP
 
 //LCOV_EXCL_START
-static void battery_get_info(struct battery_info *info, void *data)
+static void battery_get_info(hal_device_battery_info_s *info, void *data)
 {
        struct device_battery_info *bat = data;