How can I keep my up pavilion g awake during upgrades? If it goes to sleep, the upgrade stops.

Go into control panel and search for power. Change to high performance. Disable HHD sleep and turn off any hibernation or sleep modes.
 
Solution