Class AixPowerSource

java.lang.Object
oshi.hardware.common.AbstractPowerSource
oshi.hardware.platform.unix.aix.AixPowerSource
All Implemented Interfaces:
PowerSource

@ThreadSafe public final class AixPowerSource extends AbstractPowerSource
A Power Source
  • Constructor Details

    • AixPowerSource

      public AixPowerSource(String name, String deviceName, double remainingCapacityPercent, double timeRemainingEstimated, double timeRemainingInstant, double powerUsageRate, double voltage, double amperage, boolean powerOnLine, boolean charging, boolean discharging, PowerSource.CapacityUnits capacityUnits, int currentCapacity, int maxCapacity, int designCapacity, int cycleCount, String chemistry, LocalDate manufactureDate, String manufacturer, String serialNumber, double temperature)
  • Method Details

    • getPowerSources

      public static List<PowerSource> getPowerSources()
      Gets Battery Information. AIX does not provide any battery statistics, as most servers are not designed to be run on battery.
      Returns:
      An empty list.