How to check wifi usage on cm10? - AT&T, Rogers HTC One X, Telstra One XL

I recently switched from stock ICS 2.20 to a rooted cm10 and Ive been seeing a big battery drain since. I leave data off, gps off, and brightness at 20%. I think its my wifi usage and the way my apps (facebook,email,weather,ect.) sync. I keep my facebook to sync every 2 hours, emails 1 hour, weather 1 hour. However, everytime i look at my phone i see some wifi action going on, with an arrow pointing up and down (im assuming upload and download).
Is there a way to check what apps are using wifi and the usage %? Similar to the battery usage for cm10 where it shows what apps and sources are using the battery.
-Thanks!

sound like your being effected by the infamous JB AOSP wakelocks...nothing you can do until HTC gives us some JB source, anything before that are bandaids

Seems like I might go back to an ICS rom then. Would that fix the problem?
And i'd still like to know if theres a way to check the wifi usage similar to how we can check the battery usage of each app.

bump! Still have some questions about this =)

Related

[Q] Android System = 49% of overall usage?

Just yesterday I noticed that my battery was draining crazy quick while it was in sleep mode. I don't have any background syncing going on other than auto-update for a weather widget once an hour along with the core Google things like contacts, email, calendar, etc.
Usually the screen has been the largest contributor to draining of the battery and via betterbatterystats, there's no abnormal wakes going on.
I did a reset of the phone and I've now disabled 'Data Network Mode' as I'm primarily on Wifi right now. It seems to have fixed itself so far but I'll know better tonight.
Is this a conflict within the OS itself (rooted on Infused V2.1.0) or something from having 4G enabled when I'm in an area where I typically only get 1 bar? Either way, it's a huge draw on my battery...
From what I've heard/read this is a random bug caused by gb, not common at all but ocassionaly android os will go nuts and suck down your battery. Resolutions I've seen posted have just been power off, remove battery, re-insert battery, power up = issues reoslved.
Kadin said:
Just yesterday I noticed that my battery was draining crazy quick while it was in sleep mode. I don't have any background syncing going on other than auto-update for a weather widget once an hour along with the core Google things like contacts, email, calendar, etc.
Usually the screen has been the largest contributor to draining of the battery and via betterbatterystats, there's no abnormal wakes going on.
I did a reset of the phone and I've now disabled 'Data Network Mode' as I'm primarily on Wifi right now. It seems to have fixed itself so far but I'll know better tonight.
Is this a conflict within the OS itself (rooted on Infused V2.1.0) or something from having 4G enabled when I'm in an area where I typically only get 1 bar? Either way, it's a huge draw on my battery...
Click to expand...
Click to collapse
Hmm, I would say try the battery-pull method first. If that doesn't fix it, maybe try flashing back to stock via ODIN and then re-flash Infused? Just an idea.

ICS Wifi stays on while on sleep

