Your battery probably isn’t supplying sufficient voltage and your laptop is compensating. It is almost random chance in getting a good battery for a machine of that vintage. Using Linux will likely cause unexpected power off at low charge states.
Your best bet is to return that battery to the vendor and try another battery from another supplier.
I don’t believe in karma, but this would be exhibit A.