Yes, I know. The problem is that BatteryChangedEvent is fired quite often and I think the device does not go to sleep mode if I receive the event continiously?
From Developer Docs:
Unlike ACTION_BATTERY_CHANGED, applications will be woken for this and so do not have to stay active to receive this notification.
The device will go to sleep when you catch the BatteryChanged event. The difference is that your device will not be woken up by the BatteryChanged event.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.