Adding distance calculation from state of charge