power: add initial power state transition on deviced startup 75/269075/4 accepted/tizen/unified/20220117.135018 submit/tizen/20220112.015321 submit/tizen/20220113.004629
authorYoungjae Cho <y0.cho@samsung.com>
Fri, 7 Jan 2022 07:47:51 +0000 (16:47 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Mon, 10 Jan 2022 08:17:41 +0000 (17:17 +0900)
commit985da6c9944780d35e532953b87f396b2d9af315
tree1721060395faa948bf898d5818b797e3365270d1
parentc2943fb1db7e7098fbff74752e4dde29ae2b69f4
power: add initial power state transition on deviced startup

The first transition is specified in init.conf. The transition is
selected by /proc/cmdline bootreason=.

Change-Id: I7ce713fac9008c5cdcc3f9a76a089bb6ebd16db8
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
CMakeLists.txt
conf/init.conf [new file with mode: 0644]
packaging/deviced.spec
plugins/iot-headless/battery/battery-plugin.c
plugins/iot-headless/input/input-config.c
plugins/iot-headless/power/power-config-parse.c [new file with mode: 0644]
plugins/iot-headless/power/power-config-parse.h [new file with mode: 0644]
plugins/iot-headless/power/power-state-manager.c
plugins/iot-headless/power/power-state-manager.h