Re: I thought this was a solved problem
It really depends upon the make and model of laptop. Lenovo, Apple and I believe Toshiba are good, but as I noted above my mid range Dell was poor. But please, my anecdotes are half a decade out of date - lots of vendors have upped their game, so I'd suggest you spend a few minutes googling.
With regards to what Richard has said, my Dell could run off mains with the battery removed