isGeolocationBatteryOptimizationEnabled

open fun isGeolocationBatteryOptimizationEnabled(@NonNull context: Context): Boolean

Check if Geolocation battery optimization is enabled

Return

boolean true enabled false disabled

Parameters

context

the application context