power: add getter wakeup reason
Add function to get wakeup reason by calling hal api function
and save wakup reason.
Add dbus method to delliver saved wakeup reason to device API.
"wakeup reason" is the power transition state reason of sleep to normal.
There are several reasons why the device wakeup and
sometimes it Is needed to get the reason.
added dbus method:
dbus_power_get_wakeup_reason
path: "/Org/Tizen/System/DeviceD/Power"
interace: "org.tizen.system.deviced.Power"
member: "PowerGetWakeupReason"
paremeter: "(i)", enum transition reason to get.
return: "(i)", 0 on success, negative on error.
Change-Id: I2f96fecb3bc1308afc712421e3b2f6c8a7efefea
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>