Wish: ACTION_POWER_CONNECTED and ACTION_POWER_DISCONNECTED

corwin42

Expert
Licensed User
Longtime User
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.

I think this is more battery friendly.
 
Top