Fwiw, I have a 13" ThinkPad with a 4k display and get ~4 hours of real battery life or more while working with docker running a handful of containers, browser, vim, spotify, and a few dev tools running.
Nothing amazing by any means, but it's plenty for real world usage and if I stop the docker daemon, I probably gain another hour or two. How often are you working somewhere for more than a few hours without a plug?