deep sleep on cm10 - HTC Sensation

hi, i have an htc sensation 4g running cm10 jelly bean rom and i wanna know how to put my phone on deep sleep. im on bruce kernel 3.0.49. can some1 please help?

I believe the device should automatically go into sleep mode when not in use. I don't believe you have to do anything for this to occur. Make sure none of your applications are running on there own.go to settings, apps, running apps and see what's running. Leave system apps alone however if other than system apps are running you can close these apps. Just press on the app and a menu will pop up. The running apps other than system apps could prevent deep sleep. Make sure you don't shut down ANY system applications that are running. Those should be fine. Hope this helps. Best wishes.
Sent from my HTC Sensation using xda premium

If you're a little adventurous you can check out the Q&A thread about Bruce's ROM. Skipjacks and Tobitge have put together a list of processes to kill using system tuner (I think). The wakelocks are a known issue and perplexing to say the least. I am beginning to wonder however how big of battery drain they really are... I'm having pretty good results despite them.

realsis said:
I believe the device should automatically go into sleep mode when not in use. I don't believe you have to do anything for this to occur. Make sure none of your applications are running on there own.go to settings, apps, running apps and see what's running. Leave system apps alone however if other than system apps are running you can close these apps. Just press on the app and a menu will pop up. The running apps other than system apps could prevent deep sleep. Make sure you don't shut down ANY system applications that are running. Those should be fine. Hope this helps. Best wishes.
Sent from my HTC Sensation using xda premium
Click to expand...
Click to collapse
does it improve battery life tho?

Yes it would if they could improve the wake lock situation. Check out as above thread suggested, they possibly know of a fix! Also have you considered a extended battery? Extended battery really helped my battery issues. But in this case it sounds like a known issue with something in the rom causing wake lock
This is where your drain is coming from. Check out the fix above. See if it helps.
Sent from my HTC Sensation using xda premium

hardball 45 said:
If you're a little adventurous you can check out the Q&A thread about Bruce's ROM. Skipjacks and Tobitge have put together a list of processes to kill using system tuner (I think). The wakelocks are a known issue and perplexing to say the least. I am beginning to wonder however how big of battery drain they really are... I'm having pretty good results despite them.
Click to expand...
Click to collapse
This only helps with some specific Google Services wakelocks. The Android framework is causing some other wakelocks through the AlarmManager service (Not the same as the alarm clock). These wakelocks have proved very elusive to destroy.
The modifications to the google services framework that Tobitege and I worked out do seem to have some impact on battery life. But if you are a big user of Google Now or GTalk, these modifications are not for you as they break both of those services (mainly because those 2 services were 2 of the 3 main causes of Google wakelocks)
The thing with the battery drain because of these wakelocks is that they drain the battery during sleep, but that drain isn't being properly reported in the battery stats (this is an electrical physics problem related to how a slowly discharging power cell can give a false reading of voltage, not a software problem). So you'll have the phone in sleep for 3-4 hours and it will show no discharge despite constant wakelocks. But us the phone for 10 minutes and the battery quickly drops 15%. In reality it drained that 15% during sleep due to the wakelocks. The battery stats just weren't showing it right away.
Bruce did make some tweaks on 10/27 that have improved the Android inspired wakelocks noticably. But they are still there.

Related

Extreme battery drain: any way to determine what's causing it?

