DIGIT-ARC read-only archive · snapshot: July 23, 2026

Without ads, Android apps could be more than twice as power-efficient!!

37 posts · originally from https://geek.digit.in/community/threads/without-ads-android-apps-could-be-more-than-twice-as-power-efficient.154367/

dashing.sujay
dashing.sujay Original post #1
Mar 20, 2012 at 3:16 AM
*brokewino.com/wp-content/uploads/2010/09/blog-what-is-android.gif​

A team of researchers from Purdue University and Microsoft has discovered that up to 75 percent of app-related battery drain in Android can be caused by ad-serving processes. Led by Abhinav Pathak, the team developed an energy profiler named EProf, which is able to perform fine-grained analysis of the battery use of any Android app, separating each thread inside and recording its energy use. The team tested five popular Android applications including Angry Birds, FreeChess, and the New York Times app using a HTC Passion (Nexus One) running Android 2.3.

In testing Angry Birds, Pathak recorded energy usage for one level of gameplay, and found that less than 30 percent of the app's battery drain was caused by the game itself. The other 70 percent was consumed by the uploading of user information metrics, location, and downloading and displaying of adverts. Pathak notes that although the user profiling occurs only once, new adverts are displayed with each level, causing similar battery drain to occur throughout gameplay.

In FreeChess — a game downloaded over 10 million times — the team started a game and profiled a 33-second period. The test yielded similar results. with around 70 percent of battery drain being caused by ad-related processes. It wasn't only ad-serving apps that wasted battery life on non-essential functions, however, with both the native browser and the New York Times app expending around 15 percent of their total usage performing user tracking.

Pathak explained to us that the team's objective wasn't to expose any particular app or advertising agency for using too much energy, but rather to develop software that can help developers and advertisers to improve the efficiency of their software. Android ads don't have to consume so much energy — they're just poorly coded at the moment, the study suggested. The team plans to release the EProf tool for free under an open-source license soon.

Update: Abhinav Pathak has just reached out to let us know that his team is currently working with Microsoft Research to bring the EProf tool to Windows Phone, in addition to expanding its research on energy efficiency.



Source
thetechfreak
Mar 20, 2012 at 7:14 AM
Interesting. I any way play my games in offline mode :p
Sujeet
Sujeet #3
Mar 20, 2012 at 2:17 PM
Turn GPS/3G/WIFI/BLUETOOTH OFF.
Good Enough To make phone run for whole day.
No Ads.
Root The Phone.
Throw out Bloatwares.
And done.No need For Premium Apps.
Battery Save.Mission Accomplished.
dashing.sujay
Mar 20, 2012 at 2:18 PM
Rooting won't throw ads in built in apps.
Sujeet
Sujeet #5
Mar 20, 2012 at 2:22 PM
The only major built in/pre-loaded crap is Google App suite.
Rest is manufacturer specific customisation and UI.
Vyom
Vyom #6
Mar 20, 2012 at 5:05 PM
Looks like a study being promoted by app developers in an attempt to give boost in sales of "paid apps" :D

On a serious note, it might be true. I have never liked the nagging ads anyway. But the message is clear. If you can, buy the paid or donate versions of the apps. Helps both the devs and the battery! ;)
coderunknown
Mar 20, 2012 at 6:25 PM
Rooting won't throw ads in built in apps.

yup. apps will try to connect to internet (which is turned off) and download ads. i don't think ads come build in with the apps. so they keep trying and eating battery and processing power.
dashing.sujay
Mar 20, 2012 at 6:27 PM
^Most free apps do carry ads.
devx
devx #9
Mar 20, 2012 at 7:21 PM
Hey man., what about the app -- AdFree -- i guess every root user got this and it's good.
Sujeet
Sujeet #10
Mar 20, 2012 at 8:08 PM
Rooting won't throw ads in built in apps.

I didnt say rooting will stop ads.
I meant that rooting allows removing preloaded junk which helps in saving some juice of battery.
Champ
Champ #11
Mar 20, 2012 at 8:35 PM
If a developer has written different threads for ad processing and main app activity, I will consider him a good developer.

Although I highly doubt claimed figure of 75%,Will surely like to see how they have measured power consumption and linked the same to battery usage.

@devx : Apps like adFree modify host file to redirect queries to popular ad serving services to localhost. So they get null or 404 responses.

Running OS under root account give access to system partitions, hence prerequisitefor apps like adFree

So installing adFree or turning off data will decrease power consumption to a extent (no CPU cycles will be wasted in ad data processing as app is now getting null responses) but will not entirely eliminate it (as calls to there services will still be made by app at periodic intervals).
TheLetterD
Mar 21, 2012 at 7:55 PM
If it wasnt for Ads google wouldnt earn money
So
No ads? No android
And we all would still be stuck with propriety OSs, Brew OS, Meego, Symbian, iOS and BBos

Oh lord. the horror.
Vyom
Vyom #13
Mar 21, 2012 at 8:23 PM
^^ lol?

If you think the "embedded apps", which sucks the life out of battery, is the "only" source of "income" for Google, then you really need to open your eyes buddy!

I will try to give you a head start in understanding where does the money comes from Google. Wiki, "AdWords".
TheLetterD
Mar 22, 2012 at 8:22 PM
Ummm yeah but isnt that what you are talking about?
Im sorry if I said something wrong, Ive never owned an android before. I thought that free apps had those AdWords/AdSense advertisement system in them.
red dragon
Mar 22, 2012 at 11:39 PM
Turn GPS/3G/WIFI/BLUETOOTH OFF.
Good Enough To make phone run for whole day.
No Ads.
Root The Phone.
Throw out Bloatwares.
And done.No need For Premium Apps.
Battery Save.Mission Accomplished.
Why not turn off the freakin phone itself and buy a Nokia 1100?

