Zend certified PHP/Magento developer

How to avoid hardware compability problems when shopping for a laptop to run Linux on?

I own a Latitude e6540 for years that works flawlessly with Linux. I was confident that a brand-new Latitude 5490 (i7 8650u) would work too. That simply wasn’t the case. Unfortunately, Linux can’t stand-by. This has the effect of reducing the portability of the system, because I can’t ever leave it unplugged unless it is completely shut down, because otherwise it continues to draw power from the battery until it becomes dead, and then I lose whatever I had been working on. It effectively makes the laptop unusable for me. Unfortunately this problem persists across every Linux distro that I’ve tried (Manjaro, Ubuntu).

How can I buy a comparable laptop that does not have this type of issue?