Constantly awake - Samsung Epic 4G Touch

Hi guys,
My phone is constantly "awake" despite rarely even turning on the screen.
Would you know what could be causing this?
I'm currently running Caulkins rom and whatever kernel it came with.
My battery life is ~15 hours so I dont think it's affecting my battery too much.
Either way, is there an app that can tell me whats causing the drain?

First of all, to see if your CPU is sleeping properly when the screen is off, download CPU spy… it is an app that gives you total time the CPU has spent in each scaling frequency available.
Then download watchdog, this app tells you which programs are polling the CPU for usage.
Then download “better battery stats”.. this app tells you if there are wakelocks.
With those 3 apps running at the same time, you will find out any abnormalities in your system caused by applications.
Side note – disregard info that either of the apps report about each other (obviously)

Related

defrost problems

Hello,
I find things very funny on my phone let me describe. This happens on both opendesire 4.0.25 and defrost 4.9 . I am downloading defrost 4.7 now to see if the problem solves. This is it, my phone clock speed is always at 998MHZ and the CPU usage is always at 100% . I realised that is why my phone always got hot and the battery drains fast. I hope someone could give me a solution, or is it the new kernal that is giving the problems?
Thank you.
On Defrost you can try a different kernel directly from the Defrost setup.
I am now using HAVS 1113and the phone works great and the battery life has increased significally
Thank you for your reply
but that is not the problem. This is, my CPU usage is always at 100% (checked with many apps) also the CPU setting is ondemand which means my usage being at 100%, makes the clockspeed always at 998. The process that took up 76% of the CPU was named android.process.media or something like that. Anyone knows what it means and what I am supposed to do now? How am I to disable the process and what process is that? How can I disable it?
Thank you and I'm hoping for more replys its quite upsetting to have your processor running high all the time
Sounds like a background app is stopping the Desire going into a sleep state...you might have to reset the phone and add 1 app at a time to see what it is...
install Android System Info on your Desire and take a look at the tasks list.
There press the menu button to sort the list by CPU load.
The total CPU load should be around 10%, which gets consumed by the Android System Info process itself, and a small amount by Android System Info.

[Q] something is draining my battery - how can i tell what it is?

So i rooted my evo and installed a custom rom pretty much as soon as I had it out of the box. And then started installing apps. And i've pretty much NEVER had a fully charged battery last for a whole day even with very little to no usage of the phone.
A few days ago my friend also got an evo but hasn't rooted it or installed any apps yet. And he is easily getting TWO days or more out of a charge.
so i decided to do a full wipe of my phone, and what do you know, I'm suddenly getting 2 days out of the battery, maybe even a little more then 2 days.
Previously, i had setcpu installed as well as system panel. And i was never able to figure out what was draining the battery. When i looked in system panel the only thing that was using the cpu a little bit was system. Pretty much every other app listed was showing 0.1% of cpu usage.
So i'd like to know if there's a better method to figure out what's draining the battery. Do I have to install apps one at a time and wait a few hours/a day to see if the battery starts going down? or is there a better method?
thanks
I always check the awake time versus the time on. If the wake time is very high that means there is an app acting up.
What I'll do to investigate which app is I'll just go to the little stock battery report thing and look at what is using my battery.
Also, it should be noted that be wary of the facebook app. That thing is a complete and total battery hog. It was draining my battery from 20% over the course of an hour.
I was checking the stock battery report - it wasn't showing me anything useful when the battery was going dead.
right now i'm getting amazing battery life compared to before.
90 minutes since the phone was unplugged and it's only down to 96% and that's with me using it a bit. Previously, it would have been down to 85-80% by now.
I just have no clue at all what was causing the drain. I was hoping there was a better method other then installing apps one at a time until the battery starts draining to figure out the culprit.
There's an app called Watchdog and it monitors the background activity happening on your phone. If some seems to be getting out of hand it will notify you.
I had the same problem I installed Smobile security and it was KILLING my battery. Watchdog was able to tell what it was.
Hope this helps.
It looks like watchdog does basically the same thing that system panel does. and system panel wasn't showing me anything unusual. System panel shows the cpu usage of apps - and none of my apps were showing high cpu usage.
I guess there's really no app that can actually show you the battery usage per app - it can only show you the cpu usage.
You can try SpareParts from the Market,it may help you see if you have a wakelock issue of some kind and its free so no harm if it doesn't help.
BrianBusby2038 said:
You can try SpareParts from the Market,it may help you see if you have a wakelock issue of some kind and its free so no harm if it doesn't help.
Click to expand...
Click to collapse
actually, the rom i am using already has spareparts in it. I'm not sure what you mean by wakelock though. How do i determine that? What is it?

