SensorsImpl

class SensorsImpl(sensorsInfo: Sensors) : Sensors

Implementation of the Sensors interface. This class provides access to sensor data for the computer system, including CPU temperature, fan speeds, and CPU voltage.

Author

N7ghtm4r3

Parameters

sensorsInfo

The raw sensor information provided by the hardware.

See also

Constructors

Link copied to clipboard
constructor(sensorsInfo: Sensors)

Properties

Link copied to clipboard
open override val cpuTemperature: Double

cpuTemperature The current temperature of the CPU in degrees Celsius

Link copied to clipboard
open override val cpuVoltage: Double

cpuVoltage The current voltage supplied to the CPU, in volts

Link copied to clipboard
open override val fanSpeeds: IntArray

fanSpeeds The speeds of the fans in the system, in RPM (Revolutions per Minute)