Event signalling change of power status
The power-status-changed event is generated by the Upstart init(8) daemon when it receives the SIGPWR signal, this has been typically generated by UPS monitoring software such as powstatd(8)
This event is not handled in the default Upstart configuration.
A task to be run on change of power status might use:
start on power-status-changed