I bought a new battery for my HP Laptop and its not an original one.
When I run windows, battery works absolutely fine giving decent backup.
But on ubuntu laptop turns off suddenly and randomly without any warning. After it tuns off, I cannot turn it on and have to plug in AC power. Battery still has capacity when I check it again after booting again.
I have checked
/var/log. It has many files, but I couldn't find anything helpful in them or I don't know what to look for.
Please help me on this