I know for a fact this is a clear case of planned obsolescence by Apple.
How do I know this?
Because I have written some software to do precisely what Apple is doing here, as a "weekend" project (OK, took a little more than a weekend, but not that much more). If I may say so myself, it's a much better implementation than Apple's, because I control when I want the computer to charge or not. And it has been successfully tested on computers that are older than 2016, including my wife's 2014 MacBook Air, which I monitor closely. So technically nothing prevents Apple from implementing this on older computers.
Before anyone asks: I could easily post this code on GitHub, or sell it, or whatever. But I can't do that because knowing Apple, they'll find a way to restrict access to this API (who knows, maybe they already did on 10.5.5? Though I can't say if the API they're using is the same I'm using.)
I just wanted to point out that Apple is doing this on purpose to get people to upgrade. I know theories of planned obsolescence abound, but rarely can you confirm them like I just did (as a matter of fact, anyone reading this can't really confirm what I'm saying as I'm not showing the code or the app; but I don't care, because I know it's true).