I don't see the econnection with the power issue unless the battery is pretty flat but if you need to fix the proxy setting this is how it's done.
Go into Control Panel>Internet Options?Connection tab>LAN button. Remove the tick from the Proxy box and put one into the Automically detect settings. OK your way out and restart the machine. That should do it.
If you're using Windows 10, you find the Control panel by pressing the Windows key and R together. In the Run box that appears, type
control
then hit teh Enter key.