Open
Description
- Monitor manufacturer and model number: AOC 24G2W1G5
- Input source (HDMI, VGA, display port, ect.): HDMI
- Output device (video card, discrete graphics, ect.): Intel UHD Graphics 630
- Operating system: Windows 11
- Python version: 3.11.3
- monitorcontrol version (
monitorcontrol --version
): 3.0.3
Steps to Reproduce
I use the code below to loop through all monitors and off the hardware
from monitorcontrol import get_monitors;
def main():
for monitor in get_monitors(): #Loop through each monitor
with monitor:
print(monitor.set_power_mode("off_hard")) #Power off the monitor
On my environment, my first monitor (DELL monitor) powers off. But the second monitor (AOC monitor) simply turn black screen for a second and power on again.