Related
hey guys ive been really really trying really super hard to figure out why my android os is always at 80-90 percent cuz after 10 hours my battery is almost dead (in the red) so i got os monitor, cpu spy, and betterbatterystats to try to hunt the prob down and i have spent countless days since i got the phone to figure out what it is thats draining my battery so im on stock with codeworks kernal for cwm and rooted with superoneclick i froze a lot of apps and what not but still had the prob so i left my house one day to hit the beach and i said well i dont need wifi or gps so i turned it off for the 1st time and at the end of the day when i get home and pull out my phone from my bag it said it was on for 10 hours and i was only at 80 percent!!!! so i tested it some more and it seems that my android os is not high at all when wifi and gps are off plus i get awsome battery so my guess would be wifi drain i just want other ppl to try it also and see if that fixes there probs too idk just thought i would share my story sorry its so long but plz dont bash me if ive said noob stuff thx
Ya because when I'm right next to my router which is awesome I don't even get full signal so I think its the wifi.signal.
Sent from my SAMSUNG-SGH-I777 using xda premium
You should always turn off WiFi and Bluetooth when not connected to something. WiFi has been a thorn in my side too. I don't use it very often, and sometimes when I use it at home I forget to turn it off.
One of the things I miss most from my WinMo phone was the constant LED and notification indication WiFi is on. With Android and iOS if you are not connected you don't have any icon showing its on. There should be a WiFi with an X, like when you have no signal, to indicate: Hey you! Yeah, you ... you left WiFi on, you dope! Or, an option built into the OS that will let you turn it off automatically when disconnected for so long. I know there are apps to do this (juice defender is a popular one), but this such a core common sense thing that should be built in. At least with Bluetooth you see the logo staring at you when you leave it on.
Sorry to rant, that's been bugging me for 3 years.
GPS on the other hand only activates and uses battery when needed. However all sort of apps can call the need. Again, this warns you when its in use, so its not a surprise later.
I get much batter battery life than with my captivate, but I keep on top of WiFi and BT when not using them.
Sent from my Galaxy S II (i777)
and this is why people use apps like JuiceDefender and Tasker or Locale
mbze430 said:
and this is why people use apps like JuiceDefender and Tasker or Locale
Click to expand...
Click to collapse
For wifi you can just set the policy to When screen turns off.
So far, not a single person has been able to actually find a wifi bug.
Every time someone thinks they've found it, things have been working as intended.
If you have an app that causes lots of network traffic, it'll inhibit deep sleep, but since most of the time spent handling the network traffic is in excessive suspending/resuming, Android OS gets the blame and not the responsible app.
Useful references:
http://forum.xda-developers.com/showthread.php?t=1290020 - the first 15-20 pages are garbage, but the last 15-20 has some excellent data collection
http://forum.xda-developers.com/showthread.php?t=1308030 - My list of known identified battery drainers
Let me guess - you are running Skype or another IM application that does not use Google C2DM? (As far as I know, only Google Talk and Tango use C2DM)
I'm surprised that turning off wifi didn't make things worse, unless in your case the app responsible behaves differently when on a cellular network, or you have packet data disabled.
BetterBatteryStats is almost useless for hunting Android OS drain, as it does not show kernel wakelocks. The only way to get the truth is to get the contents of /proc/wakelocks
thank you entropy for that info but yes im stuck at the fact that even on mobile network it dont drain like it does with wifi which im not a pro or anything but im just assuming that it cant be an app cuz if it was i would think it would use the same amount of data whether it was wifi or mobile cuz internet is internet but for me i dont know about other ppl everytime i turn off wifi my battery dramatically increases by alot and my android os is never the highest anymore when its off so i dont know if this will do anything but i will do a factory reset and try my testing again like that and see what happens.... plz correct me if i say anything wrong im just trying to help but i only know so much im not a dev lol
p.s. *edit* oh and to answer your question no i am not using any type of im like skype or what not the only thing i have on the phone is the talk thats on it but ive never even clicked it before so it has never been run yet or set up or w/e not sure of that matters but yea... but thank you entropy for that info it really helped me think a little bit more
quarlow said:
You should always turn off WiFi and Bluetooth when not connected to something. WiFi has been a thorn in my side too. I don't use it very often, and sometimes when I use it at home I forget to turn it off.
One of the things I miss most from my WinMo phone was the constant LED and notification indication WiFi is on. With Android and iOS if you are not connected you don't have any icon showing its on. There should be a WiFi with an X, like when you have no signal, to indicate: Hey you! Yeah, you ... you left WiFi on, you dope! Or, an option built into the OS that will let you turn it off automatically when disconnected for so long. I know there are apps to do this (juice defender is a popular one), but this such a core common sense thing that should be built in. At least with Bluetooth you see the logo staring at you when you leave it on.
Sorry to rant, that's been bugging me for 3 years.
GPS on the other hand only activates and uses battery when needed. However all sort of apps can call the need. Again, this warns you when its in use, so its not a surprise later.
I get much batter battery life than with my captivate, but I keep on top of WiFi and BT when not using them.
Click to expand...
Click to collapse
I agree on Bluetooth. I disagree on wifi - Even for background data, wifi is FAR more efficient than cellular data in terms of power usage. There is no longer any reason to turn off wifi, unless you have a misbehaving app that consumes lare amounts of data when on wifi.
Unlike previous devices, the standby drain of the BCM4330 chipset in our phones is EXTREMELY low.
If Samsung's power_profile.xml numbers are correct, the wifi standby drain current of the BCM4330 on the Galaxy S2 is less than 1/10 that of the chipset used in the I9000/Captivate.
However, radio data is far less power efficient than it was on the I9000/Captivate - A change in the architecture of our phone's radio interface means that any radio data transfers, even for a single packet, incur a minimum 6 second wakelock penalty. (Compare to an average of 1 second for small wifi packets.) This doesn't even count the power penalties involved in transmitting to the tower vs. transmitting to a wifi access point.
In fact, when taking these two things together (high wakelock penalties for radio data, and wifi standby drain 1/10 that of previous devices), you should actually not only avoid turning off wifi, you should set the sleep policy to "never" so that it prefers wifi to the cell radio.
praramis said:
thank you entropy for that info but yes im stuck at the fact that even on mobile network it dont drain like it does with wifi which im not a pro or anything but im just assuming that it cant be an app cuz if it was i would think it would use the same amount of data whether it was wifi or mobile cuz internet is internet but for me i dont know about other ppl everytime i turn off wifi my battery dramatically increases by alot and my android os is never the highest anymore when its off so i dont know if this will do anything but i will do a factory reset and try my testing again like that and see what happens.... plz correct me if i say anything wrong im just trying to help but i only know so much im not a dev lol
p.s. *edit* oh and to answer your question no i am not using any type of im like skype or what not the only thing i have on the phone is the talk thats on it but ive never even clicked it before so it has never been run yet or set up or w/e not sure of that matters but yea... but thank you entropy for that info it really helped me think a little bit more
Click to expand...
Click to collapse
You are incorrect. Some apps specifically check whether they are on wifi or on cellular data and change their behavior accordingly. "Internet is Internet" is not true - cell data is fundamentally slower and more expensive in nearly all situations, and as a result, many apps behave differently on wifi.
For example, normally Google Talk will not allow video chat on cellular data, only on wifi, unless it has been hacked to change that behavior.
Some apps specifically have "use this feature only when on wifi" checkboxes, such as Amazon MP3.
I am 90% certain you have such an app somewhere driving data transfers.
Turn on wifi, reproduce the drain, and pull /proc/wakelocks as documented in the threads I linked above.
There has, to this day, not been a single documented case of the wifi chipset just randomly "wigging out" and keeping the device out of deep sleep - in EVERY single case, root cause was eventually traced back to network traffic, which could then be traced to an app. (For example, Skype in AndreLux's case.)
You might also want to install something like My Data Manager to see what is generating your network traffic.
When I first got my GS2, I was getting rapid battery drain and high heat. Turns out, I had put a SD card in that used to be in my old phone, and Google+ was uploading all the old pictures and videos that were on the card. My Data Manager showed me that this had used almost 800M of mobile data.
My data manager will show you what your usage is on mobile and on wifi, and which specific apps are using how much.
Entropy512 said:
Let me guess - you are running Skype or another IM application that does not use Google C2DM? (As far as I know, only Google Talk and Tango use C2DM)
Click to expand...
Click to collapse
Trillian does as well.
jetarpon said:
You might also want to install something like My Data Manager to see what is generating your network traffic.
When I first got my GS2, I was getting rapid battery drain and high heat. Turns out, I had put a SD card in that used to be in my old phone, and Google+ was uploading all the old pictures and videos that were on the card. My Data Manager showed me that this had used almost 800M of mobile data.
My data manager will show you what your usage is on mobile and on wifi, and which specific apps are using how much.
Click to expand...
Click to collapse
you guys are such a great help thank you but where can i find your data manager?
Entropy512 said:
I agree on Bluetooth. I disagree on wifi - Even for background data, wifi is FAR more efficient than cellular data in terms of power usage. There is no longer any reason to turn off wifi, unless you have a misbehaving app that consumes lare amounts of data when on wifi.
Unlike previous devices, the standby drain of the BCM4330 chipset in our phones is EXTREMELY low.
If Samsung's power_profile.xml numbers are correct, the wifi standby drain current of the BCM4330 on the Galaxy S2 is less than 1/10 that of the chipset used in the I9000/Captivate.
However, radio data is far less power efficient than it was on the I9000/Captivate - A change in the architecture of our phone's radio interface means that any radio data transfers, even for a single packet, incur a minimum 6 second wakelock penalty. (Compare to an average of 1 second for small wifi packets.) This doesn't even count the power penalties involved in transmitting to the tower vs. transmitting to a wifi access point.
In fact, when taking these two things together (high wakelock penalties for radio data, and wifi standby drain 1/10 that of previous devices), you should actually not only avoid turning off wifi, you should set the sleep policy to "never" so that it prefers wifi to the cell radio.
You are incorrect. Some apps specifically check whether they are on wifi or on cellular data and change their behavior accordingly. "Internet is Internet" is not true - cell data is fundamentally slower and more expensive in nearly all situations, and as a result, many apps behave differently on wifi.
For example, normally Google Talk will not allow video chat on cellular data, only on wifi, unless it has been hacked to change that behavior.
Some apps specifically have "use this feature only when on wifi" checkboxes, such as Amazon MP3.
I am 90% certain you have such an app somewhere driving data transfers.
Turn on wifi, reproduce the drain, and pull /proc/wakelocks as documented in the threads I linked above.
There has, to this day, not been a single documented case of the wifi chipset just randomly "wigging out" and keeping the device out of deep sleep - in EVERY single case, root cause was eventually traced back to network traffic, which could then be traced to an app. (For example, Skype in AndreLux's case.)
Click to expand...
Click to collapse
thank you im learning every day because of ppl like you who like to share information like that i would love to reproduce the drain and pull the wakelocks but honestly i have no idea how to and i havent really searched for it either but i think i might just have to learn how to use adb and what not hopefully i can find out what app is draining my battery and causing android os to be super super high thx
I gave the ADB commands necessary for pulling the wakelocks file in one of the threads I linked on the first page.
For getting ADB set up, if you're on Windows you may want to look for Droid Explorer (Google it) - it's a pretty nifty frontend to ADB and I believe it helps you install ADB.
praramis said:
you guys are such a great help thank you but where can i find your data manager?
Click to expand...
Click to collapse
The name of it is "My Data Manager." It's in the market.
It's not mine, I just use it.
Okay..u guys should try out a app called "WIFI STATUS". It gives u a notification when your wifi is on but not connected. Really a awesome app.
Sent from my SAMSUNG-SGH-I777 using xda premium
Entropy512 said:
I gave the ADB commands necessary for pulling the wakelocks file in one of the threads I linked on the first page.
For getting ADB set up, if you're on Windows you may want to look for Droid Explorer (Google it) - it's a pretty nifty frontend to ADB and I believe it helps you install ADB.
Click to expand...
Click to collapse
thank you i will def look into that im actually installing right now.....
jetarpon said:
The name of it is "My Data Manager." It's in the market.
It's not mine, I just use it.
Click to expand...
Click to collapse
thx i will try this out
punjabiest said:
Okay..u guys should try out a app called "WIFI STATUS". It gives u a notification when your wifi is on but not connected. Really a awesome app.
Sent from my SAMSUNG-SGH-I777 using xda premium
Click to expand...
Click to collapse
On but not connected shouldn't be a problem for our devices - see my previous posts about the fact that our standby drain is supposedly VERY low.
On but transferring lots of background data when connected will go killtacular on your battery.
When i was using 2G the battery life was good for a whole day. How i have switched my connection to 3G, the main problem is the battery life as it drains in a half day. How can i control this ? which application is draining my battery life? what are the other systems that can save the battery life and extend it to a day time when using 3G????
jjegan2111 said:
which application is draining my battery life?
Click to expand...
Click to collapse
How on Earth should we know? lol
have a read round the many many many battery threads
incidentally, did this really need two threads created for the copy and paste?
skimminstones said:
incidentally, did this really need two threads created for the copy and paste?
Click to expand...
Click to collapse
Thats becoz I really need to have a solution for this problem as I am not able to use my mobile effectively...
Its MOST URGENT
Desperately looking for a solution ....
Help me if u can really do it
learn to manage your phone better, is it rooted? either way try this, Unless you actually use 3G (I assume most of us use wifi) go to..
Settings > Wireless and network > Mobile networks and switch network mode to "GSM only"
Not only will you get better battery life, but you'll get a stronger signal too.
hope this helps your problem.
rab1es
Turned on GPS..
If I stand at the furthest point in my house and do a speed test with GPS disabled I get
34ping 2.30Mb/s down 3.82Mb/s up
I enable GPS and do another speed test..
11ping 17Mb/s down 4.44Mb/s up
Although this has, for me, fixed my Wifi my GPS is non existent, I am yet to get a single satellite with GPS test while in the middle of my garden.
Let me know if enabling the GPS helps with Wifi speeds for any of you
Maybe this is why my WiFi seems OK. I just leave GPS on most of the time. (although I haven't tested my GPS as it is wintry here)
interesting, i will have to give this a try.....thanks for the info sir.
Was really hoping it would work for me since my wifi gets below 5mbps which sucks...
Did multiple test and nothing major changed..
Glad it worked for you..
Sent from my Transformer Prime TF201 using Tapatalk
You're sure enabling GPS didn't simply make speed test select a more appropriate server?
It would be better if folks tested wifi speeds over their local network, I think.
costcutter said:
Turned on GPS..
If I stand at the furthest point in my house and do a speed test with GPS disabled I get
34ping 2.30Mb/s down 3.82Mb/s up
I enable GPS and do another speed test..
11ping 17Mb/s down 4.44Mb/s up
Although this has, for me, fixed my Wifi my GPS is non existent, I am yet to get a single satellite with GPS test while in the middle of my garden.
Let me know if enabling the GPS helps with Wifi speeds for any of you
Click to expand...
Click to collapse
Interesting. Is this with the latest firmware? Play with Wifi Analyzer as well. Check your Wifi -db signal. See what is going on with that.
Odd that just enabling GPS and not enabling would get different results. Maybe something with the latest firmware.
I can't test because my prime is totally modded. External antenna etc.
costcutter said:
Although this has, for me, fixed my Wifi my GPS is non existent, I am yet to get a single satellite with GPS test while in the middle of my garden.
Let me know if enabling the GPS helps with Wifi speeds for any of you
Click to expand...
Click to collapse
My GPS works (marginally) . Works better with the GPS fix mentioned in other threads. However, getting a GPS fix from a "cold start" sometimes takes a while. For example, Decided to try it on a short grocery trip. When I finally got the fix (already at the store), it said "2050 sec to first fix"....Once it got that first fix, it worked fine the rest of the way home.....Again with that fix applied....although I marginally see sats without the fix.
Another side note: I happened to notice while it was searching, a little info message appeared that said "Best results are obtained if the unit is horizontal".
But sometimes that first fix can be a bear to get.
Good luck,
Bob
L_Mo said:
You're sure enabling GPS didn't simply make speed test select a more appropriate server?
It would be better if folks tested wifi speeds over their local network, I think.
Click to expand...
Click to collapse
Us iPerf to measure speeds.
Proud Owner of a Transformer Prime on Tapatalk
I am at starbucks was getting 11Mpbs for the last hour I enabled GPS and sure enough I am at 65Mpbs .......I work out of this starbucks and never connected at 65Mpbs........just saying what I've observed.
agzela said:
I am at starbucks was getting 11Mpbs for the last hour I enabled GPS and sure enough I am at 65Mpbs .......I work out of this starbucks and never connected at 65Mpbs........just saying what I've observed.
Click to expand...
Click to collapse
Lol which Starbucks do u go to? I'm lucky if I get 1mbps at any Starbucks in NY and Philly
Sent from my Transformer Prime TF201 using Tapatalk
Pretty sure he's talking link speed, not actual throughput.
I live next to a Starbucks that is nearly always dead and with me sitting close to the registers, the speeds can hit 2 Mbps max. ****ty ATT internets.
Sorry for the noob question, but how do you enable GPS so that it stays on in other applications?
Moist said:
Sorry for the noob question, but how do you enable GPS so that it stays on in other applications?
Click to expand...
Click to collapse
Other than the check boxes in LOCATION Services, there is no other control. When you open an app that can use GPS, you'll see a little icon in the notification bar that says "Searching for GPS"
If the GPS system were totally working, you would never lose the signal...The only time you lose it is if it is marginal.
What is the impact of GPS on battery life, if it does not work and it keeps searching without finding anything?
Battery will be drained very very quickly. I am sure.
Think about it
bimbobo said:
What is the impact of GPS on battery life, if it does not work and it keeps searching without finding anything?
Battery will be drained very very quickly. I am sure.
Think about it
Click to expand...
Click to collapse
The GPS will only find your location if an app asks it to do so. So if the GPS icon isn't showing next to the clock the GPS is not in use.
Not sure any of you have noticed... Prime doesn't have a gps.conf file on it... I added it last night and got 8 of 13 locked... from inside... by the window. Check out system/etc/gps.......
One other thing I noticed.. in build.prop my wifi.country = is set to GB even though I bought the transformer in Canada... can someone check and see if they have anything different?
I've always wondered if the Wifi issue was a software problem. My wifi is "okay". The most annoying thing is it randomly completely disconnects from my school's wifi network and then it shows that there is no wifi available. The reason why I think its a software problem is because if I disable and re-enable the wifi it starts working again with me being in the exact same location.
Kind of odd...
HiddenSanctum said:
I've always wondered if the Wifi issue was a software problem. My wifi is "okay". The most annoying thing is it randomly completely disconnects from my school's wifi network and then it shows that there is no wifi available. The reason why I think its a software problem is because if I disable and re-enable the wifi it starts working again with me being in the exact same location.
Kind of odd...
Click to expand...
Click to collapse
I saw this on previous firmwares, but never on the latest one. It also seemed, in my experience, to be related to the chrome beta. If I brought that up it would immediately stop any data being transferred over wifi and would then lead to a disconnect.
I never did uninstall the chrome beta to see if that fixed it entirely, but updating to the latest firmware did seem to stop the issue.
Suppose I'll hop on the bandwagon and give it a go.
It's hard for me to get any real speed degradation without actually dropping below the connection threshold with these rural speeds, but I'll try.
My wifi works pretty good after some build.prop tweaks, i would suggest that before modding the tf201. Basically, i added net.tcp.buffersize.wifi with some values and net.tcp.buffersize.umts with the same values 4096 ,87380, 256960, 4096, 16384, 256960
Of course you need to be rooted
Sent from my Transformer Prime TF201 using xda premium
Hi,
I was trying to search but didn't find a conclusive answer.
Which option is better in terms of battery consumption, especially during the night:
1. Turn off wifi and use cellular data.
2. wifi + Keep Wi-Fi on during sleep set to "Never".
3. wifi + Keep Wi-Fi on during sleep set to "Only when connected".
4. wifi + Keep Wi-Fi on during sleep set to "Always".
Thanks in advance!
bump...
anyone knows?
Animor said:
Hi,
I was trying to search but did find a conclusive answer.
Which option is better in terms of battery consumption, especially during the night:
1. Turn off wifi and use cellular data.
2. wifi + Keep Wi-Fi on during sleep set to "Never".
3. wifi + Keep Wi-Fi on during sleep set to "Only when connected".
4. wifi + Keep Wi-Fi on during sleep set to "Always".
Thanks in advance!
Click to expand...
Click to collapse
You have sort of answered your own question... for Minimal battery consumption set it to 2 (Never). I would recommend just sticking to 3 which is better for overall use or just toggling your Wifi yourself.
#2 amigo
Sent from my Nexus 7 using XDA Premium HD app
Aegishua said:
You have sort of answered your own question... for Minimal battery consumption set it to 2 (Never). I would recommend just sticking to 3 which is better for overall use or just toggling your Wifi yourself.
Click to expand...
Click to collapse
Thank you for your answer.
But isn't setting it to 2 during night is the same as turning wifi off and use cellular data instead?
So does it mean that cellular data is better in terms of battery?
And why 3 is better for overall use?
Lets assume that cellular data is free of charge for this matter, and my only concern is battery.
Sent from my Galaxy S3 using Tapatalk 2
Animor said:
Thank you for your answer.
But isn't setting it to 2 during night is the same as turning wifi off and use cellular data instead?
So does it mean that cellular data is better in terms of battery?
And why 3 is better for overall use?
Lets assume that cellular data is free of charge for this matter, and my only concern is battery.
Sent from my Galaxy S3 using Tapatalk 2
Click to expand...
Click to collapse
Listen to Coreym and set it to 2 all the time, wifi uses way less batterylife than 3G mate. 3G sucks the life out of your battery. Just try it and you will see
what about using only 2G instead of 3G? How it is compared to WiFi usage?
Garreth88 said:
what about using only 2G instead of 3G? How it is compared to WiFi usage?
Click to expand...
Click to collapse
Sure and while you`re at it disable 3 cores permanently, lower brightness to 0 and don`t ever use your phone for better batterytime, 2G will consume more power as it is slower and so it takes longer to retreive data.
gee2012 said:
Listen to Coreym and set it to 2 all the time, wifi uses way less batterylife than 3G mate. 3G sucks the life out of your battery. Just try it and you will see.
Click to expand...
Click to collapse
Ok, but if wifi is better than 3g for the battery, why not set it to 3 or 4 and use wifi all the time?
Sent from my Galaxy S3 using Tapatalk 2
Animor said:
Ok, but if wifi is better than 3g for the battery, why not set it to 3 or 4 and use wifi all the time?
Sent from my Galaxy S3 using Tapatalk 2
Click to expand...
Click to collapse
Just looked in my own settings and i have option 3 checked: wifi on Always. It also depends on the user, do you use wifi a lot or just once in a while. The best thing to do is try a few settings for yourself and see which setings consumes the least amount of battery.
Settings WiFi on always .
WiFi / mobile data not in use or not required = turned off via toggles .
jje
But I do want data during the night - for example for whatsapp, emails and so on. So turning both off is not an option for me.
- On one hand, people here say to set wifi, but "never" during sleep. But that means to use only 3g during the night, doesn't it? Or I'm missing something here?
- On the other hand, 3G costs more than wifi in terms of battery.
So I don't understand how these two go together.
I have set to "Always" so the device have not to reconnect when unlocking screen, what drains battery imho.
But in the night I set flight mode on cause I want and need to sleep and don't need new SMS or Whatsapp or calls
Animor said:
But I do want data during the night - for example for whatsapp, emails and so on. So turning both off is not an option for me.
- On one hand, people here say to set wifi, but "never" during sleep. But that means to use only 3g during the night, doesn't it? Or I'm missing something here?
- On the other hand, 3G costs more than wifi in terms of battery.
So I don't understand how these two go together.
Click to expand...
Click to collapse
Can someone clarify this for me please?
3g doesn't cost more in terms of battery so long as you have a very good signal. If you don't or if for some reason the network has a problem then it will drain the battery.
What I recently started using is a program called ds battery saver which toggles wifi or 3g periodically depending on what you set it up for so that you do get night time data but not on all the time. That helps with battery
I know this question is general (not only for mdpi) but I dont know where to post it.
We know that 3g is consuming more battery than 2g, but it is also have the different when mobile data off? Thanks, just curious.
IcanIhsanuddin said:
I know this question is general (not only for mdpi) but I dont know where to post it.
We know that 3g is consuming more battery than 2g, but it is also have the different when mobile data off? Thanks, just curious.
Click to expand...
Click to collapse
It's better to leave it off when not using it, go a day with it on and a day with it on only when you need it and you'll notice a significant difference.