power: reloacte marking poweroff option 44/285944/3
authorYoungjae Cho <y0.cho@samsung.com>
Fri, 23 Dec 2022 01:17:08 +0000 (10:17 +0900)
committerJaehoon Chung <jaehoon80@review.tizen.org>
Fri, 23 Dec 2022 06:48:54 +0000 (06:48 +0000)
commit470680f23c1c37d375238c43c7f7821977350814
tree0e5c0b1a5e82176c7436c3b67b36ae702036817a
parent86213dab21f29d3fa75d5f799f7fc2f5a04e6993
power: reloacte marking poweroff option

Poweroff option can be marked just on receiving the option from dbus
method. It is safer in that it prevents loss of option address due to
asynchronous process of power transition.

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