Package oshi.hardware.platform.unix.aix
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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface oshi.hardware.PowerSource
PowerSource.CapacityUnits
-
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<PowerSource>
getPowerSources()
Gets Battery Information.-
Methods inherited from class oshi.hardware.common.AbstractPowerSource
getAmperage, getCapacityUnits, getChemistry, getCurrentCapacity, getCycleCount, getDesignCapacity, getDeviceName, getManufactureDate, getManufacturer, getMaxCapacity, getName, getPowerUsageRate, getRemainingCapacityPercent, getSerialNumber, getTemperature, getTimeRemainingEstimated, getTimeRemainingInstant, getVoltage, isCharging, isDischarging, isPowerOnLine, toString, updateAttributes
-
-
-
-
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.
-
-