upvote
Why the concern?

I feel like The Internet has this urban myth that says keeping a charged battery plugged in all the time will eventually cause it to explode and burn your house down, guaranteed.

I get that keeping a battery at 100% charge is not great for it in terms of longevity (ability to hold a charge). And it's obvious that heating the battery up by running the laptop at full tilt inside a backpack or something will turn it into a spicy pillow.

But I struggle to imagine the failure mode that reliably shows up when keeping the laptop powered on 24x7 that is never a problem for 8-16 hours of continuous use while plugged in (a very typical work day for my laptops).

reply
I used a MacBook Pro as a server for years. It was fine for its purpose, however the battery did swell and need replacing. It may have damaged the trackpad, and like the other comment mentioned, idk what would have happened if I had left it swelling for a couple more years. Probably not a battery fire? But the $230 or so that a massively more powerful HP USFF that I replaced it with was worth it, even versus a 0.1% chance it would burn my house down and possibly kill my whole family in the process.

I ended up repairing the Mac, replacing the battery, and installing Chrome OS on it. (chrome sucks though, someday I’ll get it back out and switch to real Linux)

reply
> I feel like The Internet has this urban myth that says keeping a charged battery plugged in all the time will eventually cause it to explode and burn your house down, guaranteed.

I had a MacBook Pro where the laptop worked but the battery became swollen so much that it distorted the case. If I wasn't there to notice it, it would probably burst at some point and Lithium is very flammable.

It's probably rare and overblown, but it can happen.

reply
You work around your laptop so you'll notice an issue. A laptop in a closet is not observed.
reply
Yep. One of my laptop batteries had concerning swell, and I only noticed once it slightly deformed the case (and didn't sit flat on the desk).

If that had been in a closet, it would have been months or years before I realized.

reply
I usually disconnect the battery and just power them via USB-C. The battery on these old broken laptops is usually toast anyway...
reply
you're lucky you're running into models that don't panic in some way without a battery.

for example some alienware and XPS models rely on the battery for amperage capacitance when their big onboard GPUs get busy; allows them to run cooler/less-wattage/smaller wall-warts but it also makes for a platform that'll crash when it hits a high GPU usage without a decent way to make up the amps.

'spose you could use a bigger power supply if you get bios/uefi to play nice. hard proposition sometimes with Dell products.

reply
Well, of course I'm not getting old gaming/pro laptops with dedicated gpus, they would consume far too much power, require extensive cooling, and these are way too expensive anyway, even when broken. I usually get old, boring office laptops (lenovo/dell) from bulk resellers, with integrated graphics who are sufficiently used/broken so they are dirt cheap. As long as they still turn on, the mainboard is usually fine (I've yet to get a broken one).
reply
You can just limit maximum charge (using something like aldente), then replace the battery every 4 years if you need extra peace of mind.

Batteries degrade much faster when fully cycled repeatedly, and even then just about any laptop battery can easily make it 6+ years with low-to-zero risk of failure.

reply
Most old PC laptops have external batteries you can detach by pulling out on a springloaded tab. Even MacBooks are possible to run without the battery, but it requires some NVRAM trickery IIRC.
reply
Some older MacBook and MacBook Pro models reduce processor speed and GPU performance roughly by half when running without a battery, to avoid shutting down if the computer needs more power than the AC adapter can provide.

Apple documented the behavior in a support note. I’m not sure if the Apple Silicon models do the throttling as well. I guess the situation doesn't come up as often since the batteries are no longer user-removable.

reply
At least on older Macbook there's a way to override BD PROCHOT MSR setting to undo the slowdown.
reply
I’ve got a 2017 MacBook Pro with a dead screen, dead keyboard & trackpad and no battery sitting behind my sofa, closed in a vertical stand and running macOS as a test server. Open Core Legacy Patcher will allow you to boot without the CPU slow down: https://dortania.github.io/OpenCore-Legacy-Patcher/
reply
I have the same device, did you just remove the battery after installing opencore? last I tried, I got omarchy running on it but now it just boots to the startup disk always. Not sure what's wrong.
reply
Maybe put it on a timer, or have the laptop control its own outlet.
reply
Charge limiting software? Surely there is at least one that works from the CLI.
reply