0

Set powersave with javascript

I'm trying to turn on power save with javascript:

var videomode_info = new BSVideoMode();
videomode_info.SetPowerSave(true);

But I get this:

Uncaught TypeError: videomode_info.SetPowerSave is not a function

Here is the documentation I'm trying to follow:

http://docs.brightsign.biz/display/DOC/BSVideoMode

Have I misunderstood something?

1 comment

  • 0
    Avatar
    par

    Seems to be a typo in the documentation.

    This does not result in a TypeError:

    videomode_info.SetPowerSaveMode(true);
    But it does not do anything. I was hoping that the HDML would stop which would make the monitor to go black...
     
Please sign in to leave a comment.