Uses of Interface
oshi.hardware.common.platform.mac.MacPowerSource.PowerSourceFactory
Packages that use MacPowerSource.PowerSourceFactory
Package
Description
Provides information about hardware such as Memory, Power Sources, and Processor on Mac systems
-
Uses of MacPowerSource.PowerSourceFactory in oshi.hardware.common.platform.mac
Methods in oshi.hardware.common.platform.mac with parameters of type MacPowerSource.PowerSourceFactoryModifier 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.