Yeah, but they got sued over it and purportedly stopped. They claimed it was to protect battery health.
Suuuuuuure it was.
That said, I had way better experiences with old (but contemporary) Apple hardware than any other kind of old hardware.