just in the last week or two my iPhone is struggling to charge, bought new cable from computer to phone, makes no difference (genuine Apple cable)

any ideas?