My iPhone charges when it's off but not charging after turning on
I bought a New battery for iPhone 4s. When I charged , it showed charging and after minutes it turned on. But after turning on, it doesn't charge. Is there any problem with my battery? Can anyone help please.