Speaking from my own experience here..
Pick one of the power plans to designate to botting - I chose Entertainment (0-100% of power depending on use, manages itself)
After you've chosen, go into 'Change Plan Settings.'
In that screen, turn off display can be anything you want. "Put the computer to sleep:" should be 'WHILE PLUGGED IN: NEVER.'
This way, while plugged in it will never go to sleep (thus never disconnecting your bot in that way) but the display willl shut off to save power. To further protect your laptop from heating up too hot, turn off all LED lights in your keyboard, lower brightness and drop your resolution.