Minga.Events.PowerThermalStateEvent (Minga v0.1.0)

Copy Markdown View Source

Payload for :power_thermal_state_changed events. Published by the native GUI when macOS low power mode or thermal pressure changes.

Summary

Types

t()

@type t() :: %Minga.Events.PowerThermalStateEvent{
  low_power?: boolean(),
  thermal_state: thermal_state()
}

thermal_state()

@type thermal_state() ::
  :nominal | :fair | :serious | :critical | {:unknown, non_neg_integer()}