Centrality dependence (expressed in terms of average number of participants) of the non-prompt \jpsi fraction measured by ALICE in \PbPb collisions at \snn = 5.02 TeV in the transverse momentum interval 1.5 $<$ \pt $<$ 10 \GeVc. Results are compared with previous ALICE measurements performed in \PbPb collisions at \snn = 2.76 TeV . The \pt-integrated non-prompt \jpsi fraction in pp collisions at \s = 5.02 TeV obtained from an interpolation procedure (see text for details) is also shown. Statistical and systematic uncertainties are shown by error bars and boxes, respectively.