Name

power source type, powersourcetype, kPMElementPowerSourceType — The power source type.

Synopsis

power source type : string, choice

Description

The power source type.

The power source type is based on the power source's transport characteristics.

power source type is a string. power source type must be one of the following five constants:

  • serial, kPMElementPowerSourceType_Serial. An uninterruptible power supply attached via a serial cable.
  • USB, kPMElementPowerSourceType_USB. An uninterruptible power supply attached via a USB cable.
  • network, kPMElementPowerSourceType_Network. An uninterruptible power supply attached over a network.
  • internal, kPMElementPowerSourceType_Internal. An internal power source such as a battery.
  • unknown, kPMElementPowerSourceType_Unknown. Unable to determine the power source type.