[Q] Not entering deepsleep, cause of battery drain? - Galaxy 3 General

Hi,
I'm onto Kyrillos 5.2 and FUGUmod 2.4 beta 3 - 800 mhz.
I got setcpu OnDemand, 333 800.
I got Pimp my CPU , just lowered voltage to -100 on 333 and 800 mhz.
Everything was fine, battery life excellent, I was happy...
One night battery was on 60% in the morning battery 0% ?? No wifi, no gps etc..
Ok I didn't delete battery stats in Recovery so I did that and now should be fine I said...
Again massive drainage during night. Hmm maybe Tasker or some other stuff.
I disabled tasker and everything and downloaded powertutor and some other applications to check what is eating battery. I could not find anything suspicious.
Everything should be fine. I noticed in CPUspy that my phone goes 333, 800 but never hits Deep Sleep mode.
Is that the reason for battery drain? How to enable deep sleep mode, in Setcpu and Pimp my Cpu there is no option for that and I guess 83 mhz is not Deep Sleep.
Does anyone know what is going on?
I cannot recall my memory did I had deepsleep before in CPUspy but I think I did....
Services running :
3g watchdog
Tasker,
TaskManager,
Missed calls widget
Switchpro
Touchdown
Devicemanagement
Android core apps
DRM portected
SNS
SlideIt
There are no new application , these were before darinage.
Thank you!!!
edit: I think I played with setCPU and pimpmycpu that night problems started, but I think now everything should be fine but maybe it is not is device is not entering sleep, so how to enable deep sleep again if that is the problem?
edit2: Well I played with SetPCU, enable profile to go to 83mhz , and all of the sudden I could see DeepSleep in CPUSpy. Then I returned to 800 300, turned off profiles and now I got Deepsleep. dont know what happened, probably I set similar values with Pimp My CPU which messed something.... Pimp my CPU also has min and max so probably I messed something I think with changing settings there.
edit3: Great, Deepsleep is gone again, I didnt restart or do nothing. Just noticed phone does not goes to deepsleep again. Tried messing with profile, moving bar left right but no use... Now instead deepsleep i got 83 mhz .... when messed before I got deepsleep, now only 83 mhz.... All I did was turn on 3g ( now turned off), used vtok and thats it.
can someone explain what is going on here?
edit4: Vtok is preventing device to go into deep sleep, I killed service and now bam, I got deep sleep... great just great...

Related

[Q] x10 battery drain after stock 2.3.3 and cpu run 998 mhz all time

