Reputation: 1057
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
?
Upvotes: 4
Views: 244
Reputation: 1033
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.
Upvotes: 0