High Processor Usage of ADB-Daemon ADBD - Galaxy S III Q&A, Help & Troubleshooting

Hey guys,
I'm currently running into a problem where I (and the internet) don't have an explanation.
i'm logging processor usage using SystemPanel (https://play.google.com/store/apps/details?id=nextapp.systempanel.r1) and displaying CPU stats using CPU Spy.
The log of System Panel shows, that ADBD is unsing 16% of CPU time over large periods (e.g. over night). CPU Spy shows that the processor is goping to deep sleep.
How can I get further information on the ADB Daemon and how can I prevent it from using cpu when the phone is asleep WITHOUT turning off usb debugging every time i'm finished?
My phone is latest german stock rom, rootet but no system apps deinstalled (yet..)
thanks for your help!
-Acid

anybody?!

Do you notice heavy battery drain? It sounds to me that it uses 16% out the little power that is used overnight. So it would hardly affect battery life at all. Does adbd show up if you look at the usage of a regular day?

Related

[Q] [HOWTO] How to save battery life ?

Hi, I have just bought a GS2 and first impression, except battery life, is this device is awesome !
So, I have search and found some tips to save baterry life.
They is 2 goods apps which call :
* JuiceDefender Ultimate
* Auto Apps Kill
Juice Defender Ultimate could be configurate to do anything for you, for example if you shutdown your screen it could cut off 3G and WIFI automatically, and reactivate it gently sometime.
The best conf I have made is to activate WIFI only on some area I know I can connect ! So when I'm at home he shutdown my 3G, activate my Wifi, and if he can't do that he switch back to 3G. He will learn your Wifi position and activate it automatically.
So you don't need to care turn off wifi, gps ou 3g, he do everything for you !
The ultimate (which cost a little), allow you to handle everything, lesser version don't have this tweak.
Auto Apps Killer, is a apps that automatically kill apps you don't need when screen if turn off,
So you don't need to shutdown manually apps, he do the think for you.
Of course you can ignore some apps, and they is a default ignore list that prevent shuting down widget and main apps that maintain your phone as good as if nothing was killing.
So with this both, my baterry has almost double, I can use it a day long.
But, it seems they is more thing todo when you are rooted.
My question is, does anybody has installed the rooted roms that allow you to change you CPU frequency automatically.
Is they any gain you can have by downscale your CPU when power isn't need.
I know CPU is set to 1200 mhz, and I think it doesn't go down or high. With a rooted version I could make it slow to 800 mhz or less in sleeping mode, and up to 1500 when I use it hard.
With this I should have some extra power, and extra battery, and not worry to go to my work and get back home without any battery at the end of the day.
Does anybody has experience this ?
Umm yes, all stock android phones keep CPU low when idle and then increase CPU when you use it. Just install system panel and see. Root is not needed for this, it is stock function.
Oh I see it vary from 200 mhz to 1200 mhz
I let my phone all night (8 hour), full of charge. When I wake up and check, my battery was a 72 % !!!
my iPhone was at 92%, it seems to drop too many cpu
I have stock crap from my operator that ofen run, rooted could help me to remove this.
I have install System Panel to check what tools use my baterry like this.
I have disactivate push, and lock once per hour the connection with Juice Defender, but battery drain without any usage,
it should be less no ?
Yes it should be less. Other people leave their galaxy s2 over night for 8 hours and only lose 5%. So something is wrong with your setup.
My battery life has been fantastic. Best on any android phone i've owned. I'm just rooted with a few things frozen.
Sent from my GT-I9100 using XDA Premium App
Yeah I know, it's would be a dream to save a lot of battery when it is suppose to be idle.
I can't remove crap apps from Bouygues and Samsung, so here my setting :
I have widget on :
AccuWeather,
Google Adsense,
Google Analytics,
Battery Monitor Widget,
I have tools on :
Juice Defender (which stop connection on night!)
AutoApps killer (one kill per hour)
SystemPanel (to know what use my cpu like this)
My Wifi is on for any data and not my 3G data,
JuiceDefender keep it like this when I'm at home
And everytime I look my lock screen, all data is off,
Once per hour it pull it on (and not during the night), fetch data and shut it down again.
In social hub I have :
Windows Live Messenger (but should be on only when I open it no ? any monitor don't tell me that it is the problem)
And 2 Microsoft Exange Account with Email, Calendar and Contact sync
Both account is sync once per 15 min the day, and once per hour the night
And I have twitter, facebook apps which sync sometime their data
It seems calendar in Exchange sync more often, that the over, not so sure
I know this seems a lot but it also a normal usage,
Any advice ?
I've got my SGS2 to a usage of 1-1.5% a hour in standby and 16% a hour when I do normal stuff, so no games.
I've done this with Agelom's Rom with Juice Defender Ultimate, Screenfilter and AdFree Android.
I set pulls to every 1 hour which is managed by Juice Defender, GPS off and Laditude(this kept my sgs2 awake) off.
geistteufel said:
They is 2 goods apps which call :
* JuiceDefender Ultimate
* Auto Apps Kill
Click to expand...
Click to collapse
You can also try green power free from the market, its free and can turn off mobile data unlike the free version of juice defender.
I have just disconnect latitude. I will check if battery is better.
Thanks a lot for your tips.
Next step install windows.
Install kies
Odin
Rooted
And remove all bouygues crap apps that crash all the time !
Sent from my GT-I9100 using XDA App
peachpuff said:
You can also try green power free from the market, its free and can turn off mobile data unlike the free version of juice defender.
Click to expand...
Click to collapse
I have already buy juicer. It does it's job pretty well.
Sent from my GT-I9100 using XDA App
The best way to save a lot of battery is to use SetCPU and lock speed at max 500mhz when screen is off. If you lock at 200mhz after a while you have to hard reboot because the phone don't want to wake up.
Sent from my GT-I9100 using XDA App
geistteufel said:
The best way to save a lot of battery is to use SetCPU and lock speed at max 500mhz when screen is off. If you lock at 200mhz after a while you have to hard reboot because the phone don't want to wake up.
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
I don't think SetCPU has any good effect on battery for GS II. When the screen is Off, and I guess the CPU isn't doing anything, then it will automatically run at 500 MHz or below. So there is no need to set the clock rate. I purchased the app, used it for two days at Ondemand preset, and the battery seems decreasing fast than in normal, which is weird, very weird. May be I yet to find the right setting of the appl, but till now it's not working for me and I have disabled it.
Regards.
Oh I think he has. In my case I often listen music with bluetooth. The cpu want to go above the 500mhz. So the limitation is useful. In the case I do nothing, yes it doesn't change anything.
ithehappy said:
I don't think SetCPU has any good effect on battery for GS II. When the screen is Off, and I guess the CPU isn't doing anything, then it will automatically run at 500 MHz or below. So there is no need to set the clock rate. I purchased the app, used it for two days at Ondemand preset, and the battery seems decreasing fast than in normal, which is weird, very weird. May be I yet to find the right setting of the appl, but till now it's not working for me and I have disabled it.
Regards.
Click to expand...
Click to collapse
Sent from my GT-I9100 using XDA App
I use a free app called "cpu spy" it shows you how long your SGS2 spends in each frequency 200-1200 MHz
https://market.android.com/details?id=com.bvalosek.cpuspy

[Q] Android with a month of battery life?

Hi all!
I'm working on a cool University project here in Russia.
We have to make a mobile device that works for about a month without any charging.
Device should only wake up every day at 23:55 and send POST request to server to tell that "I'm doing science and I'm still alive.".
We've started with an Android device, ZTE racer and installed Cyanogen firmware.
We've made an application that:
enables AIRPLANE_MODE
asks AlarmManager to wake up at 23:55 every day
at 23:55 it disables AIRPLANE_MODE for a minute, aquires a wake lock for a minute
then sends "I'm doing science and I'm still alive." to server
and enables AIRPLANE_MODE again to save battery.
Right now we are getting 5-10 days of battery life.
I suppose that we could extremely increase battery life by:
removing some applications from firmware including "phone" and others
shutting down some services right in kernel sources. (In fact, we just need gprs and nothing else. We don't need Wifi, eccelerometer, GPS, ...)
decreasing CPU speed from application
I have couple of questions:
Is it theoretically possible to have 1 month of bettery life for an Android device? (I know that Kindle have more than 2 months of battery, so why we can't?)
Does anybody have an Android-based book reader? How long could it live in sleep mode and wifi turned off?
If device has no 3rdparty application installed, and it's sleeping in AIRPLANE_MODE... Who could possibly eat battery at that time?!!
Could you please give any kind of advice for our problem?
Thank you very much in advance!
I'd say yes it's possible to get that much battery life... Some suggestions from the top of my head:
Undervolt and/or underclock the processor (like you said), but do this from the kernel, rather than an application.
uninstall any unecessary system apps/turning off services (like you said)
Assuming your script/application is checking the system time of the phone to know when to wake, try having it just run an internal timer instead... I don't know how much battery life that would take, but I imagine that checking against its own timer would save battery vs requesting the time from the phone itself.
Assuming you haven't already, Try having so the display NEVER TURNS ON without physical input (i.e. pressing a button on the phone). The screen is a massive battery drain.

[Q] High consumption of battery

Hello
My Razr Xt910 batteries consumption is high
For example i'm in bed for 7 hours , It consumes 20%!
Idle consumption is too high
i'm using 2G
wifi and... is off
I close all programs
changed ROM
and .....
But this problem exists
In your opinion, why is this problem?
May be a hardware problem?
Sorry for bad English
Thanks
There's an app called Watchdog Task Manager that can monitor your apps and phone processes. That might be able to help you pin point if you've got a rogue app.
My girlfriend had to swap out her first Razr for a similar problem. Her phone would not last her an entire day with very light use. Using Watchdog Task Manager I was able to find that the suspend process was hanging and causing the battery to drain very rapidly.
milkshed27 said:
There's an app called Watchdog Task Manager that can monitor your apps and phone processes. That might be able to help you pin point if you've got a rogue app.
My girlfriend had to swap out her first Razr for a similar problem. Her phone would not last her an entire day with very light use. Using Watchdog Task Manager I was able to find that the suspend process was hanging and causing the battery to drain very rapidly.
Click to expand...
Click to collapse
How do u see that?
Sent from my MZ601 using XDA Premium HD app
milkshed27 said:
There's an app called Watchdog Task Manager that can monitor your apps and phone processes. That might be able to help you pin point if you've got a rogue app.
My girlfriend had to swap out her first Razr for a similar problem. Her phone would not last her an entire day with very light use. Using Watchdog Task Manager I was able to find that the suspend process was hanging and causing the battery to drain very rapidly.
Click to expand...
Click to collapse
I installed the program but did not notice anything
Who can help me?
http://www.juicedefender.com/
If you were rooted you may get rid of some apps. Like if you dont use backup asst.
It always runs in the back round. I talked to a rep the other day that said just force stop it. I said duh but it will re start itself. Make a list of what you see is running in the back round and and we can figure what program it is to see if we can freeze or get rid of it. Ahh I see you tried different Roms. You can use and app like NoBloat freeze. What Rom did you use? There is more information we need and can go from there.
Edit: How to use , go to system ,apps and look at running. Do you have email setup? How often is that set to refresh for email. So many things to look at.
Install Watchdog and agree to the license.
Set the default monitor to aggressive using the pulldown menu.
Hit the menu button on you phone and go to preferences.
Click "CPU threshold" and set it to 20%.
Click "Polling interval" and set it to 1 minute.
Click "Real time polling interval" and set it to 5 seconds.
Where it says "Include phone processes" make sure that is checked.
Click and check mark "Monitor phone processes" and "Display all phone processes"
Click on "System process CPU threshold" and set it to 40%
Now Watchdog will monitor all your apps and processes and will alert you if anything is going over the thresholds you have set. You can see what the culprit is under the alerts tab in the main menu.
Also, by going into the CPU tab on the app main menu, if you check "real time CPU" you can monitor your CPU usage in real time yourself. Anything in cyan is a background app/process, white is for system processes, and green is for apps/processes in the foreground.
I still use this app quite a bit especially if I install a few new apps, although I run it with the CPU polling interval at 10 minutes and the System process CPU threshold at 50% in my everyday usage to minimize CPU usage.
The suspend process that was giving my girlfriend problems on her phone can be seen while in the CPU tab if you check "real time CPU." I believe it will pop up after your phone is unlocked but should afterward stop and not consume any CPU. On my girlfriend's old phone this would not be the case. The suspend process would hang and constantly alert through Watchdog that it was exceeding the percentage threshold.
I'm not sure if this will be of any help and I apologize if it does not but it did help me. Good luck.
blueis300 said:
If you were rooted you may get rid of some apps. Like if you dont use backup asst.
It always runs in the back round. I talked to a rep the other day that said just force stop it. I said duh but it will re start itself. Make a list of what you see is running in the back round and and we can figure what program it is to see if we can freeze or get rid of it. Ahh I see you tried different Roms. You can use and app like NoBloat freeze. What Rom did you use? There is more information we need and can go from there.
Edit: How to use , go to system ,apps and look at running. Do you have email setup? How often is that set to refresh for email. So many things to look at.
Click to expand...
Click to collapse
Thank you very much
Rom 2.3.6
Version: 65.1.40.XT910.AsiaRetail.en.03
I close all running programs
I even removed the SIM card
But ...
-------
Running:
Setting
My Music
Sticky Note
News (i dont use it)
Homescreen
Google Services
My Gallery
MOBiDIV keyboard
I dont have a gsm razr but the maxx cdma. Look at what the post above says and try it. What is the actual live of the battery after a day of use or how long does it last with normal usage?
blueis300 said:
I dont have a gsm razr but the maxx cdma. Look at what the post above says and try it. What is the actual live of the battery after a day of use or how long does it last with normal usage?
Click to expand...
Click to collapse
ok
About 20 hours
and phone idle consumption is high
Watchdog alert:
suspend
Linux Process
43.4%
What's this?
What should I do?
You should use SetCPU and underclock your CPU so it runs slower but provides better battery life.
Switch the governor to the regular hotplug instead of mot_hotplug and under advanced change the sampling rate to 30000, up threshold to 95, down threshold to 50. Also in profiles set up profiles for various circumstances so if you're sleeping, you can make it so that if the screen is off you're limited to 300/600 mhz and so on.
I was using the ondemand governor earlier and then I stumbled upon some descriptions of them where they explained hotplug as being very similar to ondemand but having the capability to switch off the second core if there is not enough workload which I believe ondemand doesn't allow you to do.
Yesterday, I was at 65% battery left after 9 1/2 hrs of mild usage (2 phonecalls, 100 sms, bit of im'ing, light browsing and a couple of emails). Had the profile set so that it would limit clock at 600mhz when my battery is under 90% and at 800mhz when its above 90%.
evonc said:
You should use SetCPU and underclock your CPU so it runs slower but provides better battery life.
Switch the governor to the regular hotplug instead of mot_hotplug and under advanced change the sampling rate to 30000, up threshold to 95, down threshold to 50. Also in profiles set up profiles for various circumstances so if you're sleeping, you can make it so that if the screen is off you're limited to 300/600 mhz and so on.
I was using the ondemand governor earlier and then I stumbled upon some descriptions of them where they explained hotplug as being very similar to ondemand but having the capability to switch off the second core if there is not enough workload which I believe ondemand doesn't allow you to do.
Yesterday, I was at 65% battery left after 9 1/2 hrs of mild usage (2 phonecalls, 100 sms, bit of im'ing, light browsing and a couple of emails). Had the profile set so that it would limit clock at 600mhz when my battery is under 90% and at 800mhz when its above 90%.
Click to expand...
Click to collapse
I do not think the problem is the cpu usage
I think the battery has problem
Help Me
My battery also drains very fast, I have no clue why but I will try to charge it 100% tommorow and see how long it will last.
Please somebody help me!
May be a hardware problem?
Milad._.R said:
Please somebody help me!
May be a hardware problem?
Click to expand...
Click to collapse
Try the app juicedefender and see if that helps? a longshot but maybe its worth.
20 hours out of your phone but is that moderate usage? Forget about idle time. Do you not get regular usage out of your phone?
i have a Moto razr my own , and never noticed how much the battery would last.
of course it won't concern me much , cause i already prepared my self for a lousy battery back up with a 4.3 inch display and dual core cpu!!
i got your back on this whole messed up battery fiesta thing buddy ,
i'm gonna charge my razr up , and see how it's battery gonna react , if it's as bad as your device , chances are , it's a pretty common problem on every xt910 units , and you don't need to be worry about a thing.
Try the app juicedefender and see if that helps? a longshot but maybe its worth.
Click to expand...
Click to collapse
I use this program but had no effect
blueis300 said:
20 hours out of your phone but is that moderate usage? Forget about idle time. Do you not get regular usage out of your phone?
Click to expand...
Click to collapse
It does not matter, because the unemployment in 7 hours, 20% is consumed
sorry for bad english!
Have a look on this guide ( the last post) http://www.droidforums.net/forum/droid-razr/182391-random-apps-running-help.html
Sent from my MZ601 using XDA Premium HD app
after reading a few tips on the forums, I did the following:
1. installed SetCPU (paid) and made a custom "profile" that, when I turn the screen off, it reduces the CPU activity to the minimum (300)
2. I installed an app called "2x battery" (free) which will kill my data when the screen is off... I have it set up to where it will briefly enable my data connection every 15 min. to check for emails/texts, etc., and I also have it set up to where, if I have an active data connection (i.e. pandora) then it will not disable the data during that period.
3. With the 2x battery it also doubles as a manual task killer... or you can also install "memory booster" (lite = free)
4. set my wallpaper background to black
with these things I have really noticed an increase in battery power... try them and see what you think!
---------- Post added at 09:46 AM ---------- Previous post was at 09:39 AM ----------
oh yeah, after you are at 100% on your battery and have unplugged it and plugged it back in a couple times and it still stays at 100, then reboot into recovery (while still plugged in) - go to advanced - wipe battery stats - reboot - unplug and run battery all the way down till it dies - charge up without unplugging. see if that helps, it will re-condition your battery.

[Q] [BATTERY] change under/overclock for specific apps on forground

in my quest to get a better battery life out of my phone (seen people saying 2 days battery life) i have tried 6-8 roms, 3 kernels and 5 modems. all of which give me less then 10-14hrs usage (i know thats fairly average for some of us)
IS there an app that can change cpu speeds based on what app is on the foreground?
my regular usage is:
1200mhz,
ondemand,
3g enabled all time,
~40mins talk time
~100sms
~45mins gaming/video (for train journey =D)
~5mins gps (to check for my bus home)
Push exchange emails
auto brightness
haptic feedback
Tablet-Mode
I have tested that for 70% of my daily usage this works fine for me:
500mhz,
lulzactive,
3g enabled all time,
manual exchange mail sync
but in testing games such as temple run i would need max 1ghz
(have yet to test with music yet... 720p video runs fine @ 800mhz and 1080p @ 1ghz)
i have seen there is a way to inject 3g to 2g toggle when screen is off, is there any way to do it without injecting into the zip? or inject directly into rom?
i think then i could run push emails without much problem. then my phone will really be ON DEMAND!
during 500mhz i notice a slight reduction in battery consumption (not as much as i thought however)
i am running D4ROM v10 with siyahkernel 3.1.2 with resurrection remix as dual booted rom. will prob be getting the 1900mah anker battery heard its decent and fits in normal cover, so yes please let me know if you do get longer then a day, and also if what i need is available (i have searched)
There is no need for such applications mate because android by itself handles the load balancing. The load increase/decrease is basically dynamic and hence you cant predict that.
Overriding that will only consume more battery.
well from the last 2 years of using android underclocking has always increased my battery quite a bit... even right now its consuming 2-3%/hr compared to 5/6% from 500mhz and 1200mhz in sleep, at the end it adds up!
I imagine Tasker could achieve your odd request, though I haven't checked.
oinkylicious said:
I imagine Tasker could achieve your odd request, though I haven't checked.
Click to expand...
Click to collapse
I have got the tasker 7 day trial and i can honestly say it is amazing! takes android to a whole new level!
got 2g and underclock & screent timeout 20secs when screen off, then when i use dolphin it connects to 3g, when i play games it clocks to 1ghz 10mins screen timeout. when i plug in OTG usb stick it opens mx video player !
only problem i have is when the screen times out it underclocks (say if ive opened a game) then when i wake the device and unlock again, - the profile says it should clock to 1ghz... but it is staying at 800mhz (which is the screen off max clock speed...) - temporarily just pressing home going to recent apps and opening the game again
p.s. using around 2-3% on sleep/hr and 4-5%/hr with moderate usage (few texts, browsing, play store)

Battery drain in deep sleep

Hi,
I'm having the following problem:
Short story:
From time to time something triggers battery drain in deep sleep on my Xperia Go. Usually my phone works as it should (battery drain over night is just a few %), but suddenly something starts to drain the battery and only reboot can stop it. I haven't figured out any pattern at which the drain starts, sometimes it works fine for weeks but sometimes it starts just a few hours after a reboot.
More details:
The phone is Xperia Go with the latest stock FW (.100). It is rooted but has locked bootloader. I have no bloatware installed, no Facebook, no Viber, no Whatsup, basically nothing in background and both WiFi and mobile data turned off (even location services turned off). I'm not using neither Sony's Stamina mode nor Low battery mode. I've verified that the system is really in deep sleep during the night by running script like this in terminal (https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en):
i=0
while true; do (( i++ )); echo $i; sleep 1; done
Click to expand...
Click to collapse
It is simply counting seconds while awake. There are only a few lines printed in background during the night so I'm nearly sure that the main CPU is sleeping most of the time. So I can think of 2 other suspects. First would be the radio (GSM module) as that is the only part that is running even in deep sleep. Second would be the Mali GPU as I don't know how to verify if it is really sleeping. Both are also restarted with system reboot which temporarily solves the problem (sometimes even for weeks if I'm lucky).
Anyone can confirm such behavior?
Any idea how to restart radio or GPU only without system reboot?
Any idea how to check whether GPU really sleeps when screen is turned off?
Any other ideas?

Categories

Resources