My monitor's power button is broken - how do I black out the display without unplugging it?

35

8

Occasionally, I leave my computer turned on all night with some program running. If the computer logged off or sleep, the program is stopped. The monitor light is bright enough to disturb my sleep. My monitor power button is broken. I have to pull out the monitor power cable to turn it off.

I've tried to reduce all the contrast and color to 0. But, it is still not enough. How to make my monitor completely black without make it sleep or logged off and keep the program running? My monitor is
HP ZDisplay.

Notes:

  • The program I running is auto move the mouse cursor (something like mouse recorder).
  • I do not want to cover my monitor with some blanket or other thing.

Vahn

Posted 2017-12-04T07:32:46.160

Reputation: 620

Comments are not for extended discussion; this conversation has been moved to chat.

– DavidPostill – 2017-12-05T06:16:11.180

1Why can't you let your OS put the monitor to sleep? Does the program not work if the monitor is asleep? – Salman A – 2017-12-05T08:57:18.670

7That program of your smells like a bot or a cheat for something... Hm... – T. Sar – 2017-12-05T10:52:37.877

1@T.Sar Well for me, that program is commonly Sony Vegas taking half a day to render a video. – IllidanS4 wants Monica back – 2017-12-05T14:03:21.880

@IllidanS4 Why would you need to keep the mouse moving to use Sony Vegas? – T. Sar – 2017-12-05T14:09:07.320

@T.Sar Ah, I didn't notice that note. For Vegas, not moving the mouse is surely better. As for the mouse, I think that there are programs for Ultima Online designed to increase your stats by training overnight, and these aren't considered cheats on some servers. – IllidanS4 wants Monica back – 2017-12-05T14:16:56.333

5Super lo-fi solution: throw a thick towel / blanket on your monitor – LocustHorde – 2017-12-05T14:24:44.783

I'd like to know what model number, purchase date and the circumstances behind the broken power button because HP Z Display monitors all have 3 year limited warranties. Also, are we talking about a desktop or laptop? I imagine desktop but a laptop you can change the power/sleep button settings to turn off monitor. – Larry B – 2017-12-05T14:50:21.860

7change the input source to something else, wait for monitor to sleep. – Will – 2017-12-05T19:13:37.817

2My comment got caught up with the others that got moved to chat, so sorry if you replied and I missed it. @Vahn what is your objection to unplugging the power or video cord for the monitor? Is it hard to reach? Are you worried about damage? Does your software require a connected and powered monitor to run? – Kat – 2017-12-05T22:41:28.080

@@LocustHorde. I do not want to cover my monitor. @@Kat. That time the monitor and computer share the same power source and it's hard to reach. If I plug in and out the monitor only daily it's quite annoying. Usually I press switch in the power source to turn on my monitor and my PC. – Vahn – 2017-12-06T01:28:17.413

Answers

57

Since you're having issues with the other answers so far:

  • "it prevent my program from running"
  • "I think it's not force turn off the display. I've just test it"
  • "the main problem is how to keep my program running with black screen. Most third party program stopped my program from running."

You're saying pretty clearly that your mystery program is just not going to co-operate with a software solution. You're just going to have to "think outside the desktop" & tackle the real problem:

Fix the power button.

You might get lucky and it's just dirty (like a remote control), or you say "it's missing the button to press" so just replace it with any similar shaped object, wood, plastic, a marble, tape it in & press away.

Or at least do the next best thing:

Install another power switch inline on the monitor's power cord

Use an inline lamp switch / inline rocker switch:

enter image description here

They're quite easy to install, just carefully strip the wire & attach according to the specific switch, there shouldn't even be any soldering or shrink tubing required. They usually only switch the "hot" wire, and of course unplug the wire first! Better search for how to install an inline rocker switch to see some videos too.


