power: get wakeup_reason by calling hal-api 91/288191/2
authorYoungjae Cho <y0.cho@samsung.com>
Mon, 13 Feb 2023 08:46:11 +0000 (17:46 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Mon, 13 Feb 2023 09:05:23 +0000 (18:05 +0900)
commit2169ae9a818855fb03083312aeb4f37287e929ce
treecb3f629a2fd9969e17c36b9607f03739dc30d01d
parent101a2f359b7cd92802dabaf8c958aa99295336ac
power: get wakeup_reason by calling hal-api

As the previous patch,
 - power: update wakeup reason immediately after wakeup
has changed not to maintain wakeup reason after resume, it is necessary
to access it via hal-api for every request for wakeup reason.

Change-Id: Ibf2aebb5b542dd1d55f799be0fbaddf65a6a8e7c
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/power/power-dbus.c