I think you're looking for these: android.intent.action.ACTION_POWER_CONNECTED android.intent.action.ACTION_POWER_DISCONNECTED
I located them looking through platforms/android-2.1/data/ broadcast_actions.txt, which is a WHOLE LOT EASIER than looking in the documentation, where this is scattered around. The downside is, we don't know what the documentation says about them. I could grep through the documentation, but I'll leave that exercise to you. I find information like this to be very inconvenient to locate in the documentation, because it's distributed in ways that, while logical, I can't always predict. Indexes of intents, themes, XML attributes, categories, system resources, etc. would be very helpful. On Feb 20, 6:03 pm, Quartertone <[email protected]> wrote: > Is there a Broadcast Intent that gets sent out when the device is > plugged in for power? I want to create a BroadcastReceiver to detect > the device's plugged in state. > > I've looked everywhere in the Developer's resources and reference, but > I can't find anything that resembles what I'm trying to do. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

