[Q] Wifi Battery Drain on CM 10.1 - Galaxy S III Q&A, Help & Troubleshooting

Hi @all,
since i switched from samsung stock rom to CM 10.1 (M3) there is a high battery drain when the phone is running on standby.
To be sure i'm getting nearly "comparable" results, i flashed both roms completly clean without any additional apps. Google services/syncs switched off, mobile data disabled.
With the samsung stock rom the battery lasts for about 3,5 days in standby. With CM10 the battery is drained after 1,5 days. 12 hours after charging BetteryBatteryStats shows a high number (~20000) of kernel wakelocks for the type "wlan_ctrl_wake" (NOT wlan_rx_wake). As far as i can see, there is no connection to any app keeping the phone from entering deepsleep. However, i only have a deepsleep rate of about 70%. Nothing suspicious in partial wakelocks.
Regarding the battery drain topic, there are many hints on google now, latitude, Gtalk and so on. Already tried those. There's no need to change the wifi settings, because on samsung stock rom everything works fine using the same settings (just about 40 wlan_ctrl_wakes within 12 hours). I'm using Fritzbox 7170 as wifi ap. Some people mentioned multicast/broadcast packages may be a reason for high wifi wakelocks. I traced the network, but nothing of the sort occurs.
Any ideas?
Thank you

Wakelock detector will link the wakelocks to the specific apps

Related

[Q] Yet another battery drain issue

Hi everyone,
sorry if this is a noobish question or if there is some obvious answer however 5 hours of googling dint give me any solutions (other than flashing a different rom)
I got my SGS2 a few days ago and so far the batter drains in roughly 5 hours just laying on the table without the screen ever being turned on.
I checked the batter usage log with both stock battery info app and the BetterBatteryInfo app from the XDA forums both seem to indicate that the culprit is the email app which has over 80% battery usage and according to the BetterBatteryInfo its keeping the device awake.
I only have 1 exchange email account set up on the device.
Some other posts i found online seem to indicate that there is some issue with calendar syncing for exchange but they refer to os version 2.3.3 mine came with 2.3.5
Any help would be greatly appreciated.
I tried setting email check to push and 15 minutes both seem to have same results.
This is what i learned as of today.
First of check if your wifi is on or not. Your wifi router could be the main culprit especially if it is dlink dir655. It could eat as much as 5% every minute. All the android phone sgs1 sgs2 and sg mini in my home drained out within few hours.l with active wifi connected to dlink.
After changing to other brands the drain disappeared. 2% per hour on wifi.
This is on stock rom with rooted kernel. The only apps i freeze is the wifi sharing and manager.
Who would expect dlink is android battey killer (literally).
Sent from my GT-I9100G using Tapatalk
Search XDA not Googlke .
Start with all the battery threads .
Download Better Battery Stats and look for PARTIAL WAKELOCKS .
jje
it was both on wifi and mobile data, and i got a netgear router, i checked the partial wakelocks that points to email app, I'm trying to play around with what gets synced.
When I left only calendar sync enabled on my exchange account it seems to have helped but i will investigate further.

[Q] BetterBatteryStats reports 'gpsd-interface' killing battery on Galaxy Player 5.0

Hi there,
I've had my Galaxy Player 5.0 for over a month now, and it's been exhibiting a weird battery drain problem. I have everything set up to drain as little battery as possible when the device is sleeping. I've got auto-sync off, Juice Defender Plus to automatically disable Wi-Fi... it's working beautifully most of the time. I can go for days without the battery draining at all when I'm not using it. But then it inevitably hits a point where I turn it on and lo, like half the battery charge is gone. I check BetterBatteryStats often to monitor this problem, and it usually shows about the same awake time as screen on time, which is what you'd expect. When the problem kicks in however, the device shows hours and hours of extra awake time.
Two new kernel wakelock entries appear at the top:
gpsd-interface
GPS
Those account for pretty much all the extra awake time. I can break these wakelocks by turning on the GPS, starting Google Maps, letting it read my location, closing Google Maps and finally turning off GPS again. I never use Google Maps or GPS the rest of the time, but these wakelocks keep coming back every few days. I've searched everywhere for any mention of "gpsd-interface" and I found nothing.
Any idea how I might be able to fix this?
Thanks, Nir

[Q] Battery drain in standby by Android OS process (NetworkLocationLocator?)

