Uses of Class
oshi.hardware.common.platform.mac.MacPowerSource.PowerSourceData
Packages that use MacPowerSource.PowerSourceData
Package
Description
Provides information about hardware such as Memory, Power Sources, and Processor on Mac systems
-
Uses of MacPowerSource.PowerSourceData in oshi.hardware.common.platform.mac
Method parameters in oshi.hardware.common.platform.mac with type arguments of type MacPowerSource.PowerSourceDataModifier and TypeMethodDescriptionprotected static List<PowerSource> MacPowerSource.buildPowerSources(IOKitProvider ioKit, double timeRemainingEstimated, List<MacPowerSource.PowerSourceData> sources, MacPowerSource.PowerSourceFactory factory) Reads theAppleSmartBatteryregistry entry (viaioKit) and merges it with the per-source IOPS readings into a list of power sources.