![]() |
![]() |
![]() |
![]() |
Set the display power-saving mode
int PgSetDPMSMode (int mode );
ph
This function sets the display power-saving mode based on VESA Display Power Management System standards.
| Mode | Meaning | Description |
|---|---|---|
| 0 | On | The display is in full operation (Video:Active, Horizontal: Sync Pulses, Vertical: Sync Pulses) |
| 1 | Stand-by | An optional state of minimal power reduction with shortest display recovery time (Video: Blanked, Horizontal Sync: off, Vertical Sync: Pulses) |
| 2 | Suspend | A state with substantial power reduction, but the display recovery time can be longer than that of the stand-by state (Video: Blanked, Horizontal Sync: Pulses, Vertical Sync: off) |
| 4 | Off | The display is consuming the lowest level of power and is nonoperational (Video: Blanked, Horizontal Sync: off, Vertical Sync: off) |
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
![]() |
![]() |
![]() |
![]() |