Sets the AC/DC values of a setting with the given power for the given scheme

def _set_powercfg_value(scheme, sub_group, setting_guid, power, value):
    '''
    Sets the AC/DC values of a setting with the given power for the given scheme
    '''
    if scheme is None:
        scheme = _get_current_scheme()

    cmd = 'powercfg /set{0}valueindex {1} {2} {3} {4}' \
          ''.format(power, scheme, sub_group, setting_guid, value * 60)
    return __salt__['cmd.retcode'](cmd, python_shell=False) == 0