Reduce cyclomatic complexity 'getVasChargingMode'