plugin-api: deviced: Add syscommon_plugin_deviced_battery_update_health_ovp_state() 43/300143/2 accepted/tizen/unified/20231122.172540
authorYunhee Seo <yuni.seo@samsung.com>
Tue, 17 Oct 2023 09:11:31 +0000 (18:11 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Fri, 10 Nov 2023 08:10:57 +0000 (17:10 +0900)
commitad6be149d2c7449cb4660db172c83a042d4089c6
treed8dd4097918700c7ccee7d9bdba13a354acdbf2f
parentdbfa49e317102921f6fe41c8775f9aab5601ccba
plugin-api: deviced: Add syscommon_plugin_deviced_battery_update_health_ovp_state()

When the battery health state is changed to OVP, update_health_ovp_state is called
according to deviced battery policy.
It is moved from deviced mobile plugin to syscommon plugin api.

Change-Id: I00daa9d69c73e41d4c00ea928d9823292a648f94
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-battery.h
src/plugin-api/deviced/src/syscommon-plugin-deviced-battery.c