Hp battery issues please help
I have an hp laptop and bought a brand new charger and battery because the last battery stopped charging, it runs just fine with the ac cable plugged in but if the battery is plugged in it will go randomly from plugged in not charging to actually charging for a few minutes then just randomly saying no ac cable is connected at all, with the new ac cable that I just bought it still says the same issues but it won't even say plugged in with the new or old battery BUT if I turn it off and plug in new ac cable by itself it runs fine, is this a software or a hardware issue? Already have 2 batteries one is brand new and neither will charge with either power supply