Future<bool> isIgnoringBatteryOptimizations() async { return await channel.invokeMethod(_IS_IGNORING_BATTERY_OPTIMIZATION) as bool; }