plugin-api: deviced: Add syscommon_plugin_deviced_battery_is_possible_to_notify_batte... 08/296408/5 accepted/tizen/unified/20230731.175325
authorYunhee Seo <yuni.seo@samsung.com>
Wed, 26 Jul 2023 11:00:04 +0000 (20:00 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Fri, 28 Jul 2023 04:07:37 +0000 (13:07 +0900)
commit0dc9ac2cbb2709cc7101f9ef84fec941610c9d96
tree19d2abbd1bed10c27655142d794ada8b04474cbd
parent4389240a8eecbafdbe3f301ca545da53c4c8b84f
plugin-api: deviced: Add syscommon_plugin_deviced_battery_is_possible_to_notify_battery_full()

To use deviced plugin battery module, plugin backend battery module getter/setter are added.
And, new plugin module definition "SYSCOMMON_PLUGIN_MODULE_DEVICED_BATTERY" is added.
Also, to utilize plugin backend battery module function,
new battery interface header and source file was created.

To use plugin backend module, these are newly added.
- int syscommon_plugin_deviced_battery_get_backend(void);
- int syscommon_plugin_deviced_battery_put_backend(void);
- int syscommon_plugin_deviced_battery_is_possible_to_notify_battery_full(bool *possible_notify);
    -> This is used to determine whether to inform the fully charged or not.

* libsyscommon.spec typo was also corrected.

Change-Id: I30a76504cd27ab44000459080fb7cd0f72f42c92
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
packaging/libsyscommon.spec
src/plugin-api/common/include/syscommon-plugin-common.h
src/plugin-api/common/src/syscommon-plugin-api-list.h
src/plugin-api/deviced/CMakeLists.txt
src/plugin-api/deviced/include/syscommon-plugin-deviced-battery-interface.h [new file with mode: 0644]
src/plugin-api/deviced/include/syscommon-plugin-deviced-battery.h [new file with mode: 0644]
src/plugin-api/deviced/src/common.h [new file with mode: 0644]
src/plugin-api/deviced/src/syscommon-plugin-deviced-battery.c [new file with mode: 0644]