If I'm correct, the BQ M5 has a micro USB type B connector, so are you using an USB C adapter for your Mi5s? In that case that adapter might not have enough data-lanes in it to transfer it. Most USB B to USB C adapters don't have any data connections, only charging ones.