Take a look at: http://sourceforge.net/projects/andbatdog/
it is not too large, answers all your questions. On Mar 4, 10:50 pm, veenviz <veen....@gmail.com> wrote: > hi anrdoid-folks > im a student who is new to java and 've jst managed to run > hello word program in android sdk. > > im building a small app for which I need to know 3 things: > 1. the battery charge begins event (plugged thru AC power / USB or how > ever) > 2. the battery charging stopped event (unplugged from AC power / USB) > 3. api to query amount of battery left (in %) > > Can any of u guys plz help me with piece of code or links to the above > > any help is much appreciated -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en