Uses of Class
oshi.hardware.common.platform.unix.freebsd.FreeBsdPowerSource
Packages that use FreeBsdPowerSource
Package
Description
Provides abstract base classes and pure-Java implementations for FreeBSD hardware, shared by the JNA and FFM modules.
-
Uses of FreeBsdPowerSource in oshi.hardware.common.platform.unix.freebsd
Classes in oshi.hardware.common.platform.unix.freebsd with type parameters of type FreeBsdPowerSourceModifier and TypeInterfaceDescriptionprotected static interfaceFactory for creating platform-specific FreeBsdPowerSource instances.Methods in oshi.hardware.common.platform.unix.freebsd with type parameters of type FreeBsdPowerSourceModifier and TypeMethodDescriptionprotected static <T extends FreeBsdPowerSource>
List<PowerSource> FreeBsdPowerSource.queryBattery(String name, BiFunction<String, Integer, Integer> sysctlInt, FreeBsdPowerSource.PowerSourceFactory<T> factory) Queries battery information and constructs a power source instance using the provided sysctl accessor and factory.