AThermalHeadroomThreshold

#include <thermal.h>

This struct defines an instance of headroom threshold value and its status.

Summary

The value should be monotonically non-decreasing as the thermal status increases. For ATHERMAL_STATUS_SEVERE, its headroom threshold is guaranteed to be 1.0f. For status below severe status, the value should be lower or equal to 1.0f, and for status above severe, the value should be larger or equal to 1.0f.

Also see AThermal_getThermalHeadroom for explanation on headroom, and AThermal_getThermalHeadroomThresholds for how to use this.

Public attributes

headroom
float
thermalStatus

Public attributes

headroom

float AThermalHeadroomThreshold::headroom

thermalStatus

AThermalStatus AThermalHeadroomThreshold::thermalStatus