Render is much faster when laptop is plugged in and charging My laptop seems to be rendering infinitely faster whilst charging then it does when it's not charging for some reason. 

My setup is an i7 9th gen w/ an RTX 2060. I'm rendering using OptiX. 

As can be seen in the below image, it finishes rendering in less than a minute while charging: 



However, when it is plugged out, as can be seen below, even after a full minute, it hasn't even finished half of the image. 



I tried rendering with the processor when my laptop was unplugged, and even that finished faster than the graphics card while it was unplugged! And this isn't just the case with rendering. It's just faster overall when charging, period. 

Why is this happening and how can I stop it? Many times, I need to render while the laptop is unplugged, and so it is imperative that this issue is solved. Thanks.
Your issue lies in power management.

Your operating system (Windows 10) is currently instructed to limit performance of your CPU and GPU and in order to save power and extend battery life and longevity.

It sucks.

How to fix it:


Navigate your way to Control Panel
Go to System and Security
Go to Power Options
Go to Change Plan Settings
Choose Advanced Power Settings
Verify that minimum processor state and maximum processor state are set to 100% all the time
Set cooling policy to active
Disable PCI Link State Power Management


I don't have Nvidia graphics, so I can only assume there is a power management section in the NVidia Geforce Experience or something


Since you're on a laptop, you should also buff up your integrated graphics as the data from your 2060 may or may not be passed through the integrated graphics card.
Follow the BlenderGuru's advice to speeding up Cycles rendering in general. 
https://www.youtube.com/watch?v=8gSyEpt4-60 
Update your drivers if needed.