Are you asking me? If so, I didn't but will be doing so in the future. To change GPU to max battery, type
powercfg -query
In the long list of junk, look for Intel HD Graphics and record the
subgroup GUID (#1) and
power management GUID (#2).
Now type
powercfg -setdcvalueindex SCHEME_CURRENT (#1) (#2) 0
powercfg -setactive SCHEME_CURRENT
By default, for some reason, when on AC the GPU is not set to maximum performance. You can fix that with
powercfg -setacvalueindex SCHEME_CURRENT (#1) (#2) 2
powercfg -setactive SCHEME_CURRENT
You can apply many changes at once to power configuration, and dont need the -setactive each time. Just make sure to type it before you exit command prompt.