I think it depends by the manufacturer and how they programmed the charger, I got two HP ProBook that almost exclusively got used when plugged in and after a decade they can still last over two hours, instead my Thinkpad t42 with the same usage pattern now just barely holds enough for shutting down the system
I knew someone who threw away a laptop because the screen broke.
They see junk
I see a new home server with built in ups, just rip off the screen.
The “built-in UPS” is gonna degrade real quick, based on my experience
I think it depends by the manufacturer and how they programmed the charger, I got two HP ProBook that almost exclusively got used when plugged in and after a decade they can still last over two hours, instead my Thinkpad t42 with the same usage pattern now just barely holds enough for shutting down the system