Power Manager Notifications

Power Manager Notifications is a per-session application responsible for Power Manager's essential user interface.

Each graphical user session has an instance of Power Manager Notifications.app. Without Power Manager Notifications.app the user will not be kept informed of pending or executing events.

You can safely kill and relaunch Power Manager Notifications.app without affecting Power Manager’s Schedule.

Overview

Power Manager Notifications.app handles three major interface elements:

Warnings

Warnings are displayed moments before a host affecting action is performed. A warning explains two things to the user: what action is about to occur and what is responsible for the action.

The default warning is a large action or event specific icon accompanied by a short message. The message is typically the event name.

A warning is displayed for no less that 2 seconds before the action begins. This is enough time to register with the active user. There is no expectation of the user being able to stop or affect the action; notifications are provided earlier to allow the user to affect the action.

A warning reassure users that an action is planned, predictable, and appropriate. Power Manager can be used to shut down the user’s computer. If the user sees their Mac shutting down without obvious reason, expect the user to be upset. A warning provides the user with a reason and culprit for the shut down; even then some users will be upset if their work is interrupted, but they now have a cause.

As a Power Manager client Power Manager Notifications.app observes the notifications.warnings variable.

Notifications

Notifications are typically displayed minutes before an event is triggered. A notification is a polite reminder of a pending event.

Notifications are displayed for events whose trigger time and date can be calculated. These include the date and time trigger and daily trigger.

A notification raises the user’s awareness of a pending event. Notifications do not interrupt the workflow of the active user. Pending events may not be critical to the user, and in most cases the event is unlikely to affect the user’s situation.

However, some events will affect the user. These events include those with shut down actions and other host affecting actions. The notification must always give the user an opportunity to secure their work. Notifications provide the opportunity for the appropriately privileged user to adjust or cancel the pending event.

Events without time and date based triggers do not display notifications.

As a Power Manager client Power Manager Notifications.app observes the notifications.current variable.

Status Menu

The status menu is an ever present display of pending triggers. The status menu provides a quick glance guide to the next pending trigger.

Displaying the status menu’s contents shows the user a list of pending triggers. The status menu can provide a means of adjusting or cancelling pending triggers.

As a Power Manager client Power Manager Notifications.app observes the notifications.pending variable.

Defaults and Customisation

In versions before 5.11.0, it was possible to use defaults to customise parts of the notifications interface; this is no longer supported due to macOS sandboxing constraints.

Notification behaviour is controlled using macOS’s System Settings’ Notifications panel.

Files