Method RequestIgnoreBatteryOptimizations
RequestIgnoreBatteryOptimizations()
Request user to allow unrestricted background work for app. UI for it is provided by OS and is manufacturer specific. Recommended to explain user what to do before requesting. App must have REQUEST_IGNORE_BATTERY_OPTIMIZATIONS permission to be able to request this.
Declaration
public static void RequestIgnoreBatteryOptimizations()