Hi guy, my wifi won't turn off when my Xoom is on sleep. I have set the settings of 'keep wifi on during sleep' both to 'NEVER' and 'ONLY WHEN PLUGGED' but nothing happens. Wifi stays on and keeps draining my battery life. I am running rooted with the latest version of nightly 62 and I've been having this issue since 55. I have reinstalled, flashed, factory reset, wiped my Xoom.
Is anyone else having this issue? What should I do?
From my experience, wifi stays on for a little while longer after device sleeps. However, some apps in background may trigger wifi back on again. So I turn off wifi when i go to bed. Actually i notice wifi itself will not drain much battery, 1-2% for 10hr. It's the host apps sucking the juice.
I am not an expert though.
OK i've also checked it out and as you said wifi turns off after some time. My main problem now is that my battery life won't last more than 3-4 hours on wifi.
I have posted my battery stats with use of web browsing and watching pictures on gallery...
jimgeroul said:
My main problem now is that my battery life won't last more than 3-4 hours on wifi.
Click to expand...
Click to collapse
What do you mean "no more than 3-4 hours"? In your battery chart, you can get more than that even starting from 75% battery.
What I wanted to say is that I think my battery won't last more than 4 hours with wifi on and some serious usage.. from my stats as I can see I've been using it 5 hours but I only had screen on and browsing the web. I think there will be a huge difference if I am watching a movie or playing a game.. I don't have the time to check it now but I will post my results in some days..
According to my previous battery graph do you see any problem or something less from what your Xoom battery holds? Does this battery drain seems normal to you?
jimgeroul said:
Hi guy, my wifi won't turn off when my Xoom is on sleep. I have set the settings of 'keep wifi on during sleep' both to 'NEVER' and 'ONLY WHEN PLUGGED' but nothing happens. Wifi stays on and keeps draining my battery life. I am running rooted with the latest version of nightly 62 and I've been having this issue since 55. I have reinstalled, flashed, factory reset, wiped my Xoom.
Is anyone else having this issue? What should I do?
Click to expand...
Click to collapse
I think you'll find it will stay on for about 15 minutes. There is some setting in a system database (using a sqlite editor) that can be changed to bring this down. I doubt Wifi is what's draining your battery. Are you synching email via activesync or running other stuff in the background?
I am only using my yahoo mail from the EMail app. I don't know if it uses activesync. I have set it to check emails every 30minutes.
wifi not turning off
Edit: I found the wifi sleep option in ICS. Google sure did a great job of hiding it. See attached picture for anyone else having wifi staying on during sleep issues.
So there are three options
Keep WiFi on during sleep
1) Always
2) Only when plugged in
3) Never
What option to set if i want Wifi to turn of after some time of when phone sleeps. Previously i had set the option to 15 minutes but that option is not available in ICS and i m having a hard time understanding how these options work on my sensation.
Can anyone explain what each of these options do ?
lazers378 said:
So there are three options
Keep WiFi on during sleep
1) Always
2) Only when plugged in
3) Never
What option to set if i want Wifi to turn of after some time of when phone sleeps. Previously i had set the option to 15 minutes but that option is not available in ICS and i m having a hard time understanding how these options work on my sensation.
Can anyone explain what each of these options do ?
Click to expand...
Click to collapse
My guess:
1) Always: WIFI always on no matter awake or asleep
2) Only when plugged in: WIFI always on only when plugged to power
3) Never: WIFI will be off if asleep (my current setting)
That was it
invidious07 said:
Edit: I found the wifi sleep option in ICS. Google sure did a great job of hiding it. See attached picture for anyone else having wifi staying on during sleep issues.
Click to expand...
Click to collapse
Thanks, I had not seen the option to turn wifi off during sleep.
--Doug
Bear in mind that (irritatingly) applications can seemingly change this setting.
cspiby said:
Bear in mind that (irritatingly) applications can seemingly change this setting.
Click to expand...
Click to collapse
For an app to change wifi sleep policy, it needs the WRITE_SETTINGS permission.

Is there any solution to the battery drain on ics

