http://www.howtoip.com/use-the-hidden-powercfg-tool-to-optimize-battery-life-on-windows/
run-as-admin:
powercfg -h off python -c “import ctypes; from ctypes.wintypes import BOOLEAN; ctypes.WINFUNCTYPE(BOOLEAN, BOOLEAN, BOOLEAN, BOOLEAN)(("SetSuspendState", ctypes.windll.powrprof))(True, False, False)” powercfg -h on