Related
Over the last few months I've notice when looking at my battery stats that google maps uses 98% of my battery. The other few % being phone idle. The thing is I restarted my phone and never opened google maps since the last charge. Also Advanced task killer shows google maps as not running.
So why is google maps using all my battery life? My phone only lasts about 24 hours with little to no use. Before I could go a 2.5 days with the same usage.
Whats going on here?
My phone is rooted and I run cyanogenmod (lastest version [15])
Thanks.
i also have the same problem. i cant even last the whole day. from 6 i unplug at 100% and i go to school. with barely any use. and at around 5 -7 its at like 6 percent.
If you're using his most recent rom, this is old news, everyone has the drainage issue. Go dl another rom if it really bugs you that much...
So, Cyanogen is running Google maps constantly which is draining my battery? How accurate is the battery usage stats?
Try turning location services off. In the settings uncheck "Allow google to know your location"
People have been saying to do this. http://wiki.cyanogenmod.com/index.php/Troubleshooting#Battery_recalibration
pratikworld said:
Try turning location services off. In the settings uncheck "Allow google to know your location"
Click to expand...
Click to collapse
I did that along time ago. I only have Bluetooth/Wifi/GPS on when I need it, and for my testing in this thread, they have all been off. I've had "Allow google to know your location" uncheck since I've owned the phone.
Hey folks,
I was running CM 7.1 RC1 with no problems other than the occasional Sleep of Death. But I recently updated to 7.1 and now my Nook dies in one day from about 50% battery without any use, (this has happened twice)!
I'm recharging it now so I can't check my settings but maybe I need to reset my Wi-Fi sleep policy? I wiped Dalvik Cache when I did the update but nothing else. Anyone have any ideas?
Check the battery usage stats and see whats draining your battery.
edit: settings>about tablet>battery use
you can also check spare parts.
joenathane said:
Check the battery usage stats and see whats draining your battery.
edit: settings>about tablet>battery use
you can also check spare parts.
Click to expand...
Click to collapse
Just checked battery usage and Wi-Fi is 85%.
Looks like I needed to redo my Juice Defender set up.
I always run my Nook with wifi off until I need it.
patruns said:
I always run my Nook with wifi off until I need it.
Click to expand...
Click to collapse
Same. With the notification bar Widgets it is easy to do.
Sent from my NookColor using xda premium
If you are running a wifi widget, I suspect it will cause additional battery drain. I used to have WiFiWIdget (2K-Group) running and I felt that it caused excessive drain. I have since removed it since I ran 122N and 7.1 and have not had excessive drain nor SOD.
Juice Defender seems to be acting a little funky so I went ahead and changed the Wi-Fi policy in Spare Parts. Seems to be working fine now.
In the settings menu for WiFi, I just choose to either have wifi turn off when the screen goes off or leave it on while plugged in. I've never had a problem with waking up the Nook and it automatically reconnecting to my WiFi.
Alright I hate to ask this question, but my searching and reading is not leading anywhere. I recently upgraded to GB (Illuminance with Corn) and I'm loving how fast my phone is. The only problem I notice is how fast my battery drains while on WiFi (Wireless N with WPA2).
Example: I was at my parents house for 2.5 hours, but didn't bother turning wifi on. I only lost a few %. Once I got home, I kicked on the wifi and within an hour I lost 20%. It appears that when wifi is turned on it is almost constantly in use. I checked for rogue apps and data usage and found nothing. The only thing I notice is that every 5 seconds (yes, I actually timed it) it is polling for new networks.
After doing some reading I checked and the build.prop mods are in there (wifi.supplicant_scan_interval).
Any suggestions on where to go next?
Recap of phone config:
Rom: Illuminance 3.01
Kernel: Corn 7.06
Modem: KK4
Yeah...I've noticed that the build.prop tweaks for wifi scanning don't actually seem to change the scanning interval on gingerbread ;/
Try going to, Settings> wireless and networks> wifi settings> menu button> advanced> set wifi sleep policy to "when the screen turns off"
That'll help while it's asleep.
studacris said:
Settings> wireless and networks> wifi settings> menu button> advanced> set wifi sleep policy to "when the screen turns off"
Click to expand...
Click to collapse
+1
I switched my ROM from Apex to Illuminance to test a theory that this functionality would work as it had in the past on Apex ROMS. For whatever reason kernels/framework were swapped in a newer version of Apex that killed this very helpful functionality. Once I switched to Illuminance and enabled the functionality, it works again and I get 2+ days worth of battery life with moderate usage (rarely a video/music played, but I do a lot of browsing and email usage/fb/twitter usage is high).
It drove me nuts on Apex trying to figure out the issue. I had thought my settings.db files that control the wifi functions had gone corrupt and the dev ignored any requests for assistance.
Glad I made the switch.
studacris said:
Yeah...I've noticed that the build.prop tweaks for wifi scanning don't actually seem to change the scanning interval on gingerbread ;/
Try going to, Settings> wireless and networks> wifi settings> menu button> advanced> set wifi sleep policy to "when the screen turns off"
That'll help while it's asleep.
Click to expand...
Click to collapse
That was the first thing I noticed. The ROM defaulted to Always On. I changed that the first day. Unfortunately, I still have the issue. As it stands, I only get one day at most out of my charge. The only thing I let sync is the gmail account. I mostly browse and talk less than 1 hour per day.
I'll try to do a more statistical approach when I get a chance. I'll see about taking readings ever half hour with the wifi on and no other use.
I was under the impression that if the phone downloads data over WiFi it actually uses less battery than if it downloaded data over 3G. When I'm at home, I leave my WiFi on intentionally when my phone is asleep so that my incoming email is more efficient since I have WiFi available.
Am I wrong here? Just curious if I've been mislead all this time.
I don't think you're wrong. That is why I always use wifi at home. I think I found some errant scripts that were running and causing the excess battery drain. I have taken those off.
I'll probably master clear and reload when I'm no longer on call this weekend just to make sure I got everything.
I'm opening this thread to clean up the Dev thread, since the most probable cause of battery drains are software/configuration related.
Here's my own experience with this matter.
Most of the drains I've seen are related to Location settings and Google Now. It seems Google's Location Reporting and Location History keep pinging WiFi for the location at a fairly high rate, so keeping the phone Awake and/or the WiFi running all the time. An usual indication of this is that in BetterBatteryStats you get:
1) Screen On % very low
2) WiFi On 100% of the time
3) WiFi Running 100% of the time.
4) Awake with moderate-to-high %.
To test it, here's what should be done:
1) Get BetterBatteryStats (BBS), enable Root, install it as system app (in advanced settings). Reboot.
2) Disable WiFi and GPS completely, preferably leaving Data Network also off. You may go all the way and just turn on airplane mode.
3) Leave the phone idle for at least 1h and check that there is no battery drain.
If you get any considerable drain (more than 5%/h), check Kernel Wakelocks and Partial wakelocks, or try again with 2G networks only. You may have a baseband problem. Consider this step as your "control group" as it ensures nothing in the hardware or in the ROM is wrong.
If there is no drain, enable WiFi and GPS again, but make sure all this settings are UNCHECKED:
1) Settings->WiFi-> Advanced: "Network notification", "Keep wifi on during sleep" set to "Never", "Scanning always available".
2) Settings->Location->Google Location Reporting: "Location Reporting" set to off and "Location History" set to off. Or just disable Location completely.
3) Check Settings->Security -> Device Administrators -> Disable at least Android Device Manager. If you can, disable everything else in this screen, such as Airdroid, Cerberus, etc
4) App drawer -> Google Settings -> Search -> Set Google Now to Off. You can also configure Android Device Manager here.
Leave the phone idle again for 1h and check BBS. In theory you shouldn't need to recharge completely, just enable the watchdog in BBS. Always check the wakelocks too.
You should get this on BBS:
1) Screen On % very low
2) WiFi On 100% of the time
3) WiFi Running with low % (anything less than 50% is ok, depending on Sync settings and background apps)
4) Awake with low %.
5) Deep Sleep with almost 100%
Go back enabling stuff as needed, one by one, leave the phone idle and check BBS. Rinse and repeat until you find the culprit.
One thing, make sure you do this after letting the phone sync some of the stuff. Don't do this immediately after a setting up a Google account.
Some people also reported that doing a factory reset solves the drains. It's always recommended anyway.
Any other hints are also appreciated.
For people with trouble making BBS work, Try getting the latest version, enable Root in Settings->Advanced and them System App, also in Settings-> Advanced.
Also:
1) When the phone is charging it WILL BE AWAKE WITH BOTH CORES, ALL THE TIME. Depending on the governor used, both cores may even stay at full speed (aka 1GHz). This is BY DESIGN and stock ROMs does that too. So any measurement while the phone is charging is useless.
2) Most "calibration" procedures are myths and don't have any effect. Erasing batterystats.bin also does nothing to increse battery life or remove drains (but may solve some charging issues, still unclear).
Very interesting.. Good thread and good options to test our battery drain ! thanks for the post.
I'll try this when I get home from school, thanks.
Weird thing happened last night, I thought the battery drain was gone when I recalibrated, but my phone discharged over night, weird thing is my settings show the phone didn't go to sleep once during the entire night, even though it was on airplane mode and I had already used it for like 3 or 4 hours with no apparent brain
There is a lot of battery drain only when WiFi in on. Even if the phone is idle.
I'm on:
Maclaw CM 11.0 [20131210]
I8190XXAMJ2
I'll do the exact tests and post my results.
Do you get notifications with wifi set to never during sleep?
RodHQ said:
I'll try this when I get home from school, thanks.
Weird thing happened last night, I thought the battery drain was gone when I recalibrated, but my phone discharged over night, weird thing is my settings show the phone didn't go to sleep once during the entire night, even though it was on airplane mode and I had already used it for like 3 or 4 hours with no apparent brain
Click to expand...
Click to collapse
Use the 1st step I wrote above with BBS. Check Kernel Wakelocks and Partial Wakelocks. You will be able to pinpoint exaclty what is keeping your phone awake.
I was about to start a thread on the same topic but my problem is with Carbon Rom 4.4.2 . The phone never goes into deep sleep and is awake 100% of the time. I'm attaching what I see as the culprit in B.B.S. I already disabled sync and yet the wakeclocks are sync related I hope anyone can help me with this.
i just changed to peagusq everything is fine
BBS How-to
ArtCar said:
I was about to start a thread on the same topic but my problem is with Carbon Rom 4.4.2 . The phone never goes into deep sleep and is awake 100% of the time. I'm attaching what I see as the culprit in B.B.S. I already disabled sync and yet the wakeclocks are sync related I hope anyone can help me with this.
Click to expand...
Click to collapse
Maybe BBS How-to will help you
http://forum.xda-developers.com/showpost.php?p=15869904&postcount=3
If not than post screens and collected dumps on BBS thread
gimme link to maclaw 4.4.2 for s advance
Sent from my GT-I9070 using xda app-developers app
Link
Here you are
http://maclaw.pl/downloads/
same here
eswarvf said:
i just changed to peagusq everything is fine
Click to expand...
Click to collapse
+1
ArtCar said:
I was about to start a thread on the same topic but my problem is with Carbon Rom 4.4.2 . The phone never goes into deep sleep and is awake 100% of the time. I'm attaching what I see as the culprit in B.B.S. I already disabled sync and yet the wakeclocks are sync related I hope anyone can help me with this.
Click to expand...
Click to collapse
Notice that the Count is 0 on both GoogleServices related wakelocks. To me this seems that Chrome and something else (maybe G+?) are trying to sync (perhaps the first one?) but are not getting enough network time/bandwidth to do so. I suggest you connect to an wifi, turn on the sync, and leave the phone awake for a while (try not to use the network very much). See if that solves. If not, backup and factory reset are your friends.
rcoacci said:
Notice that the Count is 0 on both GoogleServices related wakelocks. To me this seems that Chrome and something else (maybe G+?) are trying to sync (perhaps the first one?) but are not getting enough network time/bandwidth to do so. I suggest you connect to an wifi, turn on the sync, and leave the phone awake for a while (try not to use the network very much). See if that solves. If not, backup and factory reset are your friends.
Click to expand...
Click to collapse
I fixed my problem by switching back to dalvik and now my phone only looses about 5% battery overnight.
Hello everyone, there are many, many threads for our phone, so it is basically impossible to properly search and see if this question has been asked before and so here it goes.
I've tried many roms for my device (I call it Sir Hangsalot), and I have noticed that on almost every rom there is a huge issue for my device to keep itself in a deep sleep state when the WiFi is on. The ratio is approximately 70/30% awake vs. deep sleep (I am talking when the screen is off and the phone is not being used). Then I have tested with the WiFi off (mobile data still on, it is always on since I have an unlimited data plan) and the phone enters deep sleep as usual, but this time it stays in deep sleep and battery is discharging properly. From the moment I switch on the WiFi the same behaviour emerges again. This is the last night's situation. New battery (1 month old, 1700 mAh), fully charged at 1 AM, at 7 AM 54% left with the WiFi on. The night before, same conditions, WiFi off and mobile data on, at 7 AM 91% left.
So, my question is: what the hell is wrong with our WiFi which is causing this huge battery drain and is there a fix (rom, kernel, module, script, anything)?
Regards.
didije said:
Hello everyone, there are many, many threads for our phone, so it is basically impossible to properly search and see if this question has been asked before and so here it goes.
I've tried many roms for my device (I call it Sir Hangsalot), and I have noticed that on almost every rom there is a huge issue for my device to keep itself in a deep sleep state when the WiFi is on. The ratio is approximately 70/30% awake vs. deep sleep (I am talking when the screen is off and the phone is not being used). Then I have tested with the WiFi off (mobile data still on, it is always on since I have an unlimited data plan) and the phone enters deep sleep as usual, but this time it stays in deep sleep and battery is discharging properly. From the moment I switch on the WiFi the same behaviour emerges again. This is the last night's situation. New battery (1 month old, 1700 mAh), fully charged at 1 AM, at 7 AM 54% left with the WiFi on. The night before, same conditions, WiFi off and mobile data on, at 7 AM 91% left.
So, my question is: what the hell is wrong with our WiFi which is causing this huge battery drain and is there a fix (rom, kernel, module, script, anything)?
Regards.
Click to expand...
Click to collapse
Sorry for late reply.
Go to Settings > Wifi > Advanced settings and uncheck the box "Network notification" ( Notify me when an open network is available) in wifi settings, also uncheck "Scanning always available" .
Use Greenify app to freeze apps ( apps frozen will stay closed until you open them again).
These should reduce battery draining.
Thanks for the reply. I always turn off those things in wifi advanced settings, and regarding greenify I am not sure that it will help since I have this issue in every rom, even in a barebone rom without installing any app or gapps. I thought that maybe google play services could be the culprit here, but even without gapps I have a severe battery drain when wifi is on. When using mobile data everything is just fine. I really cannot find an answer for this.
didije said:
Thanks for the reply. I always turn off those things in wifi advanced settings, and regarding greenify I am not sure that it will help since I have this issue in every rom, even in a barebone rom without installing any app or gapps. I thought that maybe google play services could be the culprit here, but even without gapps I have a severe battery drain when wifi is on. When using mobile data everything is just fine. I really cannot find an answer for this.
Click to expand...
Click to collapse
Stock jb bloated should also drain much battery when there is a network connection.
I don't have more ideas... But why you keep wifi on overnight? Do you have facebook app/ what'sapp / viber / etc. ? These drain battery alot, that's why you need to greenify them.
And why you use wifi since you have unlimited data plan?
To be honest, my battery drain too when i have wifi on, but not so much. In this evening, i will put my wifi on and i will let you know how much battery i have left tomorrow.
It will be interesting to see your results, thanks. I do indeed have WhatsApp installed (after setting up my device completely) but the behaviour is the same regardless, even after fresh install and no other than the core system apps (stock, cm 10, 11, 12, aosp, carbon, vanir, LS, tried them all). Regarding leaving wifi on all the time it is the matter of habit. Since I've been using an android phone from the start (from cupcake on Huawei U8220 to lollipop on a few devices) and I have never had this kind of problem. Oh, well, I will try to keep it off and turn it on only when I need faster internet speed (my data plan is unlimited but it does not have download speed as my wifi).
Cheers!
didije said:
It will be interesting to see your results, thanks. I do indeed have WhatsApp installed (after setting up my device completely) but the behaviour is the same regardless, even after fresh install and no other than the core system apps (stock, cm 10, 11, 12, aosp, carbon, vanir, LS, tried them all). Regarding leaving wifi on all the time it is the matter of habit. Since I've been using an android phone from the start (from cupcake on Huawei U8220 to lollipop on a few devices) and I have never had this kind of problem. Oh, well, I will try to keep it off and turn it on only when I need faster internet speed (my data plan is unlimited but it does not have download speed as my wifi).
Cheers!
Click to expand...
Click to collapse
I tested two days. Wifi drain battery 15-20% for me. Hmm, maybe i have some wakelocks, not sure. I will check and i will let you know if i can solve this problem.