Battery drain is ridiculous...please help

My battery is draining like CRAZY and i cant seem to find out what the issue is. Ive tried calibration several times and using a task manager that turns off running apps every few seconds(which seemed to make it worse) and that didn't help. Auto updates are turned off and fbook is only set to update every hour and brightness is set to minimum yet my battery only seem to last 8hrs. please help. i would really like to pinpoint what the issue is.
Oh...im running ERA Legendary 2.1, CPU speed and voltages are stock
That screenshot is worthless. It doesn't show anything useful. Percentages are meaningless. Get Betterbatterystats to see what is running as far as processes and partial wakes. Get CPUspy. To make sure your phone is going into deep sleep. Get Memory Booster Lite to see what is using your battery and get rid of the auto task killer. That will kill your battery fast.
Sent from my SPH-D700 using XDA App
kennyglass123 said:
That screenshot is worthless. It doesn't show anything useful. Percentages are meaningless. Get Betterbatterystats to see what is running as far as processes and partial wakes. Get CPUspy. To make sure your phone is going into deep sleep. Get Memory Booster Lite to see what is using your battery and get rid of the auto task killer. That will kill your battery fast.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
i only posted the screen shot to show the time vs percentage. i already got rid of the task killer and here is a screenshot from better battery stats. idk how to stop the processes though...
Again the percentages mean nothing. In Gingerbread everything goes through Android system so it will always be highest. If you use your phone only an hour or two a day then it will drop to around 60% with cell standby getting higher. They will always add up to 100% whether on a minute or 10 hours.
You didn't post the partial wake locks screen. Also did you check CPUspy for deep sleep? Did you uninstall the autokiller? You can go into settings>applications>running services and stop applications that shouldn't be running like Facebook or music and video players, etc. Sometimes it's best to get an app like Bloat freezer and freeze apps that keep reloading if you don't use them often.
CardnalSyn said:
My battery is draining like CRAZY and i cant seem to find out what the issue is. Ive tried calibration several times and using a task manager that turns off running apps every few seconds(which seemed to make it worse) and that didn't help. Auto updates are turned off and fbook is only set to update every hour and brightness is set to minimum yet my battery only seem to last 8hrs. please help. i would really like to pinpoint what the issue is.
Oh...im running ERA Legendary 2.1, CPU speed and voltages are stock
Click to expand...
Click to collapse
Another question and maybe the most important...what is your screen on time? I didn't see it in the screen shots. I think Max screen on Time I have gotten is right around 4hours. All the battery tweaks in the world wont help, if your screen is on a lot. Also...make sure to freeze drm, sns and system updates. Use randomlking's zip file.
If none of that works...wash, rinse, repeat. Wipe clean and reflash, rom and kernel.
Sent from my SPH-D700 using xda premium
As I'm sure you know, everyone's battery drainage is widely independent. However; I'm on "stock" Legendary 2.1 and recently with the updated Samurai kernel as well and run Juice Defender Ultimate. I've got some advance settings set but over the past 3-4 days, I average about 20 to 22 hours on a single charge.
My usage in an average day is: about 20-30 texts, about 10 minutes of phone calls, 10-12 emails in and out, 10 minutes of web, whatever app updates there may be and maybe about 15-30 minutes of light to medium use games.
If JDU is something you might want to look into, I would be more than willing to post my setup to get you started. <--For some reason, people are real stingy with their JDU settings.
This kinda thing just happens sometimes, and usually clears up on it's own. Especially common after flashing new software.
sent from my secret underground bunker