The last couple of days my battery has been draining ridiculously fast. It just went from 50% to 8%, just sitting in my pocket without otherwise being used, in the last 3 hours. Here's what the battery usage displays:
while unplugged for 3h 3m 24s:
Android OS 81%
Cell standby 10%
Phone idle 4%
Display 3%
Android System 2%
Obviously something is going on with Android OS and I suspect something I've installed is doing this. I have Watchdog installed but it hasn't given me any warnings. Is there some way to determine exactly what is causing the battery drain, other than removing apps one by one?
Thanks!
I've suspected that my display keeps coming on when my phone is in my pocket.
Both the power button, and the trackpad turn on the backlight for 15 seconds when pushed, and it's very easy to do both when the phone is in your pocket.
I stopped using the HTC weather app, there is no way to stop it from constantly searching your location and it kills the battery FAST if you are on the move. Since I stopped using it I have seen 10+ hours of battery life a day and I use it hard, internet, gps, music, twitter.
It's the suspend process.
I can't link it to you cause I'm on the phone but if you look around, you'll be able to find it.
Sent from my HTC Glacier using XDA App
I don't think it's the display because the battery usage isn't showing the display as the main battery usage (unless I'm really using it for a long time). It's definitely something belonging to "Android OS". I wish there was a way to determine specifically what process within "android OS" is to blame. I really don't know much about Android or Linux in general so "android OS" is mostly a mystery to me.
I did uninstall several programs yesterday night and was almost convinced it was behaving better but it looks like after the first hour that Android OS is creeping up and overtaking the battery usage and the battery is draining pretty fast despite not using the phone other than to occasionally check the battery usage. At the current rate I'd be lucky if the phone isn't dead before the end of my workday. It probably doesn't help that I have a rather weak signal at work but if it was increased power to the cellular radio that was the culprit, would it show up under "Android OS" or "Cell standby"? I'd suspect the latter, but maybe Android isn't so logical in how it groups processes....
I'll try removing the HTC weather widgets as suggested and look up the sleep process.
Thanks!
It is the "suspend process" like that other poster said. Here is the defect, you can read through if you like. It's a known problem and not only isolated to mt4g
http://code.google.com/p/android/issues/detail?id=11126
How did people determine it's the "suspend" process? I can't seem to find any way to determine what processes are specifically involved. Is there an app that will tell you that? I am running Watchdog Lite set to alert me at 50% cpu and have never got an alert which makes me question whether my issue is the same one described in that thread. Various people were describing 100% cpu activity by the suspend process and it doesn't seem to be the case with me.
I did have 2 weather widgets on my home screen. I deleted both and since then the problem appears to have gone away. I'll have to wait a while to see if it's truly fixed or just a coincidence. Someone in the suspend thread did mention that plugging into a charger temporarily fixed the issue and I did charge the phone for a while after deleting the widgets so I'm not convinced just yet.
One thing I did notice in the battery usage is that google maps seems to have a significant presence, despite the fact that I haven't used maps at all since last unplugging the phone. What is maps doing in the background? I wonder if it's trying to determine my location and cache map data...
Thanks!
Install Watchdog and in its settings, include, monitor, and display all phone processes.
HTC Glacier running CM7 #15
Enable system process and set thrashold to 30% and you will see the suspend process. Or when you notice the drain is happening go to the phone hidden menu. You know the #*#*3626*#*# in the dialer and then from there go to battery usage then select CPU usage, you will see the suspend process on the top or near the top.
Just use some memory management apps. I currently use ES task manager and in advanced settings, i set it to kill all processes when i power down screen. I never use any battery when phone is unplugged(i literally left my phone unplugged overnight midnight to about 7am and it stood at 73% entire time). And having it rooted, i use SetCPU and set the phone at around 768mhz powersave when i'm not messing with the phone heavily. I easily can squeeze about a day and a half out of the battery.
knaries2000 said:
Enable system process and set thrashold to 30% and you will see the suspend process. Or when you notice the drain is happening go to the phone hidden menu. You know the #*#*3626*#*# in the dialer and then from there go to battery usage then select CPU usage, you will see the suspend process on the top or near the top.
Click to expand...
Click to collapse
Is that the correct sequence/code? I put that in and didn't get anything. Is root required?
Sent from my HTC Glacier using XDA App
sorry, that was not the correct sequence at all. I was trying to do it by memory. It is *#*#4636#*#* then select battery history, in the first dropdown box select cpu usage. That menu is pretty useful for other things to like network usage breakdown per app, gps usage, etc.
el-jodio said:
Is that the correct sequence/code? I put that in and didn't get anything. Is root required?
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
Thanks for all the info. I particularly like that hidden menu. I had no idea that existed...
Since removing the HTC weather widget my battery drain issue has completely disappeared. The battery now lasts a reasonable amount of time.
Thanks!
knaries2000 said:
sorry, that was not the correct sequence at all. I was trying to do it by memory. It is *#*#4636#*#* then select battery history, in the first dropdown box select cpu usage. That menu is pretty useful for other things to like network usage breakdown per app, gps usage, etc.
Click to expand...
Click to collapse
Thanks. Are there any other secret codes that do other things? Like the *#*#checkin#*#*
Sent from my HTC Glacier using XDA App
checkin menu does exist too. Those are the only 2 I know off. If other people here know of any please post.
Actually I have removed the HTC weather widget couple of days ago and also disabled the water sync in account settings too. That seems to have help with the suspend process on my phone also.
knaries2000 said:
Actually I have removed the HTC weather widget couple of days ago and also disabled the water sync in account settings too. That seems to have help with the suspend process on my phone also.
Click to expand...
Click to collapse
What's the "water" sync? Is that a swype typo for "weather" sync? (Swype errors are annoying in that their usually not so obvious.)
I had also disabled the weather sync (forgot to mention it). Seems to be a lot of little bugs in Sense that need to get fixed.
Why don't you guys do what I did... I have profiles set on setCPU so that when the screen is off the phone runs at 368mhz max and the when the screen is on it'll go up to opp speed... That actually saves alot of battery for me.
Sent from my HTC Glacier using XDA App
Sorry it is weather sync. Yeah keyboard error. I stopped using swype recently for this very reason, but touch input isnt perfect either but still much better for me.
Ya if you are using OC based kernel then use SetCPU to scale your mCPU. Set few profiles for example my max is 1.7ghz, avg is 1.2ghz, min is 768mhz, idle is 368mhz.
Sent from my HTC Glacier

