Sample Header Ad - 728x90

Power source event trigger

2 votes
2 answers
420 views
Late 2014 Mac mini running Sierra connected to an APC BackUPS Pro 900. No special software has been installed to support the UPS. At the moment I run pmset every minute to determine the power source, and trigger actions based on the results. However, a dialog window pops up as soon as the Mac switches to backup power. I'm wondering if there is any way I can trigger based on anything else, given that macOS seems to be able to do so.
Asked by Rob de Jonge (2314 rep)
Feb 7, 2017, 04:12 PM
Last activity: Feb 7, 2017, 07:20 PM