[Q] Why won't my phone goto sleep?

I think my phone is suffering from the Android OS keep awake bug. I just charged my phone to 100%, rebooted, opened and closed the camera app and left it alone for about an hour and a half. I am down to 92% batter life remaining. This seems excessive. The Android OS app shows a keep awake time of exactly 93 minutes which is also exactly the same as the up time.
I don't quite understand BetterBatteryStats just yet, but BetterBatteryStats shows "gps-lock" as 1h27m4s under Kernel Wakelocks since charged. Nothing else comes close. The highest Partial Wakelock is ActivityManager-Launch with 12s. Under Other Awake is 93 minutes and Screen on is 2 minutes. BetterBatteryStats is the first item under Process the surfaceflinger and com.android.phone.
Before rebooting I had set my GPS settings to (and they remained this way after reboot)
-Google's Location Service : Unchecked
-GPS satellites : Checked
-Location & Google search : Unchecked
Other stats:
-Verizon LTE
-bigxie IML74K Build 2
-franco.Kernel #12 (hotplug enabled, 350k low, 120k high)
-No widgets
-No other apps were opened
-Gmail is set to sync. I haven't run or configured Google+ (don't use it). Gmail/Calendar/Contacts should be the only things syncing, no facebook sync.
I had similar issues before flashing the kernel and rom.
How can I get this thing to go to sleep? I don't think this should be consuming so much battery life while idle.
you have a "bad app" that is preventing the phone from deep sleeping.
get cpu spy from the market to verify how long your phone is staying in each state
do you have any notifications in the notification bar?
No notifications were received in the last 90 minutes (forever alone yes). I just installed CPUSpy. This says 00:01:25 was spent in 1200Mhz, 01:39:52 in 350mhz and 0:00:0 in Deep Sleep.
How can I find what app is preventing deep sleep? The only apps listed in the battery app are Android OS, Screen, Phone Idle, Cell standby and Android System.
Wouldn't this bad app show up in BetterBatteryStats under Process?
lethologica said:
No notifications were received in the last 90 minutes (forever alone yes). I just installed CPUSpy. This says 00:01:25 was spent in 1200Mhz, 01:39:52 in 350mhz and 0:00:0 in Deep Sleep.
How can I find what app is preventing deep sleep? The only apps listed in the battery app are Android OS, Screen, Phone Idle, Cell standby and Android System.
Wouldn't this bad app show up in BetterBatteryStats under Process?
Click to expand...
Click to collapse
I don't use BetterBatteryStats so I wouldn't know.
I personally set my CPU speeds from 700-1200MHz (as indicated by Franco and others... setting it to ~300 is bad because it makes the phone use more power to catch up)
How many apps do you have? can you use AppBrain or something to provide me a list of what apps you use?
I just took a list at my CPU Spy...
0:09:51 1200Mhz
920 MHz... 0:01:35
700MHz: 0:09:49
Deep Sleep: 3:21:43
82%... 3h 50m 35s on battery
Android OS 28%
Screen 24%
Google Voice 14%
Phone idle 14%
Android system 7%
Cell standby 3%
Nova Launcher 3%
Wi-Fi 2%
Beautiful Widgets 2%
Market 2%
700-1200MHz. Conservative Governor. Hotplug off
I did try 700 with earlier versions (I think 8 & 9) and was also getting poor battery performance during idle. I wish there was an easier way to determine what app is preventing deep sleep, however it would almost certainly have to be a system app as I did not run any app when I started this test.
lethologica said:
I did try 700 with earlier versions (I think 8 & 9) and was also getting poor battery performance during idle. I wish there was an easier way to determine what app is preventing deep sleep, however it would almost certainly have to be a system app as I did not run any app when I started this test.
Click to expand...
Click to collapse
It doesn't have to be a system app. A app can be started as the moment as Android OS is started.
Not all apps are listed in that battery monitor. I can tell you that for sure. Definitely something is wrong with your phone setup.
The best way to debug it (in my opinion) would be to backup all of your apps and reflash the ROM from scratch. Flash bigxie's ROM (or try another ROM if you choose to) and Franco's Kernel.... install CPU Spy and leave the phone off for like 5-10 minutes. See if it deep sleeps.
Edit: Try this https://market.android.com/details?...251bGwsMSwxLDEsIm5leHRhcHAuc3lzdGVtcGFuZWwiXQ this should help you figure out what app it is.
Thanks for the tip. I am going to recharge and test again with all GPS settings disabled to rule the GPS out. Seeing the gps-lock as the top process in Kernel Waitlocks makes me wonder. I will give SystemPanelLite a try after this test.
lethologica said:
Thanks for the tip. I am going to recharge and test again with all GPS settings disabled to rule the GPS out. Seeing the gps-lock as the top process in Kernel Waitlocks makes me wonder. I will give SystemPanelLite a try after this test.
Click to expand...
Click to collapse
You did update to the latest Google Maps right? it contained fixes for the battery. Maps is a huge drain if it runs in the background. I always leave my GPS deactivated even though it's activated ondemand. I just don't trust it.
Ahh hah! It has only been 20 minutes, but the GPS is the culprit. I did the same charge, reboot, camera cycle. Then I walked away. Checked CPUSpy and sure enough there was 18 minutes of deep sleep time out of a 20 minutes up time. Google Maps is up to date by the way.
Now the funny thing is, the GPS isn't all that great even when it was keeping my phone awake. Last night I checked the GPS after I got out of the subway (public transit, not sandwiches), for a second it still thought I was in the location prior to taking the subway. It took close to ten seconds to get within 500 meters of my location, and after that it was unable to pinpoint my exact location. The phone has been able to pinpoint my exact location in the past though.
So now, how can I determine if this is a software bug or a hardware bug? If it is software then no big deal, I can hold out. If it is hardware then I need to revert to factory, unroot, etc.
lethologica said:
Ahh hah! It has only been 20 minutes, but the GPS is the culprit. I did the same charge, reboot, camera cycle. Then I walked away. Checked CPUSpy and sure enough there was 18 minutes of deep sleep time out of a 20 minutes up time. Google Maps is up to date by the way.
Now the funny thing is, the GPS isn't all that great even when it was keeping my phone awake. Last night I checked the GPS after I got out of the subway (public transit, not sandwiches), for a second it still thought I was in the location prior to taking the subway. It took close to ten seconds to get within 500 meters of my location, and after that it was unable to pinpoint my exact location. The phone has been able to pinpoint my exact location in the past though.
So now, how can I determine if this is a software bug or a hardware bug? If it is software then no big deal, I can hold out. If it is hardware then I need to revert to factory, unroot, etc.
Click to expand...
Click to collapse
It's probably software. Something is keeping the GPS on. Either by a app or ROM. Most likely app.
If you're not using gps with google location services, it will take a while to lock.
Also, you have an app that is requesting GPS constantly while the phone is sleeping.. That is all.
joshnichols189 said:
Also, you have an app that is requesting GPS constantly while the phone is sleeping.. That is all.
Click to expand...
Click to collapse
Any idea on how to figure out what that app is?
I'm not sure how to find an app that is constantly requesting GPS, but I know the app Watchdog will help find an app that is running in the background consuming processor cycles.. you might want to try that but I have no idea if it will work.
holy ****! thank you! I've been trying to figure out what was causing my phone to not deep sleep for a week! I uninstalled google maps and it worked! now I'd like to figure out how to have both deep sleep and google maps installed...
did you tuck your phone in?
I had that problem with a Rom and turning on and off the Bluetooth would fix the problem.
Sent from my GalaxyNexus using Tapatalk
imail724 said:
holy ****! thank you! I've been trying to figure out what was causing my phone to not deep sleep for a week! I uninstalled google maps and it worked! now I'd like to figure out how to have both deep sleep and google maps installed...
Click to expand...
Click to collapse
Try disabling GPS when you're not using it. Worked for me.
i tried to freeze the google maps, but still getting the GPS wakelock.
from the other thread, some one mentioned about facebook.
i freeze facebook in titanium backup. looks like the GPS time is not increasing.
are you guys having this issue installed facebook app?
the other thread:
http://forum.xda-developers.com/showthread.php?t=1419087&page=3