i lose around 40 precent overnight everyday
its really frustrating knowing that i have to work with it full day afterwards
so is there any fix for this?
No idea what youre talking about. Mine only drains 20% with wifi and wifi apps running overnight.
Maybe you should look over what you got running, and if you got a custom kernel, reduce the lowest frequency of the cpu. Im running mine at 450Mhz or something.
Ooooor maybe 'overnight' for you is like 26h ?
You could also............
.
.
.
.
.
suspense!
.
.
.
.
.
.
.
.
Leave it on the charger over nite! I know. Shocking.
Download "BetterBatteryStats" from here and check which app is causing it. If you need assistance, just head over to BBS thread. Remember to attach your log file so it's easier for them to help you.
Hearmeman said:
i lose around 40 precent overnight everyday
its really frustrating knowing that i have to work with it full day afterwards
so is there any fix for this?
Click to expand...
Click to collapse
First thing, you should get CPU Spy from the market. This will tell you if your TF is going into deep sleep or not.
If you were experiencing the same issue under HC then ICS most likely wouldn't fix the issue anyhow.
Prior to ICS I was loosing about 25% over night which just shouldn't happen. I was rooted but stock otherwise. I unrooted my TF & completely wiped before flashing ICS. One cool thing about ICS is there is an intergrated task manager widget. You can see what programs are running at any current time. There were three programs that were constantly running that I disabled. Those were PixWE, Netflicks, & My Uploads. Netflicks kept wanting me to update but I don't use it so why update it? I simply disabled it and there are a whole host of other programs that can be disabled too.
With all this being said I am only loosing 3-4 percent over night running ICS completely stock.
Try airplane mode
There's an app in the market that simulates airplane mode, but allows wifi still. After I installed it I stopped losing battery overnight. It's basically a wake-lock issue.
2easilyamused said:
There's an app in the market that simulates airplane mode, but allows wifi still. After I installed it I stopped losing battery overnight. It's basically a wake-lock issue.
Click to expand...
Click to collapse
+1 This worked for me too but for a different reason. My TF tends to leave wifi switched on, even when told to turn off when the screen does. It could also be a rogue app as described above. Once you sort it out, overnight drain should only be a few percent at the most.
2easilyamused said:
There's an app in the market that simulates airplane mode, but allows wifi still. After I installed it I stopped losing battery overnight. It's basically a wake-lock issue.
Click to expand...
Click to collapse
Could please tell me the name?
How to diagnose here
I lose ~20% overnight in flight mode.
If I go Settings > Battery I see it's a lot of Android OS. But widgets must be included in that. So then I go settings > apps > running and see a few apps running, but I can't tell which of these is killing the battery and I don't know which app would tell me ((can I run top on the the commandline?)). I will experiment more and report back. I suggest you do that same.
This should go in the first post of this thread:
To diagnose this charge before sleep, put into flight mode overnight and look in the morning to see if the Android OS has been the culprit.
Perhaps you don't need any 3rd party apps for diagnose but if you need to be available for early morning calls use a profile scheduler.
Get a new Kernel
The main problem is the kernel in ICS, a way to fix this is changing your kernel, I do recomend the Test kernel from Guevor, install from version 11 to up, test it and keep the one you like. My tf is lasting fully with keyboard, around 30hrs.
I use test 13
but on .17 and not .23
I'm on ICS 4.0.3 with 3.0.8-NEO though
werewolferx said:
The main problem is the kernel in ICS, a way to fix this is changing your kernel, I do recomend the Test kernel from Guevor, install from version 11 to up, test it and keep the one you like. My tf is lasting fully with keyboard, around 30hrs.
Click to expand...
Click to collapse
My Nook got stolen and I'm waiting for a DroidPro to arrive so this would be on my main phone. When I've tried to flash just the kernel on it's own I've had problems before. This time I'll give it a go but am I missing something in terms of flashing a new kernel on?
I'm on ICS 4.0.3 with 3.0.8-NEO-3.0-TeamICSSGS-257174-g197c9a1-dirty (build *07)
Other than the possible battery problem it's been good. I just want to check to see if yo uhave anything more concrete to backup your decision... that a different kernel really might make any difference because that Test kernel from Guevor is very much in flux... I'd no idea which one to choose.Up to test15 now.
(thread for reference here: http://forum.xda-developers.com/showthread.php?t=1565519 )
For convienience it would be nice to backup the current kernel first as other than battery it's working well...
update, edit instead of bump:
ok, I lost 1% an hour last night in flight mode (6% over 5 hours) with all background apps and services killed. Does that seem about right? The interesting thing was that not all processes/services/backgrounded showed the same on different task killers...
I bet there's lots of people updating kernels when actually it's an app, or the left over effects of an app or something like that.
Hearmeman said:
Could please tell me the name?
Click to expand...
Click to collapse
Use Auto Airplane Mode by DON this fixed my problem with battery drain from the wifi staying on.After 4 days of use I still hade 35% battery left!

A few JellyBean Questions

I flashed the stock jelly bean rom last night and have a few questions.
1) It seems like my GPS signal is always flashing in the notification bar. It appears for no reason and about the only way to get it to go away is by turning GPS off, but as soon as I turn it back on it starts flashing again. Since I'm at work in a building it can't lock on. Is this a bug or should I reflash the ROM.
2) In battery usage it gives no indication of what the screen is eating up. Is this something omitted from JellyBean?
3) The amount of RAM in the task manager seems high. On ICS it was generally between 4-500 and after killing tasks it would drop to the mid 300s. Now it stays between 6-700 and even after killing tasks I have yet to see it drop below the low 600s. Does JellyBean manage tasks that much differently from ICS?
I'm curious to see if anybody else is having similar bugs that they never had before updating from ICS.
The only one of your questions I can really answer:
2) You mean the "Screen On" time? Yes, that has been removed from JB, all builds, not just HTC. Don't know why, its a really handy statistic to have built-in. You now have to use 3rd party apps to tell you this.
Your GPS flashes when you first wake the phone because Google is logging your every ****ing step with its maps program. Whores. Check the thread titled autostarts! By metal head in the general section to solve this problem
I disabled GoogleNow and no longer have my gps icon popping up all the time. Just an FYI if anybody else is having a similar issue.

