projects
/
platform
/
core
/
api
/
device.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dc7ec7
)
Add logs in device_power_request/release_lock()
49/181249/1
author
Hyotaek Shim
<hyotaek.shim@samsung.com>
Mon, 11 Jun 2018 08:37:32 +0000
(17:37 +0900)
committer
Hyotaek Shim
<hyotaek.shim@samsung.com>
Mon, 11 Jun 2018 08:37:32 +0000
(17:37 +0900)
Change-Id: Ie5dc219f725491ec082f6669f7b0f7224b34c423
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
src/power.c
patch
|
blob
|
history
diff --git
a/src/power.c
b/src/power.c
index
a23a974
..
e3207ef
100755
(executable)
--- a/
src/power.c
+++ b/
src/power.c
@@
-447,6
+447,8
@@
int device_power_request_lock(power_lock_e type, int timeout_ms)
{
int ret;
+ _I("power_lock_e = %d", type);
+
if (timeout_ms < 0)
return DEVICE_ERROR_INVALID_PARAMETER;
@@
-469,6
+471,8
@@
int device_power_release_lock(power_lock_e type)
{
int ret;
+ _I("power_lock_e = %d", type);
+
if (type == POWER_LOCK_CPU) {
ret = unlock_state(DISPLAY_STATE_SCREEN_OFF, PM_SLEEP_MARGIN);
if (ret == 0) {