power: fix dbus signal for changestate 31/267731/1 accepted/tizen/unified/20211213.133447 submit/tizen/20211210.062426
authorYoungjae Cho <y0.cho@samsung.com>
Thu, 9 Dec 2021 08:21:47 +0000 (17:21 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Thu, 9 Dec 2021 08:30:28 +0000 (17:30 +0900)
commitbb9bc6869c40f241c356da660c3d1f642f2d980d
tree45ff2e7bf19db3582c60c0481cbdd1f55da1cfd5
parentf0e7125bb2dd76eae45e5679332734be694c5efb
power: fix dbus signal for changestate

The dbus siganl is broadcasted on changing state
  path : /Org/Tizen/System/DeviceD/Power
  iface: org.tizen.system.deviced.Power
  name : ChangeState
  param: "(iti)"
         int32 : type (0: sleep, 1: wakeup)
 uint64: state transition id
 int32 : state transition reason

Change-Id: I04c01722fbdbf59fa2c9eae0c9b819e3aee77488
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
plugins/iot-headless/power/power-state-manager.c