Hacker News new | ask | show | jobs
by reidjs 1516 days ago
For some reason caffeinate doesn't keep my computer awake (newish macbook pro)
2 comments

You might need `caffeinate -d` to prevent the display from sleeping.
While this does work, I agree with OP here. The man page for caffeinate says that it prevents system sleep and, as far as I can tell, it does not do that on my M1 MBP using Monterey.

I do a `caffeinate -d` and then throw my mouse to a hot corner to activate the screen saver.

I've been using a Zoom meeting of just myself, locked, audio and camera off. Worked like a charm when I needed to discharge a swelling battery.
> Worked like a charm when I needed to discharge a swelling battery.

I think you buried the lede there...

It just happens, apparently. Here's a decent rundown:

https://www.ifixit.com/Wiki/What_to_do_with_a_swollen_batter...