plugin-api: deviced: Add attribute for battery health status 43/312843/1
authorYunhee Seo <yuni.seo@samsung.com>
Thu, 30 May 2024 06:00:34 +0000 (15:00 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Mon, 17 Jun 2024 04:27:41 +0000 (13:27 +0900)
commit38182e14ff97f2bf0c03a1ac4cbff09dde138ccc
tree72bc2365a833bfc567ad6517894e874f82da9ec3
parentb6e10eabcf25d2f4da7d357f08f093ccd5b30c26
plugin-api: deviced: Add attribute for battery health status

New attribute:
 - id: DEVICED_BATTERY_ATTR_INT_STATUS_HEALTH
 - type: SYSCOMMON_RESMAN_DATA_TYPE_INT
 - setter: X
 - getter: O

New attribute:
 - id: DEVICED_BATTERY_ATTR_STRING_STATUS_HEALTH
 - type: SYSCOMMON_RESMAN_DATA_TYPE_STRING
 - setter: X
 - getter: O

To support deviced battery resource driver,
battery resource enum type is added to deviced_resource_type.

Change-Id: Ibd6ccbcc6c67cf823bd6302495ab557ffd2b6704
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
src/plugin-api/deviced/include/system/syscommon-plugin-deviced-battery-interface.h
src/plugin-api/deviced/include/system/syscommon-plugin-deviced-common-interface.h