Class MacPowerSource.PowerSourceData
java.lang.Object
oshi.hardware.common.platform.mac.MacPowerSource.PowerSourceData
- Enclosing class:
MacPowerSource
Raw values read from a single IOKit Power Source (IOPS) dictionary by the JNA/FFM subclasses.
-
Constructor Summary
ConstructorsConstructorDescriptionPowerSourceData(String name, double currentCapacity, double maxCapacity) Creates a single power-source reading. -
Method Summary
-
Constructor Details
-
PowerSourceData
Creates a single power-source reading.- Parameters:
name- the power source namecurrentCapacity- the current capacitymaxCapacity- the maximum capacity
-