Issue while charging

When charging the phone it's complete 100% and shows charging.before update it completes 100% and shows charged