Skip to content

Commit

Permalink
Merge pull request #5690 from apatel859/sprint/24Q3
Browse files Browse the repository at this point in the history
RDKTV-32679:setDevicePowerState call failure
  • Loading branch information
apatel859 authored Sep 9, 2024
2 parents 804af93 + 7b5fd44 commit 4789e6b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion SystemServices/SystemServices.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3626,8 +3626,10 @@ namespace WPEFramework {
if (res == IARM_RESULT_SUCCESS) {
if (param.curState == IARM_BUS_PWRMGR_POWERSTATE_ON)
currentState = "ON";
else if ((param.curState == IARM_BUS_PWRMGR_POWERSTATE_STANDBY) || (param.curState == IARM_BUS_PWRMGR_POWERSTATE_STANDBY_LIGHT_SLEEP) || (param.curState == IARM_BUS_PWRMGR_POWERSTATE_STANDBY_DEEP_SLEEP))
else if ((param.curState == IARM_BUS_PWRMGR_POWERSTATE_STANDBY) || (param.curState == IARM_BUS_PWRMGR_POWERSTATE_STANDBY_LIGHT_SLEEP) )
currentState = "STANDBY";
else if ( param.curState == IARM_BUS_PWRMGR_POWERSTATE_STANDBY_DEEP_SLEEP)
currentState = "DEEP_SLEEP";
}

powerState = currentState;
Expand Down

0 comments on commit 4789e6b

Please sign in to comment.