iOS issue

Apple suggested that I do an iCloud backup and restore and reinstall iOS in order to fix a battery charging issue. Can this be something a virus scan can fix?