plugin-api: deviced: power: Add struct syscommon_plugin_deviced_power_trans_info 71/297371/3
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 17 Aug 2023 10:51:40 +0000 (19:51 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 18 Aug 2023 01:00:39 +0000 (10:00 +0900)
commit0ae8aa2f87c16319ceaa7efaa005fa14ac1001d8
tree272ee422ff11e079ae3fb8c80a1103513a782026
parent913842514c326300feb34b50eba6e8e56e3b9719
plugin-api: deviced: power: Add struct syscommon_plugin_deviced_power_trans_info

Add struct syscommon_plugin_deviced_power_trans_info which contains the
power transition information.

[Detailed description]
struct syscommon_plugin_deviced_power_trans_info
- curr : Current power state
- next : Next power state for transition
- reason : Transition reason when changing the state from curr to next
- void *data : Passed data of transition information

Change-Id: I69450db85c4303f77f7675270a4a1890e0f98bbe
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/plugin-api/deviced/include/syscommon-plugin-deviced-power-interface.h