Class PowerSaveModeInstrumentation
-
- All Implemented Interfaces:
-
io.opentelemetry.android.instrumentation.AndroidInstrumentation
@AutoService(value = {AndroidInstrumentation.class}) public final class PowerSaveModeInstrumentation implements AndroidInstrumentationAn Android instrumentation module that installs and manages PowerSaveModeDetector.
The power save mode APIs (PowerManager.isPowerSaveMode and PowerManager.ACTION_POWER_SAVE_MODE_CHANGED) are available since API level 21, which is below this library's minSdk, so no version gating is required.