摘要 |
An apparatus and method for monitoring environmental conditions in a computing device is provided. After collecting the initial value of each environmental sensor, a processor calculates the difference between the current value and the next warning/critical level value. The processor instructs an environmental sensor controller to report new sensor measurements only when the sensed value changes by at least a half of the difference between the current value and the next warning/critical level value. Upon receipt of a new sensor value from the environmental sensor controller, the processor adjusts the reporting threshold by re-calculating the difference between the current sensed value and the next warning/critical level value. This process of reporting threshold adjustment continues until the sensor value is within a danger zone. Once the sensor value is within the danger zone, the processor will set the reporting threshold to a minimum allowed for the particular environmental sensor type. |