Hello. I have compiled my own build from source 4.1.2_r1 using the binaries from JR003R. My phone will not deep sleep with stock or custom kernels. Curious if anyone has had any issues with this? Thanks
flyinj54 said:
Hello. I have compiled my own build from source 4.1.2_r1 using the binaries from JR003R. My phone will not deep sleep with stock or custom kernels. Curious if anyone has had any issues with this? Thanks
Click to expand...
Click to collapse
What does battery stats list as draining battery?
Swype'ed on my CM10 Galaxy Nexus
Using Gsam battery monitor. Shows 25% drain is kernel but also shows held awake @ 9%. Showing phone @ 4% with number of wake locks 389. Seems excessive. I'm not sure if held awake is when you are using the phone or what exactly that means.
Using LeanKernal as of right now 230mhz. Cpu spy shows 230mhz for almost all usuage with phone screen off and no deep sleep at all.
Edit: It has to be in my build. Flashed another users build and deep sleep works fine. Going to give another repo sync and fresh compile and give it another shot. Thanks
i'm running my own build as well and i dont have deep sleep issues, but naturally more testing is needed. bbs shows nothing to note and cpuspy also seems normal.
also, i'm not running straight stock kernel. sched sio/gov interactive.
used gcc 4.7. new kernel srcs havent been uploaded yet, afaik.
same apps that on JRO03R, just formatted /system and flashed.
sent from my i9250
Related
I've been going back and forth and trying to figure out what the issue is, but I'm wondering if anyone else is having Deep Sleep issues when using CM9 on the GSM Galaxy Nexus? I can restore my Nandroid of stock 4.0.4 with the UGLC1 modem and according to CPU Spy I have no problem going into Deep Sleep and having a high deep sleep percentage. I'm using the 20120518 CM9 nightly and I just can't seem to manage deep sleep. I went into CWM formatted /system, /data, and /cache. I then ran the jBroid kernel cleaning script and installed CM9. Did a factory data wipe and then booted it up. I didn't install gapps and used ADB to install CPU spy. So no google account or anything. I turned on WiFi, reset the timers in CPU Spy and left the phone alone for at least an hour. After an hour I had a sleep time of 3%. Any thoughts or solutions?
Is it staying fully connected. It might be disconnecting and reconnecting not allowing the phone to sleep.
Sent From My Sprint Galaxy Nexus via XDA Premium
Is there a way I can check this? This could be possible, but it seems like it should be causing stock 4.0.4 to never deep sleep and not just CM9. I might have to try CM9 with some different kernels and see.
duowing said:
Is there a way I can check this? This could be possible, but it seems like it should be causing stock 4.0.4 to never deep sleep and not just CM9. I might have to try CM9 with some different kernels and see.
Click to expand...
Click to collapse
It could be a bad flash. Redownload it and reflash wiping clean... data dalvik and formatting the /system. Then see what happens. If that doesn't work try the samurai kernel .
Sent From My Sprint Galaxy Nexus via XDA Premium
deep sleep cpu spy
I was having the same issue with CM9. I was showing 45% 350mhz 45% deep sleep on CM9 but when on stock I was deep sleep 80%+. I reset the cpu spy timers and now after 18 hours cpu spy time I'm back at 80% deep sleep.
Jeff
I've searched around and can't find anything. I have a Sprint Galaxy nexus running Franco kernel and I look and on cpu spy in "unused cpu states"
deep sleep is in there, i'm not sure how to do about enabling that, ive checked in the franco kernel updater program and don't see anything. I'm not sure what i'm doing wrong, tried a couple kernels.
Some app must be running in the background that doesn't allow the cpu to sleep, is this on a fresh install?
I can help you... I complained about this like no other. What ROM?
Sent From My Toro+ via RED Tapatalk
I too have this issue running the latest aokp jb night lies on toroplus
Sent from my Galaxy Nexus using Xparent ICS Tapatalk 2
Download BetterBatteryStats. It will help you diagnose kernel and partial wake locks.
Kernel wakelocks are caused (you guessed it) by the kernel. Flash another kernel.
Partial wakelocks are wakelocks that occur from Facebook or other poorly coded and rogue applications.
Note: Wake locks caused by the system also fit into this category.
Note: BetterBatteryStats can be downloaded here:
http://forum.xda-developers.com/showthread.php?t=1179809
Sent from my Galaxy Nexus using Tapatalk 2
infazzdar said:
Download BetterBatteryStats. It will help you diagnose kernel and partial wake locks.
Kernel wakelocks are caused (you guessed it) by the kernel. Flash another kernel.
Partial wakelocks are wakelocks that occur from Facebook or other poorly coded and rogue applications.
Note: Wake locks caused by the system also fit into this category.
Note: BetterBatteryStats can be downloaded here:
http://forum.xda-developers.com/showthread.php?t=1179809
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
It's actually not a wakelock. It's an issue with the proprietary applications required on CDMA phones. I realized this when I rebooted with airplane mode and my deep sleep instantly returned, but just as quickly disappeared when turning it back off. The fix for this "deep sleep" issue is quite annoying. Wipe clean and reflash your ROM only and gapps of course. Then boot up. Once finished boot back into recovery and fix permissions. Wipe cache and dalvik. Then flash your kernel and that should fix things temporarily. Every time you reboot things will reset. And the process of fixing permissions and such will need to be done again. If this doesn't work. I'd suggest using CM10 as I have only seen it present in AOSP based ROM's.
Sent From My Toro+ via RED Tapatalk
After upgrading to Milestone6 and running the latest CNA 3.6.6, my phone has HORRIBLE battery drain while in deep sleep. I have looked at startup programs, BBS, CPU spy and I can't find anything showing what is causing it. I reverted back to r284-test and everything is working smoothly and no issues. The drain usually happens on wifi (overnight ~30% decrease) I can't figure anything out.
Does anyone else have this issue? If so, anyway to fix it?
Thank for any help out there
AutomaticFailure27 said:
After upgrading to Milestone6 and running the latest CNA 3.6.6, my phone has HORRIBLE battery drain while in deep sleep. I have looked at startup programs, BBS, CPU spy and I can't find anything showing what is causing it. I reverted back to r284-test and everything is working smoothly and no issues. The drain usually happens on wifi (overnight ~30% decrease) I can't figure anything out.
Does anyone else have this issue? If so, anyway to fix it?
Thank for any help out there
Click to expand...
Click to collapse
try to wipe battery stats in cwm recovery
or
callibrate using battery callibrate apps in playstore
good luck
AutomaticFailure27 said:
After upgrading to Milestone6 and running the latest CNA 3.6.6, my phone has HORRIBLE battery drain while in deep sleep. I have looked at startup programs, BBS, CPU spy and I can't find anything showing what is causing it. I reverted back to r284-test and everything is working smoothly and no issues. The drain usually happens on wifi (overnight ~30% decrease) I can't figure anything out.
Does anyone else have this issue? If so, anyway to fix it?
Thank for any help out there
Click to expand...
Click to collapse
get gsam from the playstore, that should tell you exactly what it is
After some tinkering around, flashing new roms and such... I have come to find out it was Tasker. It has never done it before but I had a profile set to when "I come home, turn on wifi" It worked on the other roms, so I made no changes. It found it through the cell towers, but for some reason, it would turn my wifi on/off throughout. Removed that profile and inturn am using Llama for my location based issues. Seems to be working just fine now.
CNA'm using 3.6.6 + stable trinity 63, the battery is long lasting one and a half ...
Sent from my Galaxy Nexus using xda premium
Last night, around 2am, I unplugged my phone from the charger before i went to sleep (it had WiFi on) and now when I woke up and checked it at 1:30pm the next day, I had 35% battery left! WHAT!? checked battery stats and Android OS ate up 51%! with phone idle at 12%
anyone have any idea what's going on? I have everything except WiFi turned off, GPS, Location Services, Auto-Sync, Auto-Backup, everything. I also underclocked everything via cpu master and trickster mod. I greenified facebook, viber, skype and any other app that could potentially wake my phone from deep sleep.
I checked trickster mod, deep sleep was at around 5hrs with 162mhz at around 7hrs. don't have any screenies of those since I rebooted my device right after I plugged in the charger (helps with displaying correct percentage)
I've attached a screenshot. I've never seen that kind of downar plunge in my battery stats. ever. this is the first time it's ever happened.
I'll install wakelock detector and give it a few hours. I know my phone drains around 1%/hr while idle, maybe even less.
EDIT: I already started when I took the second screenshot. I forgot to take a screenshot of the rest of my battery stats. so don't mind the time and the difference in battery percentage.
that's kernel problem. I meet that problem before, while I'm using AK-kernel with Vanir ROM. Kernel make screen always on to increase respond for S2W and Double Tap to Wake, but also cause this problem. In Android 4.4.2 also have this issues ( Nexus 4 and Nexus 5 is an example, you can search Google for this ).
You can install Better Battery Stats to check wakelock issues, but you can't do nothing, unless you have to changed to another kernel
BIBUBO BCJ said:
that's kernel problem. I meet that problem before, while I'm using AK-kernel with Vanir ROM. Kernel make screen always on to increase respond for S2W and Double Tap to Wake, but also cause this problem. In Android 4.4.2 also have this issues ( Nexus 4 and Nexus 5 is an example, you can search Google for this ).
You can install Better Battery Stats to check wakelock issues, but you can't do nothing, unless you have to changed to another kernel
Click to expand...
Click to collapse
don't have S2W and knock on enabled on my kernel. I also tried those and their battery drain is nothing compared to this!
I've charged my device and now it's showing Google Search as the culprit. now looking for a solution.
vangeodee said:
don't have S2W and knock on enabled on my kernel. I also tried those and their battery drain is nothing compared to this!
I've charged my device and now it's showing Google Search as the culprit. now looking for a solution.
Click to expand...
Click to collapse
what's your kernel ?
BIBUBO BCJ said:
what's your kernel ?
Click to expand...
Click to collapse
Solid Kernel + Stock 4.1.2 with a few xposed modules. I've solved the problem. Had to completely turn off Google Now and blocked wakelocks from Google Play Services.
I'll give this 3 hours and see if it goes back to the 1%-1hr idle drain. Battery stats seems to have improved, I'll post my post-fix battery stats in around 5 hours just to check if the problem comes back.
aaaaaaaaaaand it's back. This time it's not Android OS but Google Play Services that's eating the battery up. I now get 2%/hr with this new problem.
I checked trickster mod and my phone is not entering deep sleep. checked wakelock detector and it showed GCMSEND as keeping the phone awake. (1h 52m out of 2h)
Anyone know a fix for this? I've currently filtered it in Wakelock Terminator and I'll see how it goes from there.
UPDATE:
22 mins in and phone is in Deep Sleep 84% of the time. filtered GCMSEND and added 2 lines to build.prop that supposedly improves deep sleep.
ro.ril.disable.power.collapse=1
pm.sleep_mode=1
Source: http://forum.xda-developers.com/showpost.php?p=46301722&postcount=2
Will leave it overnight to see if it stays this way.
yeah, noway to fix it because it was an issues of kernel.
If GCMSEND always running, you can downlod app called Disable Services, and Open it to disable some service in Google Play Store and another system app. Try it and will see if it's working.
Hello All
I recently flashed the CM12 release of Lollipop on my rooted LG Optimus G Pro E980.
Everything works fine. However, the battery drain due to msm_hsic_host is confusing to say the least.
This is supposed to be mobile network related, and I have read forums where people say that this goes away when the mobile network is shut. However, for me, I am at home and only using WiFi. The mobile data is OFF.
I went to sleep for about 8 hours and I woke up to find msm_hsic_host had using about 80% and the phone was only in deep sleep for less than 1% of the time.
The phone NEVER goes into deep sleep. Deep sleep contribution is only about 1% ! Why is this happening?
Also, NOTE that the CPU Frequency stays at 384 MHz for 90% of the time! In the picture, it shows as 69% because it was taken a few minutes after a reboot. What does this mean?
Battery Kernel wakeock screenshot: http://postimg.org/image/k6s0gl5s7/
Battery System Monitor screenshot: http://postimg.org/image/tq1pa1taf/
I have already hibernated Facebook, Skype, and another networking app. I am just lost. Why is the msm_hsic_host wakelock ON about 80% of the time?
Have you tried to disable google location services by setting it to GPS only? Disabling all sync? Also, try another CM build, or BlissPop.
xermit said:
Have you tried to disable google location services by setting it to GPS only? Disabling all sync? Also, try another CM build, or BlissPop.
Click to expand...
Click to collapse
Hi, Location Services was off. I turned off Sync and after 4.5 hours, msm_hsic_host is still at 87%.
My mobile data is off.
How to solve this?
To future readers;
I went back to my STOCK ROM on LG Optimus G Pro (LG E980 - Android 4.4.2) just to test this and the most remarkable thing happened.
The phone is mostly on Deep Sleep and msm_hsic_host is in 1%.
Therefore, I can conclude that the battery drain is a serious issue in CM12 (Android 5.0.2) ROM. Could some developers please take a look at this issue?
Here is the proof
Kernel Wakelock: http://postimg.org/image/e954b9kt5/
System Monitor: http://postimg.org/image/cstlt4hw9/
I am about to try Blisspop ROM 5.1 for LG E980 next to see if this issue persists.
I installed Blisspop 3.6 now (Android 5.1.1) - However, following the exact same steps for installing BetterBatteryStats v 2.1 - it just wont't work.
It says, successfully installed as System App. Please reboot.
After reboot, the app says, "This is a companion app to BetterBatteryStats. It was copied to /system and stays there to grant permissions that can only be granted to system apps. This app has no functionality at all. You may need to reinstall BBS to get access to the app."
I even uninstalled and reinstalled using the recovery ZIP.
Has anyone tested BetterBatteryStats ob BLISSPOP 3.6? Please help.
Regards
Have you installed mad Mack's modem? Battery drain is a major issue for lp5.0.2, reason why Google releases 5.1.1 to fix the battery drain problem. However, 5.1.1 is may be only slightly improves the battery life. If you can get your service to deep sleep, then at least you can conserve some juice and keep it cool. Otherwise your phone is going to stay hot most of the time.
hawkwind212 said:
Have you installed mad Mack's modem? Battery drain is a major issue for lp5.0.2, reason why Google releases 5.1.1 to fix the battery drain problem. However, 5.1.1 is may be only slightly improves the battery life. If you can get your service to deep sleep, then at least you can conserve some juice and keep it cool. Otherwise your phone is going to stay hot most of the time.
Click to expand...
Click to collapse
I have installed 5.1.1 with BLISSPOP 3.6. However, still the phone only gets to deep sleep 2% of the time. In my stock ROM (4.4.2), the deep sleep was on 80% of the time. I don't know why this is happening. This is very bad.
Could you please point me to "mad Mack's modem"? Which one to flash? Where is the link? Should this be done after installing Lollipop?
Even worse now BetterBatteryStats apk does not install on 5.1.1 Blisspop.
Regards
Unresolved
To future readers;
I finally managed to install Better Battery Stats and unsurprisingly, msm_hsic_host still dominates. 70%.
System deep sleep is about 2% of the time.
Does anyone know how to fix this?
zetret said:
I have installed 5.1.1 with BLISSPOP 3.6. However, still the phone only gets to deep sleep 2% of the time. In my stock ROM (4.4.2), the deep sleep was on 80% of the time. I don't know why this is happening. This is very bad.
Could you please point me to "mad Mack's modem"? Which one to flash? Where is the link? Should this be done after installing Lollipop?
Even worse now BetterBatteryStats apk does not install on 5.1.1 Blisspop.
Regards
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2854320
Check out page 1, it has some interesting tips on how to make your device go into the deep sleep. The link to madmack's modem is also in there. But before you begin, is your device e980? That modern is only intended for e980. So if you have something else, don't flash it.
hawkwind212 said:
http://forum.xda-developers.com/showthread.php?t=2854320
Check out page 1, it has some interesting tips on how to make your device go into the deep sleep. The link to madmack's modem is also in there. But before you begin, is your device e980? That modern is only intended for e980. So if you have something else, don't flash it.
Click to expand...
Click to collapse
I've done everything there. The modem in that thread is for CM10.2 and CM11 and the whole post is from 2014. Do you think it's normal to expect that to be compatible with the latest Blisspop ROM?
It works with cm12.x as well, I have seen many other cm12.x people use it as proof. Read the blisspop thread if you need verification. Though I have been told that it's optional on cm12 if your device can get deep sleep without it. As for me, it made my phone got that deep sleep I needed when I was using bp3.6.