power: resource: Add new DEVICED_POWER_ATTR_TUPLE2_SET_WAKELOCK 56/297356/2
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 17 Aug 2023 06:24:00 +0000 (15:24 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 17 Aug 2023 09:38:40 +0000 (18:38 +0900)
commitf1c66215a10c54a0162bfc814578015b40dbdda7
treecd17e64d2f8dc8e5420a2c2759cfe3d3450dbb06
parent7567d634ba7416117134f0080f9ee376c5d88fc3
power: resource: Add new DEVICED_POWER_ATTR_TUPLE2_SET_WAKELOCK

DEVICED_POWER_ATTR_TUPLE2_SET_WAKELOCK attribute provides the
setter function to acquire the wakelock in order to prevent the suspending.

[Detailed description of newly added attribute]
- attr id   : DEVICED_POWER_ATTR_TUPLE2_SET_WAKELOCK
- setter    : O
- getter    : X
- 1st param : Event ID
- 2nd param : Timeout to release the wakelock count

Change-Id: I9ffdecac5ddd538b22ae2cd9397abb0fe93dd98a
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/power/resource-power.c