Hi again,
since my last post (http://forum.xda-developers.com/showthread.php?t=2048671) in the general Android section did not lead to any solution I ask you for help in this section again.
First of all, I spent hours, and really some hours, looking for solutions in this forum, other forums, etc. and did not find any solution for my problem.
Whatever I do about my I9300 I'm loosing about 2-3% per hour in total standby. What I did already:
- Changed the ROM from Stock to CM10
- Changed the kernel from Stock to Franco
- Did several Factory resets
- Disabled all possible funktions (GPS, Network Location Services, Autosync, etc...)
So now I have my I9300 in front of me, just did a factory reset, Wifi and 3G on, no apps installed, no widgets, franco kernel installed and it's loosing 3% battery per hour. In the android battery stats, it's Andoird OS what is consuming 75% of power. The 3G signal is not perfect but not bad neither.
Betterbatterystats is not installed yet but I had that before I did the factory resets and there was always nothing really eye-catching besides the NetworkLocationLocator wich had a lot of partial wakelocks. Judging by what the android battery stat says, I have no problem with the system staying awake after the factory reset...
Any ideas what could be the problem ?
Thanks a lot,
Mika

Android and battery

I love Android.
I think the customization is great, and since v4 it's smoother and feels more responsive.
There are LOTS of apps and it's better than iOS.
But i'm sick of the battery issues.
I've always loved trying new features, ROMs, apps, hacks and whatever.
I now have SGS3 and it's my third android device, and i've installed ROMs dozens of times, even on my friends' devices.
One thing that always kept me alert is the battery life - the maximum I can get from my battery is around 30 hours with my usage - 1/5-2 hours of screen, ~45 minutes talk, lots of standby.
But every now and then, my girlfriend, my dad, my aunt or my friend ask me 'why does my battery drain so fast?'
Sometimes its google maps.
Sometimes its mediaserver/media scanner
Sometimes - and only I can see it cause they are not familiar with tools like BBS, it's gsf (Google Services Framework).
The point is, when you have an Android device, you need to check the battery stats every now and then to make sure nothing is unusually heavy on the battery.
I am currently experimenting with ParanoidAndroid and AOKP, which are faster and more responsive than omega/stock.
Yesterday i went to sleep (6 hours) with 25% battery (after it lasted 15 hours) and I turned off the data connection and the wireless connection.
I woke up after 6 hours (lucky..) and I saw my phone if off. after I connected it to the charger and turned it on I saw mediaserver decided to wake up in the middle of the night, after It almost did nothing during the day, and worked for 5.5 hours until the battery died!
Today I unplugged my phone and in 1 hour of standby 10% of the battery were gone, I checked what happened using BBS and saw gsf again (that GTALK_SYNC whatever wakelock) was draining battery, after I thought I fixed it yesterday when I disabled app data and browser sync in the google account sync options). I rebooted and now it seems ok again, the phone is back to ~70-80-% sleep.
I want to emphasize that I don't like all the stupid battery tips that tell me to castrate my phone:
turn off wifi when it's not needed, turn down the brightness, lower the screen timeout, disable sync (wtf? but its a smart phone, I WANT push notifications!) and that sort of things.
I KNOW I can get >24hours of battery without disabling the basic features of my phone.
And the draining battery processes that I mentioned earlier can suddenly appear even in a stock ROM, so I don't think it's PA or AOKP's fault.
What I want is that google will finally build a supervisor entity that will check what causes an unusual battery drain, check if it makes sense, and disable that cause!
It's absurd that google maps application comes with default 'enable location reporting' that constantly drains your battery and for what?? google maps doesn't run in the foreground, why the hell will I want that background location reporting draining my battery? and if so, why do you put this option enabled BY DEFAULT? The average user doesn't know this sort of stuff, and get only 10 hours of battery out of a device that should ideally provide ~30 hours!!!
Just wanted to let it out of my system...
And to get useful battery tips if any...

[Screenshots]: Battery drain overnight. Need help identifying wakelocks.

It's a stock T-Mobile LG G5. I get around 2-2.5h SOT. Overnight it drops the battery by 8-11%. There are 34 screenshots in the ZIP file below, showing GSAM Battery monitor and BetterBatteryStats data. I've never used BetteryBatteryStats before so if someone could help me identify the culprit I'd greatly appreciate that.
The signal strength is excellent and the always-on display is disabled. The bluetooth and GPS are always enabled. I should mention that last week I put the phone in Airplane mode and the drain stopped, but obviously it's not a solution.
1.) why do you know, that the gsm signal is excellent? Because you can see 5 stripes in the notification bar? That is not real! I can see 5 stripes too, but this at 15 ASU.
But 100% signal is = 30 ASU! So this result can differ even you believe you can see 100 signal quality.
2.) my system is running on 20p. No BT and no Wlan (no NFC) with 8% for 24Std. (150 user apps installed)
3.) wifi and G-Mail polling sucks much battery power too! you should switch it of to compare! or is it real necessary to be on over the night???
4.) what’s about the google fitness app? this app needs power to check the sensors.
5.) Twitter; Google; G-Mail; Fotos are syncing many times! You can see together more then 800 wake ups!
no wonder that this together will suck your battery empty!
i would suggest you to switch off BT and W.Lan over the night! This should spend a lot of battery power too! Same for syncing and background data traffic.
Try to use 3C Battery Monitor app. there you can see the power consumption every 10 min in the night.
read this too! -> https://forum.xda-developers.com/showpost.php?p=74381087&postcount=327
I have 55 ASUs, so the connection is not the problem. Last night it only drained by 1%. I had both Bluetooth and GPS enabled so I don't think they are the problem either. Twitter, Gmail also were enabled and they actually pulled and displayed some notifications, yet the drain was minimal.
What I think sometimes happens is Google app or Play Services goes crazy starts waking up the phone for no reason. Would you agree based on the screenshots? Or could it be some bug in the OS that does this?

Categories

Resources