cpu going nuts for no reason

I'm on stock, rooted, s-off
my device is getting extremely hot during normal use.(i dont play games at all, just whatsapp, facebook, news etc..)
sync is off, auto brightness.no google location reporting and history, no google now or history.
and using bbs to see what is going on ,i have no wakelocks and looking at battery screen, screen on time and awake time are almost identical.so nothing is keeping my device awake.
but for some reason, when the device is idle, the cpu goes nuts!
i installed cpu status bar xposed module so i could monitor cpu on real time, and i see the device jumping allot from 300mhz to 960 and 1000+ for no reason.(without touching it, and no apps running).when i touch the screen it scales to maximum.
it drives me crazy because i dont understand why the cpu behave like that.there is no logical reason for cpu going to max when i'm typing text.
its unbearable, cause its getting really hot while i hold it.
i have tried various kernels(elementalx, skydragon, faux, ionx, hacker kernel, but all of them shows that behavior.
on my old i9100, i never got that behavior, ondemand governor was perfect and i could reach 4 hours of screen on time.with the m8, i can barley pass it , going for 4-5 hours, because its draing too fast.
any suggestions?
*EDIT*
tried a factory reset, and i just installed xposed with cpufreq status bar module, and the device is still going nuts.WTF?
Can I ask... are you sure this is abnormal? I mean, are you seeing ill effects? Is the device laggy? Is your screen-off battery time awful?
All OS's do stuff in the background, and "idle" doesn't really mean anything at all to be honest -- even when you "don't have any apps running" there are apps running, and you'll always see the CPU cycle from idle to low speed to high speed if you're looking for it.
thebobmannh said:
Can I ask... are you sure this is abnormal? I mean, are you seeing ill effects? Is the device laggy? Is your screen-off battery time awful?
All OS's do stuff in the background, and "idle" doesn't really mean anything at all to be honest -- even when you "don't have any apps running" there are apps running, and you'll always see the CPU cycle from idle to low speed to high speed if you're looking for it.
Click to expand...
Click to collapse
i know there are background process and apps, and i don't except the device to stay at 300mhz all the time, but its quite annoying to hold on to a device and feel its temperature rising to insane levels without doing anything fancy with it.just texting.and every touch ramp the cpu to the max frequency, its weird.and unnecessary.
i don't know if its normal behavior, as i mentioned, my old i9100(galaxy s2) would not act like this. and i could get 4 hours of screen on time, and here, i get 4-5 hours max.it dose not seem logical.
I'm not using lte of nfc or BT.my reception is full(both wifi and cell).
i just want to know if this a normal behavior? anyone else having this heat buildup on light use?
I have a similar problem there on M8S. I killed half the background tasks, disabled syncing, auto backups, and then I open FBreader(or any other app) at 30% brightness and all the cpu cores go to 50 degrees C, heat up my battery to 43 degrees C. It results in loss of 40% of battery charge in just an hour. With screen off my device usually consumes 1-2% an hour. Whatever I do, I have never seen at least one core sleeping, they always work at 600-900MHz.

Categories

Resources