My x10 overheat now 48 degree celcius is normal temp n battery drain very fast. I also see that my cpu run all the time at 998 mhz this is not happen before 2.3.3 i dont use gps , wifi ,bluetooh 3g i have 2g network.plz help me friends!!!!!
i think it can make damage to your phone,update it again or flash it.
What are the programs consuming the battery in battery stats ? Do you have a huge photo and music library ?
CPU state
ultratoto14 said:
What are the programs consuming the battery in battery stats ? Do you have a huge photo and music library ?
Click to expand...
Click to collapse
Yeah, i have the same issue, i do have a huge library
From CPUSPY I saw my phone will either in deep sleep or directly hit up to 998...using WB TW GM rom BTW...
same here , cpu using only 998, 245 and deep sleep
same here. using pre-rooted stock. cpu spy shows that it mostly uses 998 and then deep sleep. 245 only a little, nothing else.
it makes phone heat up a little when using it and charging takes longer because of this. Even on wall charger.
I installed Wolf's ROM and took out all Timescape / Facebook / Twitter stuff ...
CpuSpy shows:
63% deep sleep.
29% 245
6% 998
No sync with Google, no Gmail built in App. I use K9 for 2 accounts refreshing every 15 minutes, my Image monitor widgets for every 30 minutes and Snowstorm for weather. WiFi was on all day (I've set no sleep policy). But was Sunday so not that much "work" (testing some app, etc).
Tomorrow I'll see.
hi there,i've got the same probleme,any solution ?

Deep sleep question.

Just one simple question. When phone is in deep sleep, the cpu's running speed is the min frequency I choose from the cpu settings or a default lower one?
I use smart ass 2 with min at 768 and max at 1516 . So in deep sleep my phone is running at 768?
Thanks in advance...
Sent from my Huawei u8800 using XDA Premium App
spirosbond said:
Just one simple question. When phone is in deep sleep, the cpu's running speed is the min frequency I choose from the cpu settings or a default lower one?
I use smart ass 2 with min at 768 and max at 1516 . So in deep sleep my phone is running at 768?
Thanks in advance...
Sent from my Huawei u8800 using XDA Premium App
Click to expand...
Click to collapse
Not 100% sure but freq is minimum as it can be. And if cpu is not used no metter is freq 10000MHZ or 300Mhz it uses almost the same power. But when cpu is in use freq is important to power usage. Freq management is good not because it lowers freq but because it lets use lower freq on things that is not require hi freq. so it saves LITTLE LITTLE BIT of power. In idle mode (deep sleep) no meter what freq is.
But i still don't understand the need of governor. It's good only in cases where you overclock cpu but if don't - i don't see why it should be used.
PS Use app called CPU SPY it shows on what freq your cpu is being used and how much of the time.
Thanks! I use CPU SPY and it says tha about 60% or more is in deep sleep, 15%-25% is at 768 and the rest higher, which seems to be a good thing. But my phone still lasts for about 10-15 hours with normal use.
So i thought that maybe my min 768 frequency drain a lot of battery.
To clear things up a bit I use latest oxigen rom+latest franco kernel+zram+Juwe ram script...
Actually deep-sleep state is a special state supported by your phone MCU. In this state, a lot of functionality (therefore a lot of logical gates) are disabled thus MCU consumes very low power compared to normal functioning states. The thing about a CPU/MCU is when it is running even if there are no work to do no code to process, it has to run some command. While idle it must run NOOP (no-operand / no operation) command or do something equally unnecessary like counting a not required number. But in deep sleep mode, MCU actually stops working except for core functions to keep your phone going on.
Think about it this way, in a normal working state, CPUs most basic functionality is to read a command from memory, execute it and proceed to the next command to continue. Thus, in an operating system or a single purpose embedded software, CPU/MCU has to execute a "do nothing" command when you have no job to give it. But even a "do nothing" command need all of the MCU/CPU resources to be kept readily available. If you're sure that you have absolutely no job for your MCU/CPU to do, what you can do is to tell it to go and sleep fr a while until you wake it up again. In sleep, MCU/CPU can shut down a lot of its support systems like math processing, external memory access, graphics related functions (if any), even IO outputs. Depending on your CPU/MCU, this means until an interrupt occurs or a special sub system wakes it up, most of the sub-systems within your MCU/CPU thus may be millions of transistors will not be working so, your CPU/MCU will not consume as much power.
In layman's terms, deep-sleep state is a special state that shut down most of your MCU in your phone, thus while crippling it by removing its ability to function, making sure that it doesn't consumes much power. So OS (Android) (with the help of some additional hardware) controls when your MCU will sleep and under what circumstances it will wake. So it shuts down the engine -so to speak- when you're not using it for long terms and saving fuel rather than leaving your car on idle.
Hope this helps..
Thanks t_d_z. That is also how I imagined things...
But what is wrong with my battery which today, for example, went 33% down in 5 hours with 68% (from cpu spy) in deep sleep, without wi-fi on.
As i said above, I use latest oxigen rom+latest franco kernel+zram+Juwe ram script+smarass2 governor...
I also calibrated my battery by wiping battery stats, like i read in a post.
I have read in an other forum that if you use smartass (I use smartass2) or ondemand (I think...) governors, the governor is learning your habits and after a week you see the difference. Is that true?
Finally, can you guys who have "good" battery life, post your settings? (By settings I mean: rom, kernel, governor with cpu parameters, how you use the phone and everything else you think is important).
Thanks again...
I get about two days of battery life. I use Oxygen without any modifications. CPU is min. 245 (or something like that with 200, I dunno now) and max. is 800. Wifi is always on when I am home.
Try installing Oxygen-r1 and use it with a full battery, do not change anything and do not install too many apps. There will be apps that just won't stop running (like BBC or CNN app), I do not install those. Then you will see how long your battery lasts. If you just write some messages throughout the day and call somebody for 1-3 hours you should get about 2 days.
Then install your apps and test it again - maybe your apps are the problem.
spirosbond said:
Thanks t_d_z. That is also how I imagined things...
But what is wrong with my battery which today, for example, went 33% down in 5 hours with 68% (from cpu spy) in deep sleep, without wi-fi on.
As i said above, I use latest oxigen rom+latest franco kernel+zram+Juwe ram script+smarass2 governor...
I also calibrated my battery by wiping battery stats, like i read in a post.
I have read in an other forum that if you use smartass (I use smartass2) or ondemand (I think...) governors, the governor is learning your habits and after a week you see the difference. Is that true?
Finally, can you guys who have "good" battery life, post your settings? (By settings I mean: rom, kernel, governor with cpu parameters, how you use the phone and everything else you think is important).
Thanks again...
Click to expand...
Click to collapse
Look not at cpu spy but in battery usage to find out what drains your battery. And i can tell All roms are kinda lame in terms of battery, except CM7. In deep sleep it takes about 7% of battery in 10hours. I tried all roms but non of them was so efficient. But latest franco kernel (which i think even more improves cm7 rom) does not support cm7 right now, so i've attached older version if you would like to test cm7+franco kernel.
With normal usage of 50 sms and 30minutes of calls and sometimes wi-fi to download few apps and 20minutes on easy games my battery lats about 18hours. Whan only sms it lasts 30hours. depends how long lcd is on
Well, I'm not an expert on smart phone OSes but I'm an expert on embedded systems and micro controllers. If the designers are not really stupid (which I'm sure they are not) all the peripherals gets suspended when the main CPU goes to deep sleep mode. So, it is almost impossible for the phone to consume much power in deep sleep state. Most likely your phone consumes that power the rest of the time when it is not in sleep mode. I agree with Tommixoft, you should use battery usage info rather than CPU spy to find what drains your battery. Also, here is a quick check list about what consumes power :
1. Screen, especially when it is brightly lit
2. GSM network (Even when you're not talking to phone, GPRS/Edge/3G network communications drains almost as much power)
3. Wireless network
4. GPS
As an additional note, if your phone is not going to sleep mode regularly try to uninstall applications that have "prevent phone from sleeping" security setting.
Hope this helps, and of course there are a lot of more experienced people in the forum that knows about the details of the kernel so they might provide additional info.
Regards,
---------- Post added at 05:15 PM ---------- Previous post was at 05:10 PM ----------
Oh I forgot to tell the MOST important thing, 768MHz is way too high a value to set as minimal frequency. Try to set it 245. I use 122 MHz and it work pretty well. Don't forget, when you need the CPU power, the governor will provide it for you.

How to find apps keeping device awake?

Okay so, most people are saying that ICS Aurora battery is awesome.. clearly not my case.. After opening up CPU Spy, I noticed that phone was on for over 40 hours, and only in sleep mode for 24hours (64 hours: 41 mins uptime).. so it was mostly awake.
Now, I would like to find the culprit of this... my question is.. how can I? Is there anything that will show me how which app is keeping my phone up running at 368Mhz instead of Deep Sleep?
I have BetterBAtteryStats... but can't make sense of the things.
Thanks.
after battery charging routine the phone keeps wroking in lowest frequency and does not enter deep sleep.
If you reboot after recharching you will see that deep spleeps like a baby.
Its annoying I know but it works and I don't know any other way.
Never heard of the problem before. Thanks.

[Q] Battery drain in deep sleep

Hello,
I have a rooted stock nexus 7.
I have the following situation:
I turn the screen off and leave it for 30 minutes. Using better battery stats and cpu spy I verify that 28 minutes were deep sleep and the rest around 200-340mhz.
When I check batter monitor widget (set at refresh once every minute) i see that I have around 343-156 mah drain in all those 30 minutes.
I even forced my cpu frequency when screen is off to 51mhz and by using cpu spy verify it is indeed true. When checking with battery monitor widget I still get values around 343-156 mah. Also tried to force at 100, 240mhz - still the same values.
Wifi, gps, bluetoth, nfc is off.
Partial wakelocks are (sumed all of them) 3-4 minutes total.
Anyone has any ideas regarding the source of the problem ?
Thank you !

GCM_CONN killing battery

Just wondering if this is normal.
Betterbatterystats has these two wakelocks absolutely killing my battery: GCM_CONN and GCM_CONN_ALARM
These account for 98% of the wakelocks on my phone.
I'm not even sure what they do but my CPU is always stuck in 300 Mhz 98% of the time even overnight. I get about 5-6% drain overnight because my CPU doesn't go to deep sleep mode. CPU Spy says that it is in 300 mhz 98% of the time.
I'm not really sure how to fix this or what I need to disable. Any ideas?

Categories

Resources