Hey man., what about the app -- AdFree -- i guess every root user got this and it's good.
You do not need another stupid app for this....you can patch a few host files yourself and it is easy.
Sujeet
Sujeet #16
Mar 22, 2012 at 11:42 PM
Yeah good idea...but 1100 aint available anymore lol.:p
Have you got one.I am ready to buy. :p
rahul_c
rahul_c #17
Mar 26, 2012 at 4:43 AM
I just disable apps like games, tools, etc from avast firewall. That way they cant show ads, and use AdFree it blocks almost all in-app ads.
sameer.pur
Mar 26, 2012 at 2:23 PM
I doubt the 70% usage statistics being presented by them. Yes they consume battery but it shouldn't be this much. When developing a mobile app, you need to consider many facts. Battery is also one of them and I doubt that re-known developers would ignore this fact if ads were consuming this much of battery. :|
red dragon
Mar 26, 2012 at 9:22 PM
..... re-known developers would ignore this fact if ads were consuming this much of battery. :|
WTF is a RE-KNOWN dev?
On a serious note,Google should screen Android market more rigidly before creating hype on jellybean or whatever..it has become a junk yard.
G
Mar 26, 2012 at 10:35 PM
thats not true always.
what if i block app by firewall .
what if the device has host file changed to localhost .
dashing.sujay
Mar 26, 2012 at 11:25 PM
On a serious note,Google should screen Android market more rigidly before creating hype on jellybean or whatever..it has become a junk yard.

One day it will be quantity Vs quality (Android Vs iOs).

thats not true always.
what if i block app by firewall .
what if the device has host file changed to localhost .

Nope, the inbuilt ads will still try to access and consume the resources.
G
Mar 26, 2012 at 11:32 PM
One day it will be quantity Vs quality (Android Vs iOs).



Nope, the inbuilt ads will still try to access and consume the resources.

yes but firewall can block them
dashing.sujay
Mar 26, 2012 at 11:36 PM
yes but firewall can block them

Mate, the firewall will just block "network access", it won't stop the threads from doing their task. Let me explain, you can stop automatic updates of an antivirus, but can't the program itself to "attempt" that.

Take it like, if there doesn't exits any tower then does the phone stops searching from network, given that you don't change automatic mode. (there is no manual mode in apps)
coderunknown
Mar 27, 2012 at 12:01 AM
someone please clarify this: are apps ads built in or they are hosted somewhere?
dashing.sujay
Mar 27, 2012 at 12:05 AM
^Explain your question pls ?
krishnandu.sarkar
Mar 27, 2012 at 12:29 AM
What he means is, are the ads built into apps or hosted somewhere else..??

Well, it works just like google adwords in your webpages. You just need to put the script, google will automatically put ads.

Otherwise there are many apps for which authors make ads as static, what I mean is, they provide ad for some other apps of them.
coderunknown
Mar 27, 2012 at 12:40 AM
ah crap. i mean ads. sorry. big typo. googled a bit but this query is unanswered.

thanks krishnandu :)
dashing.sujay
Mar 27, 2012 at 12:51 AM
Of course the ads are in built as a part of that app, just consider it a feature. And why you can't remove it? Can you remove a feature of any app until and unless you edit its source code? (don't say resource hacker)

Mate, the firewall will just block "network access", it won't stop the threads from doing their task. Let me explain, you can stop automatic updates of an antivirus, but can't the program itself to "attempt" that.

Take it like, if there doesn't exits any tower then does the phone stops searching from network, given that you don't change automatic mode. (there is no manual mode in apps)

This.
krishnandu.sarkar
Mar 27, 2012 at 8:34 AM
@Sam It's ok.

@dashing.sujay Well we can block ads using Adblock. The idea behind it is same as in PC. Adding the ads URL to hostsfile so that they don't get connected to Internet.

But static ads will work in that case. Those can't be blocked I guess.
dashing.sujay
Mar 27, 2012 at 8:36 AM
The whole (most) point is of static ads only. :)
G
Mar 27, 2012 at 9:48 AM
Mate, the firewall will just block "network access", it won't stop the threads from doing their task. Let me explain, you can stop automatic updates of an antivirus, but can't the program itself to "attempt" that.

Take it like, if there doesn't exits any tower then does the phone stops searching from network, given that you don't change automatic mode. (there is no manual mode in apps)

Ya i understand that.But those threads hardly drain any power attempting for data.
sameer.pur
Mar 27, 2012 at 10:50 AM
WTF is a RE-KNOWN dev?
On a serious note,Google should screen Android market more rigidly before creating hype on jellybean or whatever..it has become a junk yard.
LOL, crap... damn Spelling mistakes. I meant 'renowned', but whatever. :)

On another note, there are many who are in favor of having a app submission process like Apple App Store ( 2 week submission time for even an update )
but I support the current process. Though Google should review the apps internally more frequently.
someone please clarify this: are apps ads built in or they are hosted somewhere?
Most 'Ad Services' provide a special type of view and support library ( a .jar file mostly) which can be used to add the view in your app and it automatically calls ads with respect to your API key which you get when registering with the service. So they are not essentially part of your app. Run in a separate thread. I haven't used one so far but this is what I know for this. :p
coderunknown
Mar 27, 2012 at 7:37 PM
Most 'Ad Services' provide a special type of view and support library ( a .jar file mostly) which can be used to add the view in your app and it automatically calls ads with respect to your API key which you get when registering with the service. So they are not essentially part of your app. Run in a separate thread. I haven't used one so far but this is what I know for this. :p

thanks. confusion cleared :razz:
sky770
sky770 #37
Mar 27, 2012 at 10:54 PM
now wth was my post removed!? :/

TDF censoring here..??? :O or is it MODs love for me? :D