4 ms·
> 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 caff
by 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?