Class AixPowerSource

    • Constructor Detail

      • AixPowerSource

        public AixPowerSource​(java.lang.String name,
                              java.lang.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,
                              java.lang.String chemistry,
                              java.time.LocalDate manufactureDate,
                              java.lang.String manufacturer,
                              java.lang.String serialNumber,
                              double temperature)
    • Method Detail

      • getPowerSources

        public static java.util.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.