Hi does any one knows what is consuming my battery ? I have turn off WiFi put into flight mode install greenify and such but my battery life is still taking a beating.
ROM - Mokee 4.4.4
Kernel - latest xposed
Something (a background process/app/service) is constantly keeping the phone awake (doesn't let it to go to deep sleep state).
Try installing BetterBatteryStats and check wakelocks to see what's causing this.
Sent from my XT1080 using XDA Free mobile app
Uninstall unusual apps and games because many games keep running in background.
Also you can install apps like Wakelock Detector from playstore which will provide you more information about the service that is using battery power.
Related
hi, i have an htc sensation 4g running cm10 jelly bean rom and i wanna know how to put my phone on deep sleep. im on bruce kernel 3.0.49. can some1 please help?
I believe the device should automatically go into sleep mode when not in use. I don't believe you have to do anything for this to occur. Make sure none of your applications are running on there own.go to settings, apps, running apps and see what's running. Leave system apps alone however if other than system apps are running you can close these apps. Just press on the app and a menu will pop up. The running apps other than system apps could prevent deep sleep. Make sure you don't shut down ANY system applications that are running. Those should be fine. Hope this helps. Best wishes.
Sent from my HTC Sensation using xda premium
If you're a little adventurous you can check out the Q&A thread about Bruce's ROM. Skipjacks and Tobitge have put together a list of processes to kill using system tuner (I think). The wakelocks are a known issue and perplexing to say the least. I am beginning to wonder however how big of battery drain they really are... I'm having pretty good results despite them.
realsis said:
I believe the device should automatically go into sleep mode when not in use. I don't believe you have to do anything for this to occur. Make sure none of your applications are running on there own.go to settings, apps, running apps and see what's running. Leave system apps alone however if other than system apps are running you can close these apps. Just press on the app and a menu will pop up. The running apps other than system apps could prevent deep sleep. Make sure you don't shut down ANY system applications that are running. Those should be fine. Hope this helps. Best wishes.
Sent from my HTC Sensation using xda premium
Click to expand...
Click to collapse
does it improve battery life tho?
Yes it would if they could improve the wake lock situation. Check out as above thread suggested, they possibly know of a fix! Also have you considered a extended battery? Extended battery really helped my battery issues. But in this case it sounds like a known issue with something in the rom causing wake lock
This is where your drain is coming from. Check out the fix above. See if it helps.
Sent from my HTC Sensation using xda premium
hardball 45 said:
If you're a little adventurous you can check out the Q&A thread about Bruce's ROM. Skipjacks and Tobitge have put together a list of processes to kill using system tuner (I think). The wakelocks are a known issue and perplexing to say the least. I am beginning to wonder however how big of battery drain they really are... I'm having pretty good results despite them.
Click to expand...
Click to collapse
This only helps with some specific Google Services wakelocks. The Android framework is causing some other wakelocks through the AlarmManager service (Not the same as the alarm clock). These wakelocks have proved very elusive to destroy.
The modifications to the google services framework that Tobitege and I worked out do seem to have some impact on battery life. But if you are a big user of Google Now or GTalk, these modifications are not for you as they break both of those services (mainly because those 2 services were 2 of the 3 main causes of Google wakelocks)
The thing with the battery drain because of these wakelocks is that they drain the battery during sleep, but that drain isn't being properly reported in the battery stats (this is an electrical physics problem related to how a slowly discharging power cell can give a false reading of voltage, not a software problem). So you'll have the phone in sleep for 3-4 hours and it will show no discharge despite constant wakelocks. But us the phone for 10 minutes and the battery quickly drops 15%. In reality it drained that 15% during sleep due to the wakelocks. The battery stats just weren't showing it right away.
Bruce did make some tweaks on 10/27 that have improved the Android inspired wakelocks noticably. But they are still there.
I've been playing around with some 4.4.2 nightlies (Slim, PA, CM, Gummy, OSE, etc) and I've noticed that all of them have some battery stat issues.... the stock battery app is registering the phone as awake 100% of the time (verified with other apps as not accurate)... and secondary battery apps like GSAM, BBS, WLD, all show odd information. GSAM (companion installed as system app) shows the correct totals for a module's total "held awake" time, but the actual wakelocks all have the same count and time (which all add up to the overall total... it's guessing). WLD also shows (totals are OK, but individual stats are junk). BBS isn't/can't filter out the zero'd stats and some of those stats are shown in such a way that it looks like it lacks some specific information and is trying to fill in the gaps.
I know Google messed with battery stats a bit to lock them down... I've installed the GSAM companion as well as the Xposed module to open them back up again. But this doesn't explain the STOCK battery app's problem in getting accurate results.
Anyone else see this? I've been trying to track down a wlan_ctrl_wakelock problem when I load 4.4.2 ROMs, but without the granular power stats, I really can't see anything of use (and what IS there, I can't really trust).
Is this just a case of things being too new with KK?
I'm on cm11 12/21 and ever since the battery stuff was changed back around the 12/16 nightly things have been weird. My stock battery app shows zero awake time, but GSam and BBS show the correct wake times (also have GSam companion and Xposed module for KK battery stats).
The problem appears in those apps when I try to see partial wakelocks - they're all ridiculously low, like 15 seconds with a 20 hour uptime. BBS says all the wakelocks are kernel wakelocks, buy when you check those it's all just PowerManager wakelocks, which are all the partials lumped together
For a wlan_ctrl_wakelock you can try the app Network Log - if you're getting those wakelocks, you'll see a lot of packets bouncing around from your phone to your router, or other traffic on the router (specifically if the kernel is sending/receiving a bunch of packets)
Sent from my SCH-I535 using XDA Premium 4 mobile app
scorchedsky said:
I'm on cm11 12/21 and ever since the battery stuff was changed back around the 12/16 nightly things have been weird.
Click to expand...
Click to collapse
Pretty much. I just loaded a nightly from last night... battery stats got fixed in the base code from the looks of it.
Thanks on the logging app... going to give it a look.... might just be a simple adjustment in my network, I hope.
There is more drain than 4.3 roms, but I'd venture to say it's related to coding of the device to the framework and it will improve as the roms advance. Wakelocks are the main culprit so get Better Battery Stats and see what's keeping the device awake.
For wlan, turn off wifi scanning in advanced wifi options.
3 screenshots from 3 different days with no apps running in the background, I cleared it before going to sleep. Help please?
Sent from my SM-N9005 using XDA Free mobile app
jtomas10 said:
3 screenshots from 3 different days with no apps running in the background, I cleared it before going to sleep. Help please?
Sent from my SM-N9005 using XDA Free mobile app
Click to expand...
Click to collapse
Tap and show the info about Android OS battery usage. Usually if keeping the phone awake can be solved by rebooting the phone.
jtomas10 said:
3 screenshots from 3 different days with no apps running in the background, I cleared it before going to sleep. Help please?
Sent from my SM-N9005 using XDA Free mobile app
Click to expand...
Click to collapse
Without root and a lot of advanced tweaking there is only one simple thing you can do - turn off WiFi and Mobile Data before you go to sleep. Eventually as an even bigger step you can also go to Airplane Mode but obviously you will not be able to take any phone call. See what battery drain you get under those conditions.
Thank you! Thought I had to unroot my phone. Already tried rebooting but did mot work but O tried factory reseting my phone and solved the problem.
Try my battery saving thread here - http://forum.xda-developers.com/showthread.php?t=2579075
It has helped many. It could help you too.
jtomas10 said:
3 screenshots from 3 different days with no apps running in the background, I cleared it before going to sleep. Help please?
Sent from my SM-N9005 using XDA Free mobile app
Click to expand...
Click to collapse
1st picture
i think dropbox is eating up your battery
2nd picture
your mobile network signal is weak, this could be the culprit
3rd picture
same as above
post some wakelocks. Otherwise this is useless.
The 1st picture it's obviously dropbox. In the other two, who knows. without wakelock stats this thread is useless
Worth rooting...
If you root go for :
- Wakelock Detector (find out exactly what caused the drain: screen / cpu)
- Greenify (hibernate apps regularly)
- ROM Toolbox Pro (disable startup and other related intents)
Since I did (I stayed on stock) : I don't have to worry about charging during the day + all lag is gone (even with 500 apps and >100 more frozen).
wakelock detector works just fine without root greenify partially
Turn off the wifi
Been trying to squeeze out some battery life on my S4 running goldfinger kitkat ROM. No matter what I do, I seem to get a bunch of wakelocks, radio/wifi turning on, etc. What I would like is to be able to totally disable everything when the screen is off (with the exception of incoming calls/texts) and then sync when I wake the device up. I'd also like to have a whitelist for apps like slacker/pandora/music. I've tried wakelock detector, greenify, and DS battery saver (these are the ones I've found most useful). Of the three, DS battery saver seems to be the best at shutting everything down, but doesn't have a whitelist feature, and requires a reboot to toggle. Greenify and wakelock detector require you to know which apps are waking your device. This is OK for the big culprits on my device (FB, google play, exchange services), but I still get random wifi/gps/other wakeups. This is likely just the result of having a bunch of apps that want to phone home, even if each of them does it rarely. Again, it would be nice if they could all do it at once. Any solutions?
you can use greenify, it can turn off apps when your phone is off.
Please let me know if you find such app. For now I'm using Greenify, Wakelock Detector and for some time a new Xposed module: Unbounce.
A little more experimenting. Seems that DS battery saver is the best for what I want, which is a sleeping phone except when I'm using it. All the other apps require that I put a certain app to sleep, rather than have everything asleep by default. My phone then gets random wakes, even though there isn't any one single misbehaving app that I can find. DS saver can be turned off temporarily through the notification bar for when I'm using music services in the background without rebooting. Using DS battery saver on "aggressive", I average about 0.6% drop/hour, with 3 minutes awake time/hour. I think that's OK, but not sure if I can do better (like no awake time/hour). I'm wondering if the awake time is just due to cellular traffic. Hmm, maybe I'll see what it looks like in airplane mode.
Hi,
I am not sure if this should be posted to specific forum for my Moto X. If so, please let me know.
The battery drains very quickly. I used CPU spy and it showed that phone never enters deep sleep, even though I barely uses it.
How could I found out which application is preventing the sleep?
Thanks
Like Sewrizer said, search for a wakelock detector on google play store and lock your screen for some time
It should show you which app is causing this problem
I have Moto X with 4.4 and no root. It looks like Wake Lock Detector would need root on 4.4. Is that right?
Thanks
betterbatterystatus is also a good app that helps with analysis of battery drain.
Anyway in the case you know you only need to check wakelocks, but I would still recommend BBS for you (of cource, BBS can analysis wakelocks as well)
@redhonker
BBS did not work in 4.4.4 in non rooted mode.
It happened to me on Moto g. Some culprit app drained battery. So i used DS battery and greenify together.
DS battery- Slumberer mode (This forces deep sleep i guess)
Greenify- Allows you to shut down nonsense background apps.
Now phone is back to normalcy. Again CM battery doctor listed some music app as "Fast draining" I uninstalled some.
As general advice:
Disable auto sync and poll frequency of your email and other apps and get back your motto x. Enjoy
Press Thanks if helped.
Sent from my XT1033 using XDA Free mobile app
I thought greenify needs root as well. Will try it.
This KitKat change is really bad. I don't know why they want to prevent users to know more about their battery usage.
What is CM battery?
Thanks
Greenify has a hack for non root. You can enable hibernate feature from home up button for screen lock pin enabled devices through experimental menu.
For non - pin screen lock devices go to experimental menu click "automated hibernation". This will enable hibernation after screen off.
I prefer home button scroll up menu for " hibernate + lock screen ".
CM battery doctor was previously KS battery doctor. I just use it to kill apps and know battery % left in status bar.
Remember no battery saver app is useful for non root devices because ability to control is much lessor.
Rooted battery savers can limit cpu usage, kill apps and prevent again from Android picking up.
Greenify an exception beyond 4.0 devices.
Sent from my XT1033 using XDA Free mobile app
This post will benefit all not just @OP
To identify bg apps that suck your internet and battery just install No root firewall and check access log. Uninstall those apps that keep pinging servers outside for adverts etc.
https://play.google.com/store/apps/details?id=app.greyshirts.firewall&hl=en
Eg: Nova launcher access advertisements on avg of 4/sec. Do decide which one is best for you.
You can even control system apps like Motorola updates etc.
DS battery saver
https://play.google.com/store/apps/details?id=com.rootuninstaller.batrsaver&hl=en
Greenify
https://play.google.com/store/apps/details?id=com.oasisfeng.greenify&hl=en
CM/KS battery doctor
https://play.google.com/store/apps/details?id=com.ijinshan.kbatterydoctor_en&hl=en
As you see CM reports higher battery available time than DS battery saver.
I suspect former (CM) is more publicity driven and not sure about its performance. While DS is good.
Please press THANKS if interesting. Sent from Moto G-od via xt1033 free Android app.
One more way to analyze usage
1. Press following
*#*#4636#*#*
2. Or download phone testing app which does the above for you
https://play.google.com/store/apps/details?id=diewland.testing.phone&hl=en
3. Click "Usage Statistics" -> "Usage time"
This does not require memory intensive app or root as it comes pre installed on your phone. Enjoy.
Please press THANKS if interesting. Sent from Moto G-od via xt1033 free Android app.
I run Mobiwol and block all apps I don't think need internet access. Plus AdblockPlus to remove advertisement trafficc. (I wish I have root then I need only one app).
Without root on 4.4, how much these can do?
I installed GSam. The frustrating thing is that most of application usage is by Android System and Kernel: 9 and 5 out of 34.
Thanks
Thanks for all the pointers.
With a few tries with GSAM, I was able to identify 2 rouge applications. Surprisingly, one is Google+. Since I don't use it, it's uninstalled.
I also recently moved to a different spot in office. The data signal apparently is bad from time to time. So I used llama to turn off data in office and wake up every 10 min to check for message.
This allowed me to go through the day without a recharge. Still not happy about battery life but that's ok for now.
Thanks
Try the Deep Sleep Battery Saver app mentioned earlier. Should solve your issue, since it forces deep sleep!