power saving tip network android

We are working on an Android test which seems to be using up the battery very quickly so looking for ideas.

In the test, we are doing a network connection to a remote server every single second, 24/7. The test is a simple web connection to a target but we run it non stop with a 1 second loop.

This is killing the battery fairly quickly and I was asked if I could put this question to the experts and see if anyone might have any not so obvious answers.

Yes, not so obvious means exactly that. We KNOW we are killing the battery because the test is non stop, quick and 24/7 but that is the test, in trying to figure out how to save battery power.

Telling me that the battery is being killed over the obvious is of no value.
Telling me that the constant network access is killing the battery... etc, we know this.

Giving me some ideas on how we could save battery power, leads, etc, are what I am hoping for.

Thanks.
projectsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
You cannot save battery power by using it at the same time. That is an oxymoron.

What I do with my iPhone is turn Mail off so I must run mail to retrieve it. This saves a lot of power. Likewise, I turn off auto update on most things. I do not activate constant web based searches.

So try these things above so that you have sufficient power to run your test.
0
projectsAuthor Commented:
LOL, yes, you are right, it is an oxymoron.

But, this is why I posted here, to get some 'thinking outside the box' ideas :)

It's true that services could be managed but most people aren't going to take the time to do that.
Any app that we build would probably have to control such services and that would not be good. Of course, it could be part of the acceptance of running the app I guess.
0
JohnBusiness Consultant (Owner)Commented:
I have learned by experience that the only way to extend the battery run time is to turn off wireless traffic. True most people don't but short of turning the screen off, that is about all you can do. The rest of the stuff (non-screen and non-traffic) does not consume a lot of battery power.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

projectsAuthor Commented:
So, are you saying that the network connection alone is what uses up the most memory?
0
JohnBusiness Consultant (Owner)Commented:
Memory is not a power hog. Network uses transmit and receive which is what uses the power.
0
projectsAuthor Commented:
Sorry, didn't mean memory, meant power.
0
JohnBusiness Consultant (Owner)Commented:
@projects - Thanks, and I was happy to help.
0
projectsAuthor Commented:
Oops, and I didn't thank you so my apologies for that, I usually do :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Android

From novice to tech pro — start learning today.