Uses of Enum
oshi.hardware.PowerSource.CapacityUnits
Packages that use PowerSource.CapacityUnits
Package
Description
[oshi-core API] Provides cross-platform implementation to retrieve hardware information such as CPU, Memory, Display,
Disks, Network Interfaces, Power Sources, Sensors, and USB Devices
Provides abstract classes for common code
Provides information about hardware such as Memory, Power Sources, and Processor on Linux systems
Provides information about hardware such as Memory, Power Sources, and Processor on Mac systems
Provides information about hardware such as Memory, Power Sources, and Processor on AIX systems
Provides information about hardware such as Memory, Power Sources, and Processor on FreeBSD systems
Provides information about hardware such as Memory, Power Sources, and Processor on OpenBSD systems
Provides information about hardware such as Memory, Power Sources, and Processor on Solaris systems
Provides information about hardware such as Memory, Power Sources, and Processor on Windows systems
-
Uses of PowerSource.CapacityUnits in oshi.hardware
Methods in oshi.hardware that return PowerSource.CapacityUnitsModifier and TypeMethodDescriptionPowerSource.getCapacityUnits()
Reports =the units ofPowerSource.getCurrentCapacity()
,PowerSource.getMaxCapacity()
, andPowerSource.getDesignCapacity()
static PowerSource.CapacityUnits
Returns the enum constant of this type with the specified name.static PowerSource.CapacityUnits[]
PowerSource.CapacityUnits.values()
Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of PowerSource.CapacityUnits in oshi.hardware.common
Methods in oshi.hardware.common that return PowerSource.CapacityUnitsConstructors in oshi.hardware.common with parameters of type PowerSource.CapacityUnitsModifierConstructorDescriptionprotected
AbstractPowerSource
(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) -
Uses of PowerSource.CapacityUnits in oshi.hardware.platform.linux
Constructors in oshi.hardware.platform.linux with parameters of type PowerSource.CapacityUnitsModifierConstructorDescriptionLinuxPowerSource
(String psName, String psDeviceName, double psRemainingCapacityPercent, double psTimeRemainingEstimated, double psTimeRemainingInstant, double psPowerUsageRate, double psVoltage, double psAmperage, boolean psPowerOnLine, boolean psCharging, boolean psDischarging, PowerSource.CapacityUnits psCapacityUnits, int psCurrentCapacity, int psMaxCapacity, int psDesignCapacity, int psCycleCount, String psChemistry, LocalDate psManufactureDate, String psManufacturer, String psSerialNumber, double psTemperature) -
Uses of PowerSource.CapacityUnits in oshi.hardware.platform.mac
Constructors in oshi.hardware.platform.mac with parameters of type PowerSource.CapacityUnitsModifierConstructorDescriptionMacPowerSource
(String psName, String psDeviceName, double psRemainingCapacityPercent, double psTimeRemainingEstimated, double psTimeRemainingInstant, double psPowerUsageRate, double psVoltage, double psAmperage, boolean psPowerOnLine, boolean psCharging, boolean psDischarging, PowerSource.CapacityUnits psCapacityUnits, int psCurrentCapacity, int psMaxCapacity, int psDesignCapacity, int psCycleCount, String psChemistry, LocalDate psManufactureDate, String psManufacturer, String psSerialNumber, double psTemperature) -
Uses of PowerSource.CapacityUnits in oshi.hardware.platform.unix.aix
Constructors in oshi.hardware.platform.unix.aix with parameters of type PowerSource.CapacityUnitsModifierConstructorDescriptionAixPowerSource
(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) -
Uses of PowerSource.CapacityUnits in oshi.hardware.platform.unix.freebsd
Constructors in oshi.hardware.platform.unix.freebsd with parameters of type PowerSource.CapacityUnitsModifierConstructorDescriptionFreeBsdPowerSource
(String psName, String psDeviceName, double psRemainingCapacityPercent, double psTimeRemainingEstimated, double psTimeRemainingInstant, double psPowerUsageRate, double psVoltage, double psAmperage, boolean psPowerOnLine, boolean psCharging, boolean psDischarging, PowerSource.CapacityUnits psCapacityUnits, int psCurrentCapacity, int psMaxCapacity, int psDesignCapacity, int psCycleCount, String psChemistry, LocalDate psManufactureDate, String psManufacturer, String psSerialNumber, double psTemperature) -
Uses of PowerSource.CapacityUnits in oshi.hardware.platform.unix.openbsd
Constructors in oshi.hardware.platform.unix.openbsd with parameters of type PowerSource.CapacityUnitsModifierConstructorDescriptionOpenBsdPowerSource
(String psName, String psDeviceName, double psRemainingCapacityPercent, double psTimeRemainingEstimated, double psTimeRemainingInstant, double psPowerUsageRate, double psVoltage, double psAmperage, boolean psPowerOnLine, boolean psCharging, boolean psDischarging, PowerSource.CapacityUnits psCapacityUnits, int psCurrentCapacity, int psMaxCapacity, int psDesignCapacity, int psCycleCount, String psChemistry, LocalDate psManufactureDate, String psManufacturer, String psSerialNumber, double psTemperature) -
Uses of PowerSource.CapacityUnits in oshi.hardware.platform.unix.solaris
Constructors in oshi.hardware.platform.unix.solaris with parameters of type PowerSource.CapacityUnitsModifierConstructorDescriptionSolarisPowerSource
(String psName, String psDeviceName, double psRemainingCapacityPercent, double psTimeRemainingEstimated, double psTimeRemainingInstant, double psPowerUsageRate, double psVoltage, double psAmperage, boolean psPowerOnLine, boolean psCharging, boolean psDischarging, PowerSource.CapacityUnits psCapacityUnits, int psCurrentCapacity, int psMaxCapacity, int psDesignCapacity, int psCycleCount, String psChemistry, LocalDate psManufactureDate, String psManufacturer, String psSerialNumber, double psTemperature) -
Uses of PowerSource.CapacityUnits in oshi.hardware.platform.windows
Constructors in oshi.hardware.platform.windows with parameters of type PowerSource.CapacityUnitsModifierConstructorDescriptionWindowsPowerSource
(String psName, String psDeviceName, double psRemainingCapacityPercent, double psTimeRemainingEstimated, double psTimeRemainingInstant, double psPowerUsageRate, double psVoltage, double psAmperage, boolean psPowerOnLine, boolean psCharging, boolean psDischarging, PowerSource.CapacityUnits psCapacityUnits, int psCurrentCapacity, int psMaxCapacity, int psDesignCapacity, int psCycleCount, String psChemistry, LocalDate psManufactureDate, String psManufacturer, String psSerialNumber, double psTemperature)