Class ThermalInstrumentation
-
- All Implemented Interfaces:
-
io.opentelemetry.android.instrumentation.AndroidInstrumentation
@AutoService(value = {AndroidInstrumentation.class}) public final class ThermalInstrumentation implements AndroidInstrumentationAn Android instrumentation module that installs and manages ThermalDetector.
The underlying thermal status APIs (PowerManager.addThermalStatusListener) are only available on API level 29 (Android Q) and higher, so this instrumentation no-ops on older devices even though the library supports a lower minSdk.