Hello my Ipad 3 is not charging when being used but if i close it ,it gets a charge right away Any ideas why ? Thak you