It an interesting idea. Note that toggling APM will consume more power than maintaining a connection for some period. If APM is on for long enough you can make this a positive change. If you have no coverage, it's definitely a positive change. Of course your texting, chatting, location services, basically everything you have a smartphone for will be broken during that time - you may as well have the phone off. Even phone calls will fail during that time. Turning APM off may also be slow. In some situations it may take 30s or longer to get a data connection, and then apps need to reconnect and check for updates.
I'll enter a feature request. On Tue, Nov 27, 2012 at 9:16 AM, Javo <eq...@live.com> wrote: > > I've never created an android app, however I am a computer science major > (sophomore), so I am relatively familiar with some java code. However, I'm > still new to programming so forgive me if I say anything ignorant. > > I have noticed that the less service I have, the more battery power that > is used to search for service. > My ultimate goal is to create an app that will put my phone on Airplane > mode when it is locked and periodically turn off Airplane mode every X > minutes. > The purpose of putting the phone on Airplane Mode when it is locked is to > prevent the phone from using battery searching for service when I am not > using it. > The purpose of turning off Airplane Mode every X minutes is to allow my > phone to "update," by searching and hopefully connecting to a network so > that I can be alerted of any missed text messages and/or calls that I have > received since being on airplane mode. > If the phone is unlocked, I would like Airplane mode to be turned off. > > Ideally, I would rather not have to write this code at all. I would really > appreciate it if someone else could write it for me, not because I am lazy, > but because this is an app that my phone desperately needs because I spend > a lot of time in areas where I have too little service for the phone to > effectively use the networks to send information, but just enough service > that my phone can still receive information from senders (texts/emails). > -Thank you to whomever may be able to help me. > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en