You may want to check your sleep settings to make sure that it isn't set to turn off when you plug in the charger.
Go to "Control Panel" and then click on "Power Options".
Next click "Change plan settings" next to the plan you are using.
On this next screen click "Change advanced power settings".
A new window will appear. In here you want to check both the adapter/charger settings as well as any other option that may be set incorrectly.
Once done with all your changes click "Apply" and then click "OK".
You can then close both windows.