Oops, I just read the "I don't want to cover the monitor" line, after typing the next part... Well, give it a second thought, it's probably the easiest solution. Just put some cloth over the monitor & cover it up. It shouldn't be hot enough to start a fire or anything hazardous (if it is that's a separate problem), so buy a cover or use a shirt or a cardboard box, basically anything opaque.

If you're concerned about extra heat from covering it completely wearing away at the remaining life of your monitor, then don't cover it up completely. You really only need to block the screen side, so lean a piece of cardboard up against the screen, or optionally use paperclip "hooks" to hold/hang it, and let the other 5 sides breathe free:

enter image description here A nearly-finished DIY screen cover, just bend to fit.

Xen2050

Posted 2017-12-04T07:32:46.160

Reputation: 12 097

4Hot enough to cause extra wear on the monitor electronics will happen long before "hot enough for fire" :( Something loose-fitting like a cardboard box might be reasonable, though. – Peter Cordes – 2017-12-04T11:40:06.283

@PeterCordes That may be true. In this case it's only the front side that needs to be covered, so a piece of cardboard just leaning up against it would even work. (I'll edit that into my answer, thanks). Another opinion is that the monitor's already partly broken (power switch), so in the long run reducing it's life may be a good thing, then they'd have to get a working replacment – Xen2050 – 2017-12-04T11:45:47.903

32Upvoted for "fix the power switch". That's a far better option, because it saves 30 to 50 Watts on a typical screen. – Peter Cordes – 2017-12-04T11:51:25.017

6

As an alternative to adding an inline switch (which could be unsafe, depending on the OP's confidence with electrical stuff), consider just using a switched mains outlet or extension cord. I'm in the UK, and I have something like this attached to the wall behind my desk.

– Roger Lipscombe – 2017-12-04T12:34:38.857

@RogerLipscombe I've unplugged the wrong cord a few (dozen) times, and I could see mixing up power bars too, especially if they're on the floor or behind things, but with some labeling & tactile difference they could work too. I like the inline switch right behind the monitor, and most monitors (& towers & office equipment...) use identical power cords so finding extras to practice with shouldn't be difficult. – Xen2050 – 2017-12-04T13:08:53.300

Sure; that's why I have the important stuff plugged in below my desk, and the unimportant stuff plugged in above my desk. Also: labels. – Roger Lipscombe – 2017-12-04T13:48:02.153

1Thx guys. I think I'll just fix that button. I thought there are some build in setting in the monitor to reduce light to zero. – Vahn – 2017-12-04T14:12:33.287

"Well, give it a second thought, it's probably the easiest solution." Also the most dangerous. Depending on the type of monitor, it may get very, very hot when the ventilation holes are covered. Something you can't always prevent when covering the screen. – None – 2017-12-04T14:13:44.537

1

@Mast Only blocking the screen side's the coolest, as mentioned. But does the front of your monitor really have ventilation holes? I haven't seen that before... maybe yours has speed holes? ;-)

– Xen2050 – 2017-12-04T14:28:48.700

@Xen2050 Smartass. What do you fix the covering on? Exactly, the top. And yes, that's where most of my monitors have at least a large portion (and definitely the ones blowing out the hottest air, since hot air tends to rise and all that) of their vent holes. Covering only the front with cardboard will leave a lot of stray light escaping. A lot. So you'll have to take into account a bit of the sides and the top. – None – 2017-12-04T14:44:47.727

@Mast Be nice, technically your last comment should be flagged. And look into hooks (i.e. paperclips), they don't block air.

– Xen2050 – 2017-12-04T14:51:03.923

1Regarding the "add an inline switch" option, before you start cutting and soldering wires, just get a power strip or an extension cable with an inline switch. – GalacticCowboy – 2017-12-04T18:17:43.137

Another potential problem with the inline-switch idea is if the monitor's power cord has a ground wire. Most of the inline switches I can find online appear to be designed for 2-wire ungrounded appliances only. – zwol – 2017-12-04T18:47:03.653

@zwol Ground is never cut or switched, often it's even a bare wire. Only the hot wire needs to be switched, neutral & ground are left alone – Xen2050 – 2017-12-04T19:13:52.627

@Xen2050 I mean one of these power cords doesn't look like it would physically fit into the hole in the side of these switches...

– zwol – 2017-12-04T19:18:28.943

@zwol That's possible, there seems to be a wide variety of switches & sizes, in this case bigger looks better. A customer image from that page shows there's a lot of empty space inside, just might need the openings filed/drilled/cut a little bigger for a 3rd wire (a utility knife works). Or put the ground wire outside the switch, taped to the back/side (they're all insulated separately).

– Xen2050 – 2017-12-04T19:35:51.853

44

I recommend getting a power strip and installing it within reach of your foot or hand. Not sure where you live but I can buy one for about $2 - $3.

This way you can plug the monitor into this switch and power it on/off whenever you need.

enter image description here

IMPORTANT - for daisy-chaining

Make sure to get a simple power strip and NOT a surge protection device or else you will have the potential to create a fire hazard. As long as your house's circuit breaker maintains complete control of your circuit then it should be relatively safe to plug in nothing more than a monitor via daisy-chaining.

MonkeyZeus

Posted 2017-12-04T07:32:46.160

Reputation: 7 101

3This. All of a sudden you have a new power button and all will be well. – None – 2017-12-04T14:11:40.157

I use this. But both my PC and monitor connected with this. – Vahn – 2017-12-04T14:19:41.457

14@Vahn You buy a second one, plug it into the first one, and only plug your monitor into the second one. – MonkeyZeus – 2017-12-04T14:22:25.257

is that safe? since I leave the PC overnight. – Vahn – 2017-12-04T14:25:40.643

@Vahn Since a typical monitor only draws about 50 - 150 watts of power then yes it should be relatively safe. Just don't plug in a space heater, clothes iron, air conditioner, or vacuum cleaner and things should remain relatively safe. – MonkeyZeus – 2017-12-04T14:27:02.473

@Mast I like to follow the KISS principle whenever possible. Also, I think that OP's main saving grace which makes my answer relevant is that in a comment they mentioned that the monitor powers itself on as soon as it is plugged into the wall.

– MonkeyZeus – 2017-12-04T14:36:10.703

2

WARNING: it can be very dangerous to chain power interruption devices. If you do this, then be sure to plug this one into the wall and do not daisy chain it off the one your computer is plugged into (and it should be plugged into one). You would be better off with this or this

– None – 2017-12-04T18:59:45.493

2@Snowman - The pictured device, and the description provided by MonkeyZeus, show that is not a device equipped with surge protection. It would not cause the problems as described in that link (Which is actually very informative, that's something I had never thought of). It would be better off to state that if they get one with an interruption circuit, to plug it in the wall separately and not daisy chain them. – Taegost – 2017-12-04T20:10:59.360

2@Taegost Thank you for your comment, I now have a better understanding of what Snowman was trying to say. It really stinks that so many things are being scare-mongered for the lowest-common-denominator. I will update my answer with something relevant :) – MonkeyZeus – 2017-12-04T20:33:54.537

1@MonkeyZeus I was not clear based on the previous version of your answer. I think a warning like you added is justified. In my experience, most people do not make a distinction between a simple power strip and an actual surge protector or other overcurrent device. They certainly look a lot alike. and it is worth taking a few extra seconds to be sure. I have never had issues like in the electronics.SE link I posted, but I have lost computer equipment to lightning surges due to shoddy surge protectors, and one time a power strip that taught me they do not all have overcurrent protection. – None – 2017-12-04T20:52:10.577

@Snowman I totally agree with you – Taegost – 2017-12-04T21:23:05.237

25

Try changing the input of your monitor to a source with no video eg: vga. Most modern monitors have multiple inputs and you can manually select the one you want. Then, it will tell you there is no source and then go to sleep.

Andy

Posted 2017-12-04T07:32:46.160

Reputation: 666

3After all these other answers that suggest getting programs, switching the power off or doing some DIY work, this is one of the simplest. The computer won't see that the monitor was disconnected and will keep running the program. The monitor just needs to support sleeping, which it should :P – MoonRunestar – 2017-12-04T13:56:39.827

good answer, but I think "most monitor" may be over stating it. I suggest one of "many monitors", "most newer monitors" (still not 100% but more confidant) , or "your model of monitor" (OP did give model number, I've not checked if this works for that one). – Lyndon White – 2017-12-04T14:30:01.137

2@LyndonWhite I can't think of a monitor I have used in a considerable time that was lacking more than one input. In addition, I verified that the model listed includes multiple inputs, one of which is vga. Never the less, I have updated to most modern monitors. – Andy – 2017-12-04T14:58:50.250

In my experiance most monitors will by default auto-switch inputs when the current input has no signal. Sometimes this functionality can be turned off, sometimes it can't. – plugwash – 2017-12-04T15:59:16.380

11

Just turn off the monitor.

enter image description here

Seriously! Assuming your other power settings don't shut down the PC (set it to never go to sleep), your task should still be running in the background. My system's also set to turn the monitors off automatically after 10 minutes

enter image description here

You might also be able to use a third party tool to turn off the monitor in software - nircmd comes to mind - with a simple command like "nircmd monitor async_off" doing what you need.

Journeyman Geek

Posted 2017-12-04T07:32:46.160

Reputation: 119 122

11sorry I forget to tell that my power button is damaged. – Vahn – 2017-12-04T07:43:25.533

is it force the display to be turned off? – Vahn – 2017-12-04T07:48:14.147

1Oh, It does with mine. It depends on some monitor functionality IIRC but both these options should work. The nice thing with nircmd is its pretty easy to check if it works for you, and you can do it immediately. How you'd turn it back on with a broken power switch though... I'm not sure about – Journeyman Geek – 2017-12-04T07:49:35.093

I think it's not force turn off the display. I've just test it. – Vahn – 2017-12-04T07:52:21.533

Unfortunately if the mouse is moving I believe it'll prevent Windows from ever putting the monitor to sleep. If the cables will allow you to, you could rotate the monitor so it faces the wall. At least that'll prevent the light from shining in your direction. After that if you are running Windows 10, you can use the Night Light feature on the lowest temperature, which reduces the amount of blue light that comes from the monitor. – MoonRunestar – 2017-12-04T09:50:53.307

3

The functionality the software uses to turn off the monitor is called DPMS. If you have good enough drivers for your video card (i.e. not the simple VBE driver), it should be available.

– Ruslan – 2017-12-04T10:16:17.917

I couldn't for the life of me remember what it was called ;p – Journeyman Geek – 2017-12-04T10:36:06.033

@Sonickyle27 it's a good idea to turn my monitor face the wall. But, it's kinda annoying to rotate the monitor daily – Vahn – 2017-12-04T11:23:56.043

9

Since the power switch is broken (how do you turn it on, anyway?) you can use a separate switch. Rather than splicing the power cable as someone else suggested, it would be easier to use one of these:

electric plug with switch

These are great for any device that does not have a built-in power switch (increasingly rare anymore) or the switch is broken.

You can also buy cables that have switches inline. You are better off purchasing a cable made for the purpose rather than splicing your own. The pre-made cable will have proper strain relief, water resistance, and all of the components and splices will be rated for the current expected from that type of cable.

user76225

Posted 2017-12-04T07:32:46.160

Reputation:

7

Are you able to turn your monitor around? Turning it to face the wall shouldn't introduce any overheating issues.

Alternatively, have you looked into wearing an eye mask for sleeping? I use these when I'm camping since the tent rarely provides sufficient darkness during early morning in Summer to let me sleep.

Matt Jones

Posted 2017-12-04T07:32:46.160

Reputation: 181

1I do realise that my answer has nothing at all to do with the subject of this particular SO so if it is considered unsuitable I'll delete it. – Matt Jones – 2017-12-04T14:05:26.063

4+1 for simple, low-tech. "Face monitor away from sleeping area" is a valid answer, IMO, since the issue is "monitor light is too bright and keeps me up". Facing it away would diffuse the light at worst... stop it at best. – WernerCD – 2017-12-04T16:25:29.750

6

Cover the monitor's power light with masking tape (or with more opaque tape if you want it fully blacked out). I use masking tape on some of the brighter lights on my tower case (e.g. the stupid blue LEDs for HD activity. What was wrong with red LEDs? Nice sleep-friendly color, and still easy to see).

Turn off the monitor's backlight with the DPMS "off" powersaving state. Activate it with
sleep 1 && xset dpms force off (Linux or any other OS using an X11 display server) or
wizmo monoff (Windows). The sleep is so you can release the enter key before the command runs, otherwise the key-release would wake up your the screen again. (IIRC, wizmo sleeps first).

Moving the mouse or pressing a key will bring your computer out of powersaving screensaver mode. You may want to turn your mouse upside down to make sure it doesn't detect movement if your desk is jiggled (or depending on your mouse, even if it isn't).

This might not work in your case, where your program involves simulated mouse movements. IDK if it's possible to disable mouse wakeup and only leave keyboard. wizmo shake=0 only works for it's built-in animated screensavers, not for triggering Windows' built-in monitor powersaving mode.

Presumably anything that covers the Windows desktop with a black window will stop your program from working, unless it passes through mouse clicks. But backlight-on is not the same as dark, and is a waste of power.


Alternate Option 1: Run your program inside a VM, so the Windows that's directly connected to the actual monitor isn't seeing virtual mouse movements, only the OS inside the VM.


Option 2: Put your monitor on a separate power bar with its own switch.

(Or buy a power bar with switches for every outlet, but make sure you label the switch well and don't plug the monitor in next to your computer or anything else it would be annoying to accidentally power-cycle.)

Peter Cordes

Posted 2017-12-04T07:32:46.160

Reputation: 3 141

wizmo ? my windows 10 system does not recognize that command – edc65 – 2017-12-04T12:07:58.403

@edc65 Try clicking the link. You need to download the program first. – MoonRunestar – 2017-12-04T12:30:28.630

6

nircmd has a "put the monitor to sleep" option.

I put this in a shortcut in my PATH:

nircmd.exe cmdwait 100 monitor off

Attie

Posted 2017-12-04T07:32:46.160

Reputation: 14 841

My answer mentions nircmd, but OP seems to think it dosen't work – Journeyman Geek – 2017-12-04T14:56:35.127

@JourneymanGeek I think he mentions he has a program that moves the mouse - IE: Activity which stops "sleep". – WernerCD – 2017-12-04T16:23:26.900

@JourneymanGeek oh yes, apologies - I missed it. – Attie – 2017-12-04T17:08:20.983

I would edit this to include setprimarydisplay. If he has 2 ports on his graphics card (DVI/VGA... dual DVI... graphics card/on-board...) and configures the second port (so that "Does this configuration work?" doesn't reset to previous working configuration)... he could use this with a keyboard shortcut to toggle between the monitor ports.

– WernerCD – 2017-12-07T12:13:27.390

I don't follow... I've used this with a multi-monitor setup for years. – Attie – 2017-12-07T12:44:04.457

5

Just unplug the monitor at the wall! Or, if it's receiving power from the PC, unplug it at the PC.

The question has now been edited to add "without unplugging the monitor". As far as I can see, that's only because the plug is in an inconvenient location. In that case, just use an extension lead to move the plug to a more accessible location.

Alternatively as @brichins points out, some monitors allow you to unplug the power and/or data cable at the monitor end.

David Richerby

Posted 2017-12-04T07:32:46.160

Reputation: 1 899

More conveniently, unplug the power cord from the back of the monitor. Or unplug the display cable from the back of the monitor. – brichins – 2017-12-06T22:27:32.667

@brichins Good point -- if that's possible with the asker's monitor, that would be easier. Not all monitor power or data cables are detachable at the monitor. – David Richerby – 2017-12-06T23:23:54.210

4

Couple other options I hadn't seen mentioned (As of the time of posting this):

  • KVM Switch? Switch the Monitor to alternative/empty input.

  • If your software doesn't "Sleep" because of a mouse macro (can't sleep if mouse is moving)... maybe you could virtualize the software? Move it into a VMWare PC? Program runs in a VM and your main OS can then go to sleep?

  • Do you have multiple inputs? Use a keyboard shortcut to switch output location? (You might have to plug something into the other port long enough to say "Yes, this is a valid option")

  • Anti-Glare/Privacy Filters - they block light from angles and are typically used in office environments where you don't want people to see your stuff. But they should lessen the light and alleviate the light "noise" thats keeping you up at night.

privacy screen blocker

WernerCD

Posted 2017-12-04T07:32:46.160

Reputation: 4 263

3

Try enabling presentation mode

Hopefully, pressing Win+P will let you throw your display to a non-existent projector and turn your main display off.

user711957

Posted 2017-12-04T07:32:46.160

Reputation:

1after some testing, the message projector cannot be found is popped out. – Vahn – 2017-12-04T11:22:35.707

3

Here is a Windows PowerShell script that I researched several years ago - I got some help from folks on a forum - I don't remember which one.

Incidentally, the main reason I use it is to reset my graphics card. I use 4 screens and for some reason my primary screen occasionally reverts to low res and I can not get to the reboot button. I found that when the monitor wakes up it restores to the proper res.

Copy the text below into a file name like monitor_off.ps1. If you edit your file associations, you can execute it by double clicking the file. Or as pointed out by "Davidw" below, right click and select run with Powershell.

# Windows PowerShell - Turn display off by calling WindowsAPI.
# Jan Zumwalt - rev 2017.12.05
# Moving the mouse or pressing a keyboard key reactivates the screen.
# works with multi-screen systems too.


# SendMessage(HWND_BROADCAST,WM_SYSCOMMAND, SC_MONITORPOWER, POWER_OFF)
# HWND_BROADCAST  0xffff
# WM_SYSCOMMAND   0x0112
# SC_MONITORPOWER 0xf170
# POWER_OFF       0x0002

Add-Type -TypeDefinition '
using System;
using System.Runtime.InteropServices;

namespace Utilities {
   public static class Display
   {
      [DllImport("user32.dll", CharSet = CharSet.Auto)]
      private static extern IntPtr SendMessage(
         IntPtr hWnd,
         UInt32 Msg,
         IntPtr wParam,
         IntPtr lParam
      );

      public static void PowerOff ()
      {
         SendMessage(
            (IntPtr)0xffff, // HWND_BROADCAST
            0x0112,         // WM_SYSCOMMAND
            (IntPtr)0xf170, // SC_MONITORPOWER
            (IntPtr)0x0002  // POWER_OFF
         );
      }
   }
}
'

[Utilities.Display]::PowerOff()

jwzumwalt

Posted 2017-12-04T07:32:46.160

Reputation: 268

2You have to right click the script and select "Run with Powershell" unless you change the file associations, which, by the way, is not considered best practice. Otherwise, it just opens in Notepad. – Davidw – 2017-12-06T23:58:31.317

Thanks for the additional information. Something I will add at a future time is a 10 or 20 sec time delay. I sometimes bump my desk as I leave and then have to execute it again. – jwzumwalt – 2017-12-07T07:23:38.963

You can always call the script from a Powershell prompt, of course. – Davidw – 2017-12-07T08:53:53.997

2

There are a few good answers here. I black out all the LED lights on my system so it does not disturb sleep. I have all my monitors plugged into a power strip and when I turn that strip off all the monitors turn off. Any software I run will continue to run when the power strip and monitors are off.

Any modern OS or app should not be dependent on a physical monitor being on, and should work headless. If that isn't the case with this particular piece of software, then you will need another solution to whatever that software is doing.

Thomas Carlisle

Posted 2017-12-04T07:32:46.160

Reputation: 356

2

I have a similar problem, as sometimes I have to leave the computer on to let the weekly backup complete, and I have the external hard drive plugged into one of the ports on the monitor, so if I turn the whole monitor off, it turns off the USB ports, so here's my solution for Windows 7:

In Control Panel, go to Power Options and click on "Chose when to turn off the Display" enter image description here Set the "Turn off the Display" option to 1 minute and set "Put the Computer to Sleep" option to never. enter image description here

You can save this setting as a Power plan by clicking on "Create a Power Plan" on the Power Options page.

At the next page, set the name for your power plan: enter image description here

Set the above options for your power plan: enter image description here

Set the power plan: enter image description here

Davidw

Posted 2017-12-04T07:32:46.160

Reputation: 543

1

While there are many tools that can turn off your monitor or even windows is able to set it to sleep (which is definetely the recommended way here) there is one simple solution I would like to propose:

Just create a black powerpoint presentation and open it as a fullscreen presentation ;-)

Stefan

Posted 2017-12-04T07:32:46.160

Reputation: 299

3It won't be a 'real' dark screen unless its an OLED - you'd still have some amount of LED glow – Journeyman Geek – 2017-12-04T09:25:33.333

it prevent my program from running – Vahn – 2017-12-04T09:30:24.550

1

Simply create/download a black image and open it full screen while your program runs on the background. Simple and no hardware changes needed.

Walky

Posted 2017-12-04T07:32:46.160

Reputation: 11

I was about to suggest that. :) A black image in full-screen mode will be completely black. Irfanview (for example) has an option to hide the mouse in full-screen mode, so you won't see it moving around. Also cover the power light with some black tape. – Nick Gammon – 2017-12-04T21:54:10.577

5Not every monitor will even come close to black with a black image. This solution is more likely to give you a nightlight of doom. – rackandboneman – 2017-12-05T10:24:03.430

3@NickGammon: "A black image in full-screen mode will be completely black"—only in the sense that the pixels will be at their darkest possible value. The screen will still be backlit, which could be sufficient to disturb OP's sleep. – wchargin – 2017-12-05T13:37:04.627

@wchargin: True, however I think we are now getting from what a "super user" might do with their computer system to cunningly display as little as possible on the monitor, to a more simple question: "My appliance has a broken power switch. How do I work around that?" - you may as well complain that the toaster in your room has a similar problem. – Nick Gammon – 2017-12-05T23:55:26.217

@NickGammon That's an issue with the question, not the answer. – David Richerby – 2017-12-06T09:23:47.887

1"Toaster won't turn off" - "set to lowest setting and enjoy as a space heater" – rackandboneman – 2017-12-06T15:13:47.710

Also, in some cases all black will be equivalent or even worse than all white regarding power consumption - which could make this solution downright uneconomic long-term. – rackandboneman – 2017-12-06T15:15:30.383