suspend linux process eats my battery! - Motorola Atrix 2

i use the app 'Watchdog' to observe the cpu usage and the suspend(linux process) always comes out about 30-50% usage..daily i'll get about 30 alerts, and it drains my battery like hell!
I already searched about it and it is a very popular problem among the other android phone users but it seem no one has found the fix for it
Anybody in this atrix 2 community occur the same problem?

ewandroid said:
i use the app 'Watchdog' to observe the cpu usage and the suspend(linux process) always comes out about 30-50% usage..daily i'll get about 30 alerts, and it drains my battery like hell!
I already searched about it and it is a very popular problem among the other android phone users but it seem no one has found the fix for it
Anybody in this atrix 2 community occur the same problem?
Click to expand...
Click to collapse
It appears that whenever the screen timeout is set to ANY given interval, the "Suspend" process continues to run (under SystemPanel). Set the display to "never turn off", and "Suspend" terminates.
I've have decent battery life, even while overclocked to 1.25GHz and with additional ram speed and netspeed tweaks added with my screen timeout set to "never". Also, try enabling USB Debugging (settings>applications>development) and see if that helps.
Sent from my MB865 using xda premium

nope..still running and hogging my battery:'(
i can't even get a full day with one charge..damn!so jealous with you guys

ewandroid said:
nope..still running and hogging my battery:'(
i can't even get a full day with one charge..damn!so jealous with you guys
Click to expand...
Click to collapse
I'm sending you a DisableSuspend.apk that you can download. Install it like any other .apk and tick the "Disable Suspend" box. See if that solves your issue...
EDIT: I installed the .apk and ran it myself, so as to ensure I'm not throwing something out there that either won't work or will do other goofy things to your phone. So far, NO issues with suspend linux process whatsoever! Pretty sweet.

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.

Ways to save battery

I've used the N5 for a few days now and I must say I'm impressed with everything except for the battery.
So the thing is, i really gave no craps about the battery on my Defy because I didn't care much for the phone either; so I'm sort of confused and out of ideas for battery saving.
I haven't rooted yet, but when I do my best guess would be just to down-clock the CPU, but how well does that really work? I use No-Frills and it works about 93% of the time, other times it just reverts. Do I need a kernel?
I keep it on about 10% brightness because I like soft lighting and screens. That works to a certain extent as well as the fact that I'm not a data user and I always turn wifi off when I'm not using it (like, immediately I will go and toggle it).
Other than turning off sync, is there anything else I'm missing? A good app maybe?
droid_<3er said:
I've used the N5 for a few days now and I must say I'm impressed with everything except for the battery.
So the thing is, i really gave no craps about the battery on my Defy because I didn't care much for the phone either; so I'm sort of confused and out of ideas for battery saving.
I haven't rooted yet, but when I do my best guess would be just to down-clock the CPU, but how well does that really work? I use No-Frills and it works about 93% of the time, other times it just reverts. Do I need a kernel?
I keep it on about 10% brightness because I like soft lighting and screens. That works to a certain extent as well as the fact that I'm not a data user and I always turn wifi off when I'm not using it (like, immediately I will go and toggle it).
Other than turning off sync, is there anything else I'm missing? A good app maybe?
Click to expand...
Click to collapse
Few things i've done is turn off wifi always scanning. set location to device only. undervolt -75 and max cpu 1575. i'm using cataclysm rom and frank r16 which was just recently released. when i was on r14 kernel i was getting about 7hour 1% drain on idle connected to wifi. I also try to monitor what I want to have push notifications for. So check what you have constantly Syncing.
cntrdctn said:
Few things i've done is turn off wifi always scanning. set location to device only. undervolt -75 and max cpu 1575. i'm using cataclysm rom and frank r16 which was just recently released. when i was on r14 kernel i was getting about 7hour 1% drain on idle connected to wifi. i also turn make sure i monitor what want to have push notifications. i hope this helps.
Click to expand...
Click to collapse
Biggest changes for me were:
-Disable Hotword detection. Turn it back on when you want to impress friends and otherwise hit the mic button manually. Increases Screen on Time.
-Disable Auto sync. Set an automation to only sync while charging instead. Increases Battery at all times, may slow charging a tad.
-Disable Locations. Enable if needed on the go. Can't automate this with Llama but I'm guessing it would work using Tasker. Many less wake locks you can go hours without a single one now.

[Q] HTC One X constant CPU load killing my battery

Now, I've been troubleshooting this issue for >3 months and I've lurked the forums as much as possible. I've looked over threads like the Google Services is Killing My Apps but it doesn't really go beyond the surface of the issue. Now, I'm pretty good with linux/bash and I understand most advanced computing topics but I'm a noob as to the inner workings of droids. At this point I'm hoping that you guys can offer some enlightenment because I don't know what steps to take next. Here's what's going on:
Device: non-root ATT HTC One X
Versions:
Android: 4.1.1
Kernel: 3.4.10
Now, here's the extra tasty bits of info:
CPU usage is always very high. Here's some averages throughout the day,
CPU: ~10% usr: <10% sys: 1% nice: 90% idle: 0%
Load Average: some days it's floating around 2, other days floats around 5. Regardless of load average, the above numbers stay pretty much exactly where they are.
Now, I've uninstalled every app. I've disabled Google Play, Google Play Services, and all other Google Services. This solved the issue except that after ~2 hours, I saw that Google Play and Google Play Books automatically re-enabled and re-installed themselves and the issue's occurring again. Sure, that means that I've sort of narrowed down the cause of this insane cpu usage but that doesn't get me any closer to knowing what to do to fix it. Anybody have any idea as to why google play is abusing my battery?
The stats you gave in the middle of your post there aren't very clear, can you please try to elaborate on that? What app are you using to come up with the stats? What kind of battery life are you getting?
Sent from my Evita
timmaaa said:
The stats you gave in the middle of your post there aren't very clear, can you please try to elaborate on that? What app are you using to come up with the stats? What kind of battery life are you getting?
Sent from my Evita
Click to expand...
Click to collapse
I'm using an SSH app called Terminal IDE. In the bash shell I run the command top to get those stats. It's the same thing as turning on "Show CPU Usage" in settings -> Developer Options -> Advanced -> Show CPU Usage.
Also, to clarify, when my processor is getting abused, it's showing as 10% is coming from user processes, 10% system processes, 90% "nice" processes and usually 0% idle. I've never seen nice processes consume so much cpu lol. I assumed that whatever app(s) are causing the issue are probably connecting to the net so I went through every app to disable notifications and any automatic downloads, automatic updates, and automatic anything. Anyways, is there a way to track what apps are trying to make connections to the net on a non-rooted phone? I'm going to root my phone soon-ish but in the meanwhile...
Ok, but what about the last question? I'm just struggling to see where the problem is unless you're suffering bad battery life. The CPU doesn't seem to be operating incorrectly from what I can see.
Sent from my Evita

Categories

Resources