Skip to content

HL2 set sleep settings fails #308

@artsouflMS

Description

@artsouflMS

Hello,

I am building a tool for HL2.

I am using the command below to set the sleep settings in HL2 through my tool.

"https://127.0.0.1:10443/api/power/cfg/SCHEME_CURRENT/SUB_SLEEP/STANDBYIDLE?ValueAC=1800&ValueDC=1800";

After running the above command, in the device portal, I can see that both on battery and plugged in values are set to 30 min, as expected.
Though my device goes to sleep after few min, maybe 3 or 5 minutes.
So all the leds are switched off, near the power button.

If I set the settings manually through the device portal, then everything works as expected, the device goes to sleep after 30 min.
Is there sth in the command that I am using wrong?
In HL1 it seems like it is working, but not in HL2.

Any advice?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions