power: fix sleep/wakeup dbus signal handler 17/267717/3
authorYoungjae Cho <y0.cho@samsung.com>
Thu, 9 Dec 2021 06:42:46 +0000 (15:42 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Thu, 9 Dec 2021 08:49:36 +0000 (17:49 +0900)
commit2d58f6ba5fa3c845b073601b6a27fb68d366e037
tree5c05e6482e391f36fe194d980fb3767e8e47ab76
parenta6fc10dff4d7d13f4d6b462091861df5c3107bf2
power: fix sleep/wakeup dbus signal handler

Now sleep/wakeup callback is invoked by dbus signal "ChangeState".
The signal param contains type(0:sleep, 1:wakeup) as well as reason.

Change-Id: I63dbb9c1f2ee3dfb6557d5ce1e5f1d322d976292
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
include/power-internal.h
src/power-internal.c