Android System consuming battery

I have been obessing over my battery stat page and am trying to figure out what exactly "Android System" is. It is usually consuming the highest percentage of battery power. I have tried everything to figure out what action exactly makes Android System get added to the battery stats page. I have disabled everything, every radio, syncing, deleted all widgets. I hardly have any apps as it is. It just seems rather inconsistent because sometimes Ill check the page after making a call and will find that Voice calls has consumed a small percentage of battery and Android System isn't even on the list. Other times I will take it off the charger and make a 30 minute call, but when I check the stats page 70% battery was used by Android System and only 3% was Voice Calls.
Can anyone tell me exactly what triggers Android System so I can make sure I cut down on its battery usage in any way possible
Sent from my Microwave
I assume you are looking in the settings > about phone > battery. You can select android system also and it will tell you more info.
Agoattamer said:
I assume you are looking in the settings > about phone > battery. You can select android system also and it will tell you more info.
Click to expand...
Click to collapse
I see that but under more info its not very clear about what's using the batt.
Sent from my Microwave
http://img.photobucket.com/albums/v673/seh6183/screenshot-1312932238053.png
Sent from my Microwave
Anyone have any comments on this?
Sent from my Microwave
Did a battery calibration and now android system isn't the number 1 thing consuming battery as usual. Weird:
http://img.photobucket.com/albums/v673/seh6183/testshot.png
This seems to be more in line with what normal battery usage should look like in my opinion.
Sent from my Microwave
I had this problem too until I did a calibration. Now cell standby consumes over 50% of my battery regularly, with android system consuming only 2%.
Sent from my HTC Inspire 4G using XDA App
Yea I did a calibration and all is well
http://img.photobucket.com/albums/v673/seh6183/screenshot-1313102466360.png
Thank you
Sent from my Microwave
Aaaaaaaaand were back LOL
http://img.photobucket.com/albums/v673/seh6183/screenshot-1313118381659.png
Sent from my Microwave
Its still occurring
What would you guys do?
Android system will occasionally use CPU as well, as shown in the following screenshots. Also! My good buddy let me see his Droid x recently. He had 42% battery life left and android system had only taken up 4% of that.
I'm pretty upset about this.
http://img.photobucket.com/albums/v673/seh6183/screenshot-1314312490137.png
http://img.photobucket.com/albums/v673/seh6183/screenshot-1314312473018.png
http://img.photobucket.com/albums/v673/seh6183/screenshot-1314312512785.png
Sent from my Microwave
If you asked me I would say all your values are a little screwy. Do you even turn the screen on, on your phone and use it? If you use your phone the Display should be by far the most used. To me it looks like you physically use your phone very little. That is why Phone idle and Android System seem to be the higher numbers.
Guessing you have many accounts syncing in the background. One of the biggies for Android System. So its not that Android System is using so much, the rest of the processes are using so little.
Oddly enough the same thing started happening with my phone recently too.
@Agoattamer
The system wouldn't eat most of the charge in less than 8 hours in normal circumstances. Also about your question concerning accounts, while I'm not seh6183, personally I only have my email account synchronizing and the very same thing happens.
Something is causing the CPU to remain awake, in my case stuck at 800MHz.
The factory reset will most likely solve it, but it'd be best to find the culprit to just try and rectify a specific anomaly rather than reinstalling the whole system.
Has recently any core Google apps been updated? Email, Maps, anything?
I do agree that in 8 hours of non physical use your battery should not be going dead. So I couldn't sleep last night and I did some google searching. Here are some things I found out.
Do you have Googles Goggles installed? Seems it may have a bug where it keeps the camera on even when the phone is supposedly asleep.
Seeing that seh6183 always has his wifi active maybe it has something to do with wifi. I found this from Juri's TechBlog
couple of days ago I finally got the eagerly awaited system upgrade to Gingerbread on my Nexus One. The update went pretty well, although some Nexus One users reported about problems with the updating process. The only thing I noticed is that Dropbox didn't work after the upgrade.
A re-install solved the issue. All-in-all Gingerbread is great. Beside UI enhancements it feels also faster than Froyo. However, after trying it for two days now, I noticed a substantial increase in battery consumption. By looking at the system battery stats (Settings -> About phone -> Battery use), Android System was listed to consume 23% of the battery .
Apparently the problem is a bug in Gingerbread version 2.3.3 (you know there is 2.4 as well) on how the system handles the Wifi adapter. If you go into your Settings -> Wireless & Networks -> Wi-Fi settings, press the menu button and click on "Advanced", you'll see a menu entry "Wi-Fi sleep policy". Gingerbread seems to have a problem when that option is set to "When screen turns off". While that may sound to be the most energy-saving option, the bug turns it into a battery killer. If you switch the option to "Never", the Android system will only consume ~3% in the battery stats.
Obviously, in addition to this, the best battery saver is to just turn Wi-Fi off when you don't need it . Caution, if one of the future updates fixes this problem (which I strongly hope), you have to set the option back again.
Click to expand...
Click to collapse
Something I didn't see but killed my battery on my windows mobile phone was instant messengers. Do you use any apps that are for instant messaging.
Found this thread also talking about the same bug with wifi
http://code.google.com/p/android/issues/detail?id=15057
So it seems that if you (cmdr001) also are a full time wifi user, you may be affected by the same bug. Check your wifi sleep policy and adjust your settings to "Never".
Install a battery monitor app from the market or spare parts to see what is using your battery. Install Juice Defender to stop all that excessive useage.
Excellent find!!!!!
Just switched the sleep policy to "never" (which ironically I've always used until very recently). Ill return with results after about 5 hours. The only thing is that I'm on android 2.3.5 not 3.3 so we will have to see if the bug was affecting me.
I also don't have Google goggles. And to the above poster, my phone regularly went into deep sleep so it wasn't my CPU that was staying active.
Oh and I've been using watch dog to look for rogue programs for the last 24 hours. I haven't got a single alert.
Sent from my Microwave
I guess the first question should have been what ROM were you using and to try a different one then. Needless to say it still has 2.3.3 components in it. And if you recently changed that setting then my bet is thats the issue. Goodluck.
Watchdog may alert you if you are using too much cpu at one time but I don't think it will let you know what is constantly using the cpu.
Ok there's a glitch somewhere in the battery tracking. I just checked it and android system was consuming 12% battery. I placed one 17 minute phone call and re checked it, I then had 57% android system consumption.
No way.
I'm using a cm7 nightly and I'm about to flash the stable version with a different kernel. Ill do a full wipe as well.
Sent from my Microwave
You could check your wakelocks.
After recharging my battery to 100% and wiping the battery stats, my android system consistently uses 2% of the battery, while the display sucks up around ~40%.

Battery

I know I've made a few posts about this in the past, but now I've learned a few things since then.
I know the battery isn't the greatest on the infuse (no rom that I'm using atm..) but would like to get the most juice out of my device that I can. I have root access and currently use the apps "battery calibration" and "no-frills CPU control" which I set my cpu at a relatively low frequency to help keep juice.
My phone is drained throughout my day, even without use. I believe it primarily happens because my data (mobile network) consumes it. I know apps such as "juice defender" are great at reducing idle drainage because it shuts off your network connection while in idle to save battery. However, I have used this application in the past and after a few days of use, it shuts off my mobile connection altogether.
My question is, if I were to use this application again and my mobile network were to malfunction, would I be able to change my apn to regain my network connection? In the past I had to reset my phone to regain connection, which isn't really worth using if that's the only solution.
Or are there any other battery saver apps worth using??
Thanks
Sent from my SAMSUNG-SGH-I997 using xda app-developers app
Dr_Nacho said:
I know I've made a few posts about this in the past, but now I've learned a few things since then.
I know the battery isn't the greatest on the infuse (no rom that I'm using atm..) but would like to get the most juice out of my device that I can. I have root access and currently use the apps "battery calibration" and "no-frills CPU control" which I set my cpu at a relatively low frequency to help keep juice.
My phone is drained throughout my day, even without use. I believe it primarily happens because my data (mobile network) consumes it. I know apps such as "juice defender" are great at reducing idle drainage because it shuts off your network connection while in idle to save battery. However, I have used this application in the past and after a few days of use, it shuts off my mobile connection altogether.
My question is, if I were to use this application again and my mobile network were to malfunction, would I be able to change my apn to regain my network connection? In the past I had to reset my phone to regain connection, which isn't really worth using if that's the only solution.
Or are there any other battery saver apps worth using??
Thanks
Sent from my SAMSUNG-SGH-I997 using xda app-developers app
Click to expand...
Click to collapse
A bit more information is needed before a specific course of action can be recommended. How much battery life are you using in an average 24 hour period? Also, what version of Juice Defender(beta, free, plus, ultimate) are you using, and what specific settings are you utilizing. It is a very customizable program after all. You might look into Battery Indicator Pro, which estimates your total remaining battery life based on your level of usage. I would also recommend CPU spy, which, if your device is rooted, will show the percentages that your device is running at various CPU levels.
If you turn off all the locational stuff, turn off 'update my current location' in Navigator, and set your CPU gov to conservative, you might get better battery life. I've not had any lasting luck with any of the battery saving apps. In the end, I decided to buy a couple of Anker batteries from Amazon just in case I have a bad battery day... Also some of the battery saving mods work, but I'm not sure about applying them to ICS and JB ROMS. I haven't tried!
Battery life is what you make of it..
Anything running in the background will drain the battery.. email constantly checking for new messages, twitter, Facebook, GPS, WiFi if no connection is found, etc..
Anything that makes the phone process even while the screen is off is going to kill a battery..
What ROM are you using? Some ROMs have better life than others..
How much are you actually using the phone?
What's the brightness set at?
Have you tried changing the processor and slowed it down?
Lots of information that is missing is helpful..
Its powered by Jellybeaned AOKP!
I know apps such as "juice defender" are great at reducing idle drainage because it shuts off your network connection while in idle to save battery
Click to expand...
Click to collapse
Some have good luck with these, others don’t. I prefer to try to adjust settings myself.
I believe it primarily happens because my data (mobile network) consumes it.
Click to expand...
Click to collapse
How about putting a widget on your homescreen to toggle data on/off. Keep it on only when you need it. I go a step further, I use Tasker to automatically turn my data off every time my screen times out (because that means I’m not using it... I can restart my data later with my widget when I need it). Maybe that’s extreme, but I’m not just watching my battery.. I’m managing my limited data plan.
My phone is drained throughout my day, even without use.
Click to expand...
Click to collapse
It may be that you have wakelocks keeping your phone awake when it’s supposed to sleep. One way to see this is (in GB or above) Settings / About-Phone / Battery Use...then click on the small graph at the top... should expand it to a large graph with traces along the bottom including Awake and Screen On. If you have long periods of time where phone is awake while screen is off, that’s a wakelock problem. A good program to troubleshoot that is Better Battery Stats. If nothing else, follow the instructions in the first post in the BBS thread linked below, and then post a dump to the end of that BBS thread (the developer and a lot of other knowledgeable people follow that thread and will help you interpret results):
http://forum.xda-developers.com/showthread.php?t=1179809
Thru use of BBS, I found that Google Maps is one that was keeping mine awake and I think someone else on the forum reported the same. If that program (Maps) is causing problems, you can disable it from auto-starting on boot using Gemini Manager. It will still be available when you need it, just take a few seconds longer to load the first time after boot. Then need to reboot to stop it from causing wakelocks after use (there may be other easier ways, but this works for me).
Another program (Power Tutor) was helpful to me to see programs that were consuming unusual amount of battery although not necessarily thru wakelocks. In my case Dolphin Browser HD was occasionally drawing very high power even when that program was not actively in use.
electricpete1 said:
I found that Google Maps is one that was keeping mine awake and I think someone else on the forum reported the same. If that program (Maps) is causing problems, you can disable it from auto-starting on boot using Gemini Manager. It will still be available when you need it, just take a few seconds longer to load the first time after boot. Then need to reboot to stop it from causing wakelocks after use (there may be other easier ways, but this works for me).
Another program (Power Tutor) was helpful to me to see programs that were consuming unusual amount of battery although not necessarily thru wakelocks. In my case Dolphin Browser HD was occasionally drawing very high power even when that program was not actively in use.
Click to expand...
Click to collapse
So how can I stop maps to running in background? only rebooting the device is the only option?or is there any other option?
TIA
atrix4nag said:
So how can I stop maps to running in background? only rebooting the device is the only option?or is there any other option?
TIA
Click to expand...
Click to collapse
Just to provide more details on my previous post (not sure if it's answering your question):
I followed instructions here:
http://forum.xda-developers.com/showpost.php?p=29420959&postcount=7059
In particular, I installed the free program "Gemini Apps Manager". That allows you to stop programs from auto-loading at boot.
So I used the program to stopp Google Maps from auto-loading at boot.
That stopped a large chunk of my wakelocks, as long as I don't manually launch Google Maps.
If I do manually Google Maps, then those wakelocks come back, and to get rid of them I have to reboot.
I don't use Maps that often (only when I go on trips), so it's not a big problem for me to reboot when I'm finished with my trip to help keep my battery use low.
It may also be possible to kill it from the list of applications at Settings/Applications/ManageApplications and killing botht the application and the process...but I'm not sure if it will stay killed that way... haven't tried. I know some applications have hooks that make it hard to get rid of them once they're launched.
But (if you haven't already), I think it's a good idea to use BBS to find out what programs are causing problems on your phone. You may have other apps causing lot bigger problems than Maps. And it certainly may be the case that a program that acts up on one phone can be fine on another phone due to differences in the way the user configures the application settings and the phone settings (along with other possible differences in application version, ROM used, etc etc).
electricpete1 said:
Just to provide more details on my previous post (not sure if it's answering your question):
I followed instructions here:
http://forum.xda-developers.com/showpost.php?p=29420959&postcount=7059
In particular, I installed the free program "Gemini Apps Manager". That allows you to stop programs from auto-loading at boot.
So I used the program to stopp Google Maps from auto-loading at boot.
That stopped a large chunk of my wakelocks, as long as I don't manually launch Google Maps.
If I do manually Google Maps, then those wakelocks come back, and to get rid of them I have to reboot.
I don't use Maps that often (only when I go on trips), so it's not a big problem for me to reboot when I'm finished with my trip to help keep my battery use low.
It may also be possible to kill it from the list of applications at Settings/Applications/ManageApplications and killing botht the application and the process...but I'm not sure if it will stay killed that way... haven't tried. I know some applications have hooks that make it hard to get rid of them once they're launched.
But (if you haven't already), I think it's a good idea to use BBS to find out what programs are causing problems on your phone. You may have other apps causing lot bigger problems than Maps. And it certainly may be the case that a program that acts up on one phone can be fine on another phone due to differences in the way the user configures the application settings and the phone settings (along with other possible differences in application version, ROM used, etc etc).
Click to expand...
Click to collapse
Thanks for your detail explanation. My main question was how can close the app without restarting? i feel my major battery drain is from dolphin browser, befor dolphin i used opera, even that has the same problem. Most of the time, if I dont open dolphin, my phone battery is good, but once I open it, it drains battery. So i am looking for soemthing simple which does, without rebooting the device.
Any way thanks for your help.

Asleep and wake lock?

Hi Everyone,
I have noticed a couple of posts where people reference that "their phone goes into deep sleep quickly".... What does this mean exactly and does it depend on the kernel you are using?
Also, what does it mean when someone says "a particular app stays in a wake lock". I saw this when some one was complaining about there battery drainage.
How can you tell if either of these things are happening to your phone?
Thanks for all the help!!!
To answer your second question... I use the better battery stats app to see which apps are causing issues.
Ya, better battery stats is pretty amazing, uses root permissions to dig deep. The amount of info us impressive.
It's a $3 app, but is free for xda members. Thread with download is in the main apps forum.
To answer you, a wake lock is when an application or a system operation pulls the device out of sleep to run causing battery usage. Maps is a huge abuser of this (maps does not just mean Google, other location required apps are categorized under maps).
Sometimes they can be stopped depending on what is causing it, but locating them is the first step.
Sent from my VZW GS3 running Synergy/Trinity/Dark Horse Rises
To answer about the deep sleep you can use CPU Spy from the market. It's a free app and tells you what states your cpu has been in since you reset it's stats. Deep sleep being one of the states.

Is anyone else's battery stats all wonky with 4.4.2 ROMs?

I've been playing around with some 4.4.2 nightlies (Slim, PA, CM, Gummy, OSE, etc) and I've noticed that all of them have some battery stat issues.... the stock battery app is registering the phone as awake 100% of the time (verified with other apps as not accurate)... and secondary battery apps like GSAM, BBS, WLD, all show odd information. GSAM (companion installed as system app) shows the correct totals for a module's total "held awake" time, but the actual wakelocks all have the same count and time (which all add up to the overall total... it's guessing). WLD also shows (totals are OK, but individual stats are junk). BBS isn't/can't filter out the zero'd stats and some of those stats are shown in such a way that it looks like it lacks some specific information and is trying to fill in the gaps.
I know Google messed with battery stats a bit to lock them down... I've installed the GSAM companion as well as the Xposed module to open them back up again. But this doesn't explain the STOCK battery app's problem in getting accurate results.
Anyone else see this? I've been trying to track down a wlan_ctrl_wakelock problem when I load 4.4.2 ROMs, but without the granular power stats, I really can't see anything of use (and what IS there, I can't really trust).
Is this just a case of things being too new with KK?
I'm on cm11 12/21 and ever since the battery stuff was changed back around the 12/16 nightly things have been weird. My stock battery app shows zero awake time, but GSam and BBS show the correct wake times (also have GSam companion and Xposed module for KK battery stats).
The problem appears in those apps when I try to see partial wakelocks - they're all ridiculously low, like 15 seconds with a 20 hour uptime. BBS says all the wakelocks are kernel wakelocks, buy when you check those it's all just PowerManager wakelocks, which are all the partials lumped together
For a wlan_ctrl_wakelock you can try the app Network Log - if you're getting those wakelocks, you'll see a lot of packets bouncing around from your phone to your router, or other traffic on the router (specifically if the kernel is sending/receiving a bunch of packets)
Sent from my SCH-I535 using XDA Premium 4 mobile app
scorchedsky said:
I'm on cm11 12/21 and ever since the battery stuff was changed back around the 12/16 nightly things have been weird.
Click to expand...
Click to collapse
Pretty much. I just loaded a nightly from last night... battery stats got fixed in the base code from the looks of it.
Thanks on the logging app... going to give it a look.... might just be a simple adjustment in my network, I hope.
There is more drain than 4.3 roms, but I'd venture to say it's related to coding of the device to the framework and it will improve as the roms advance. Wakelocks are the main culprit so get Better Battery Stats and see what's keeping the device awake.
For wlan, turn off wifi scanning in advanced wifi options.

Categories

Resources