My old 2011 macbook is getting (another) new battery! This makes number five since getting this laptop brand new.

Can't believe she's still chugging along, but this year is probably going to be the year that I finally replace her with something new.

This old computer has gone through five batteries, two keyboards, a charging port (and circuit board), multiple CPU repastings, and an HDD to SSD upgrade, in the twelve years I've had it.

Pretty good service life if you ask me, but 12 years on it really shows its age when it chugs to do something as simple as loading a modern web page.

Out with the old.

In with the new.

Just a handful of screws and one connector.

Honestly surprised the old battery hasn't become a Hot Pocket of Death, but I've so far been lucky in that regard with all of my lithium batteries.

So it seems that even with a new battery, I am still experiencing weird issues wrt capacity reporting.

I have no clue what is the cause of this nor do I have the spoons to attempt to troubleshoot it on this old laptop tonight. x.x

I should have let the laptop run itself completely down to the shut-off point and then recharged the battery in full.

Seems like battery capacity reporting has stabilized.

I have a new problem now that will require opening the laptop back up and removing the battery again, because the new battery has a manufacturing inconsistency that gets in the way of clicking the track pad.

I need to (VERY) gently press that cell down and flat into place.

I wonder if there is a way in Linux to automate draining and recharging a battery whilst keeping the laptop plugged in all the time.

That is, stop charging at 80% and disconnect from AC power, let the battery drain to 20%, then reconnect AC power and charge back up again, then repeat the cycle.

Alternatively, if a laptop can just run purely on AC power while connected then switch over to battery on disconnect without dropping the system (probably not possible).

@dragonarchitect Newer ASUS laptops have a special controller that allows you to limit charging to 60 or 80% like you're describing. So it would stand to reason the inbuilt charge controller would need to support that function.
@dragonarchitect You could add a cron to change the charge limit for your battery, which can just switch between two values every X hours.

So that one cell that isn't in there as flat as the others just won't stay pressed down.

It presses down just fine!

It just won't stay down. T__T

Fortunately there are no pointy bits on the underside of the trackpad that could poke into the battery over time, so I may just get used to needing to press down on the trackpad.

I plan on replacing this laptop in the coming months anyways, and I only ever use it when I'm traveling.

@dragonarchitect After installing the new battery did you do a full charge and discharge cycle or two? Sometimes takes a bit for the chip to respond to a new battery
@ChartreuseK I can't even do a full discharge. I just attempted one and my laptop shut itself off after only a couple of minutes. Now it's stubbornly reporting a charge of <10% when previously after installing the new battery and turning it on it happily reported a full charge after a little bit on the charger.

@ChartreuseK Oh, correction. It's definitely charging. Or reporting a charge.

Slowly.

@dragonarchitect On one hand, Apple does buy good cells.

On the other hand it depends on your useage type and the cargind and discharging controls whether a #LithiumIon / #LithiumPolymer battery becomes a #DangerPillow.

Personally, I prefer #ToolFree #Swappable #Batteries to the point that I'm really looking into finding #LiFePO4 cells and a proper charging/discharging / BMS to use it as a #battery for the #NUCbook.

But that's just me trying a project that needs 6+ digits on 2- digits.