You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not a bug, as it currently is coded like it, but I think the function stopOptimizingBatteryUsage should wait on the users response and return true or false depending on the users action.
I am not sure however if there is a way to do that.