battery: Move changed_battery_cf() from plugin to core 44/301644/3
authorYunhee Seo <yuni.seo@samsung.com>
Wed, 6 Sep 2023 07:36:49 +0000 (16:36 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Tue, 21 Nov 2023 07:36:34 +0000 (16:36 +0900)
commit8af347261391ab53c4c428b557a8c214f26da70a
tree79b9abd9430e20c4e063ed27c85961f86aeb1fb4
parent0ecc131be2c764ecc26053a7f8b11980c145ac34
battery: Move changed_battery_cf() from plugin to core

changed_battery_cf() was used to notify with system popup
when the battery is disconnected.
Notifying battery connection status is a general function.
Thus, move changed_battery_cf() to the core battery module
and name is replaced by inform_changed_battery_connection().

Change-Id: I17ccd437be55551f8501606dbe50ddf4461d688d
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
plugins/mobile/battery/battery-notification.c
src/battery/battery-ops.h
src/battery/power-supply.c