powerManagement top-level constant

NotificationType const powerManagement

Implementation

const powerManagement = NotificationType(
  /* 0x08 */ NOTIFICATION_TYPE_POWER_MANAGEMENT, 'Power Management', //
  [
    NotificationValue(0, 'State idle' //
        // Notification value for the state variable going to idle. (V5)
        ),
    NotificationValue(1, 'Power has been applied'),
    NotificationValue(2, 'AC mains disconnected'),
    NotificationValue(3, 'AC mains re-connected'),
    NotificationValue(4, 'Surge detected'),
    NotificationValue(5, 'Voltage drop/drift'),
    NotificationValue(6, 'Over-current detected'),
    NotificationValue(7, 'Over-voltage detected'),
    NotificationValue(8, 'Over-load detected'),
    NotificationValue(9, 'Load error'),
    NotificationValue(10, 'Replace battery soon'),
    NotificationValue(11, 'Replace battery now'),
    NotificationValue(12, 'Battery is charging'),
    NotificationValue(13, 'Battery is fully charged'),
    NotificationValue(14, 'Charge battery soon'),
    NotificationValue(15, 'Charge battery now'),
    NotificationValue(16, 'Back-up battery is low'),
    NotificationValue(17, 'Battery fluid is low'),
    NotificationValue(18, 'Back-up battery disconnected'),
    /* NotificationValue(254, Unknown event/state) */
  ],
);