[Q] Which Kernel should I use to reduce battery drain? [CM 10.1]

Hey everyone!
I flashed CM 10.1 yesterday (cm_p500-userdebug-cm-10.1 from jenkins. androidarmv6.org/job/android/ and I'm amazed how smooth and perfect it is working (A huge 'Thank you!!' to the developer )
The problem is that my battery drain is awful. It took less than 8 hours today to completely discharge, though I hardly touched it.
I used Battery Calibration and also installed "WakeLock Detektor" to see where the problem is, and it stated that my phone isn't asleep 99% of the time though the display is turned off most of the time :crying:
The main reason is a kernel-related thing named "suspend_backoff" that keeps it awake.
I wanted to install a different kernel, but I got no clue which one... I actually planned on installing the recent DorimanX-Kernel, but then recognized that this is only available for the Galaxy SII
Can anyone recommend a Kernel that keeps my system running smooth but the battery drain at a minimum? I basically need my phone for Messaging (SMS, WhatsApp, E-Mail), Calendar and once in a while as navigation system. So no need for spectacular game performances or so.
Are there other Ways to improve my battery life on that phone (I've read all the general tips for improving battery life)? Maybe some OC things I can change manually?
I'm grateful for any help. Thanks!
Helbelinc said:
Hey everyone!
I flashed CM 10.1 yesterday (cm_p500-userdebug-cm-10.1 from jenkins. androidarmv6.org/job/android/ and I'm amazed how smooth and perfect it is working (A huge 'Thank you!!' to the developer )
The problem is that my battery drain is awful. It took less than 8 hours today to completely discharge, though I hardly touched it.
I used Battery Calibration and also installed "WakeLock Detektor" to see where the problem is, and it stated that my phone isn't asleep 99% of the time though the display is turned off most of the time :crying:
The main reason is a kernel-related thing named "suspend_backoff" that keeps it awake.
I wanted to install a different kernel, but I got no clue which one... I actually planned on installing the recent DorimanX-Kernel, but then recognized that this is only available for the Galaxy SII
Can anyone recommend a Kernel that keeps my system running smooth but the battery drain at a minimum? I basically need my phone for Messaging (SMS, WhatsApp, E-Mail), Calendar and once in a while as navigation system. So no need for spectacular game performances or so.
Are there other Ways to improve my battery life on that phone (I've read all the general tips for improving battery life)? Maybe some OC things I can change manually?
I'm grateful for any help. Thanks!
Click to expand...
Click to collapse
I found SweetnSour's version 11 kernel quite good with cm10.1.
However, the ROM needs some help to get good battery life:
Install 2xBatterysaver. It will turn off data and WIFI when the screen is off (turn them on periodically to allow syncing). There are various apps like this one.
Control WIFI. Use Y5 battery saver or Whiz WIFI manager. Y5 is tiny and effective but crashes on cm10.2. Both check for favorite hotspots, leave WIFI on and turn it off when leaving the hotspot.
Thanks for your quick response!
Just tried to flash Sweetnsour's Kernel, but it won't work. I flashed this one --> versionFINAL-CFS.zip
Is that the correct one or rather one of those? -->" version11-CFS-TWRP.zip" or "version11-CFS.zip"
Edit: What actually are CFS respectively TWRP? Searched the forums but couldn't find an answer
[solved] or rather [solvished]
After days of trial and error, cutting and re-enabling all connections from WiFi to 3G and hibernating, un- and re-installing basically all of my apps and trying loads of other roms I didn't love as much as this in the least, I found the source for my phone being awake basically 100% of the time.
The changelog of the mod stated that there's still this WiFi-issue that keeps the phone awake.
Well, though I've tried before, It now works: switching off the WiFi connection finally gets my phone to sleep.
I think I'll just be running on my mobile data for the followin days or weeks until this bug has been fixed.
Btw: A little hint for the developer (I'm posting here, since I'm a noob and can't post in the developers forum): When switching the WiFi options to turn out WiFi whenever screen goes dark, it won't connect afterwards. I always needed to reboot my phone when I wanted WiFi to work again. (This bug also caused my mobile data not to work. It apparently thought WiFi was running, though it couldn't connect.)

Categories

Resources