Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 294
  • Last Modified:

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.
0
projects
Asked:
projects
  • 4
  • 4
1 Solution
 
John HurstBusiness 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
 
John HurstBusiness 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
[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

 
projectsAuthor Commented:
So, are you saying that the network connection alone is what uses up the most memory?
0
 
John HurstBusiness 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
 
John HurstBusiness 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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now