'Why Apple Created isBatteryMonitoringEnabled?
To monitor battery state and level, app should first enable isBatteryMonitoringEnabled property and set it true.
But why this property created?
You can set it to false or true wherever you want and system does not interfere in monitoring ever.
Is there any advantages in performance to set it false?
Solution 1:[1]
I think the OS wants to know what's is your app needs. It affects which apps should be terminated when there isn't enough memory.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | yonivav |
