I had the same issue with the Macbook Pro battery. The laptop is just a couple months beyond the 1-year warranty and Apple did not recognize it as their fault.
Needless to say, I'm happy now with Archlinux despite it took a while to set the whole thing up. I don't think I'll be buying any more Apple laptops but for phones, I don't think Android is doing any better.
Not sure when this happened, but many credit cards offer an additional year of warranty protection if you purchase electronics on them. I had a $750 motherboard replacement reimbursed on a MacBook recently when it was 2 months out of warranty. Worth looking into!
Needless to say, I'm happy now with Archlinux despite it took a while to set the whole thing up. I don't think I'll be buying any more Apple laptops but for phones, I don't think Android is doing any better.