Did Pep Boys replace it with one that had the exact same specs as the original? If so, then yes, a BT cable will let you reset the battery adaptation. Otherwise, you'll need to have the car coded with the specs of the new battery.
2010 535i M Sport - Platinum Gray/Dakota Black/Anthracite Bamboo
Premium, Value, Cold Weather, Sport Auto, Navigation, Satellite, Logic 7, Comfort Access, Park Distance, Fold Down Rear Seats, Heated Rear Seats, Rear Side Airbags, JB4 Stage 3, BMS DCIs, BMS OCC, Proform Clear Bra, LUX H8 LED angel eyes