My XPS 13 on Ubuntu while sleping randomly turns on in my backpack and tries to melt a hole/burns the battery to 0. So I think at least SOME of it might be hardware related.
As I understood it, it's an ACPI configuration, more or less 'forced' by Microsoft, to ensure this cool new S0 is the default. See [0] [1] and [2]. The fix/work-around is to tell the kernel to not do that, and just use traditional S3 sleep.
Adding `mem_sleep_default=deep` to your kernel cmdline should fix it. Been doing this on my XPS13 for 3 years now and it's fine.
Dell has "fixed" that problem by disabling S3 sleep on certain laptops. Not even kidding, the ACPI tables don't have S3 sleep as an option and it's not even some matter of OSI string trickery either.
It’s more serious than laptops committing suicide in bags. It’s, anything with a high-energy battery can short itself and cause a fire. Worse, it could be malware or hardware. At this point I am surprised the vulnerability hasn’t been used by anyone.
You can't extinguish a lithium ion battery fire by smothering it. The fire creates its own oxygen. You can contain the fire, and you can immerse it in enough water that it cools below the burning temperature and shorts out through the water.
It is not from this thread, but my experience over the last 15 to 20 years. I have seen lots and lots of people, including myself, close MacBook lids, toss it in a bag, and start walking. But I do not see that with non MacBooks. It was so notable to me that it led me to decide to look into switching to MacBook Airs.
*except Macs. I daily drive my desktop with Linux and occasionally game with Windows (it’s set up to be my driver as well with WSL2, but that happens rarely). I’ll only use Mac laptops. I’ve screwed around with others, but for about 18 years they have been the only ones that have been reliable, with good build quality, and no molten backpacks yet.
There are some people reporting problems with Macs on this thread...
What is bad, because if there were one platform that would avoid this problem it would be Macs. But anyway, my phone does that once in a while too... Phones also shouldn't do it.
It's not even a hard problem to solve. There is a single piece of code that wakes a device up, you just have to not call it everywhere. If you don't control all the code, just require some kind of permission, and don't go granting it to the team that writes the system updater.
I've had nothing but problems with Apple's "Power Nap" functionality. I remember three discrete issues with my 2014 MBP (Quartz would randomly crash out of naps when connected to external displays, the topcase frequently felt mysteriously warm and my media controls would freak out forcing me to close spotify/firefox before closing it) Ironically, the only time I've seen it behaving as-intended was when I had my T460p running MacOS with photo analysis disabled. I'm guessing it's an ACPI issue, since Apple's track record with the technology is shaky.
I've had the opposite experience with Macbooks. WiFi randomly dropping out, battery dying overnight while the laptop is closed, external display settings not being persisted, randomly switching from my external microphone to the built-in one halfway through a call... Sometimes reading through these threads I feel like the only person in the world who has somehow had three faulty Macbooks in a row.
I've now had three generations of XPS 13 with Ubuntu. They're not perfect (the battery drains over 3 or 4 days instead of overnight) but overall my experience has been much better.