This problem of both charging and providing power on the same pins can be solved. Even if not, it can be worked around.