3 ms·
It uses the same underlying API. I use it too. It’s only on–off, though, so you have to remember to turn it off.
by guan 11y ago
It uses the same underlying API. I use it too. It’s only on–off, though, so you have to remember to turn it off.
- lvillani 11y ago> It uses the same underlying API I don't think so. For whatever reason Caffeine doesn't take a power assertion, as show by `pmset -g assertions`, whereas caffeinate does. This is what prompted me to write Theine (https://github.com/lvillani/theine https://github.com/lvillani/theine) to use the proper API for this task, since Caffeine would behave erratically with the lock screen active.
- guan 11y agoThat’s odd. Do you have any idea what API they use?