Media server huge battery drain - G4 Q&A, Help & Troubleshooting

Since writing this mu phone e has lost 10% battery. I have tried all the other things on forums even deleted data and red own loaded data onto my phone and removed the sd card as apparently that was causing it. I cannot seem to stop the media server as it drains upto 40% battery even when I am not on my phone.

If you're referring to the processes called:
- Smartshare.DNLA
- Smartshare.MediaServer
- Smartshare.Provider
they can be disabled, I've disabled mine. A couple took a few tries but it's doable (not rooted). Haven't seen any side effects in my personal daily use.. But I don't share files from my phone.
(tired to provide a screenshot but I don't have enough posts)
Sent from my LG-H812 using Tapatalk

Fixed
I fixed it by updating the software which I feel stupid for not first trying still it was a bit weird that it was happening. Thanks for helping

Related

Severe battery drain + Extremely hot battery

I've been using the P. A. C. man rom for about a month now but recently I lose about 20 percent drain per hour. Any tips
Are you over clocked?
Sent from my SGH-I747M using xda app-developers app
I dont know. What is the standard speed and I'll check.
Looks like your phone it's locked on max clock of CPU. Get CPU spy app and check that out. Could be a case that your phone does not like that kernel you have on.
Sent from my Samsung Galaxy S III
Before everyone reads too deeply into this, can we see the battery statistics of your phone (Settings -> Battery)? It'd probably also be helpful if you give BetterBatteryStats a spin.
I'm guessing that you have some rogue process which is running even when your phone is asleep, keeping it awake and eating your battery life. (If I had to make a more specific guess, I'd ask first if you've got a lot of media files on an external SD card - there's a bug in Jelly Bean et al that causes the media scanner to exhibit said sticking behaviour under those conditions.)
diablo009 said:
Looks like your phone it's locked on max clock of CPU. Get CPU spy app and check that out. Could be a case that your phone does not like that kernel you have on.
Sent from my Samsung Galaxy S III
Click to expand...
Click to collapse
It was set to max when I checked it so I turned it down some. It helped with the hot battery.
smelenchuk said:
Before everyone reads too deeply into this, can we see the battery statistics of your phone (Settings -> Battery)? It'd probably also be helpful if you give BetterBatteryStats a spin.
I'm guessing that you have some rogue process which is running even when your phone is asleep, keeping it awake and eating your battery life. (If I had to make a more specific guess, I'd ask first if you've got a lot of media files on an external SD card - there's a bug in Jelly Bean et al that causes the media scanner to exhibit said sticking behaviour under those conditions.)
Click to expand...
Click to collapse
I do have alot of media files on my sd. I didnt know about the bug. I'll put the stats on next post
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Yeah, that's pretty much what I expected to see - you're running into the bug that I described.
The only surefire way I know of to avoid this completely with no other side effects is, well, to not give the media scanner service any files to get hung up on, i.e. to not have any media files on your external SD card.
There are a couple of other suggested fixes I've seen around - such as clearing cached data for the Media Storage app or using Titanium Backup to freeze the Media Storage app - but those either don't tend to stick or cause other side effects.
Sadly, I don't think there's much else you can do.
smelenchuk said:
Yeah, that's pretty much what I expected to see - you're running into the bug that I described.
The only surefire way I know of to avoid this completely with no other side effects is, well, to not give the media scanner service any files to get hung up on, i.e. to not have any media files on your external SD card.
There are a couple of other suggested fixes I've seen around - such as clearing cached data for the Media Storage app or using Titanium Backup to freeze the Media Storage app - but those either don't tend to stick or cause other side effects.
Sadly, I don't think there's much else you can do.
Click to expand...
Click to collapse
What side effects could it causes.. Some might be bearable.

Media Server always awake - sony app?

I am quite satisfied by my screen on time but the presence of media server taking up majority of my battery really bugs me. I have a screen on time of 1 hour 40 minutes, and media server is awake in 1 hour 10 minutes of it. I don't know if this problem is sony-specific because when I google media server porblems, most of them are wakelocks. Mine isn't; it doesn't discharge by more than 5 percent overnight. But still, I think I can get more battery life than what I currently have if I get that media server sorted out.
Note: please direct me to some other thread if this question does not belong here or had been asked before. I just have a feeling that this is sony-specific...
I have exactly the same problem on my ZR. No wake lock, but taking battery in the background. It only started to do so a few days ago.
Sent from my C5503 using xda app-developers app
tudork said:
I have exactly the same problem on my ZR. No wake lock, but taking battery in the background. It only started to do so a few days ago.
Sent from my C5503 using xda app-developers app
Click to expand...
Click to collapse
Is there any media files or apps that you recently added before the media server started acting up? I don't know if Titanium Backup is causing this, but I don't want to uninstall yet because I'm planning to move to a custom rom. It just so happens that I noticed the drain after I backup ed my apps with TB...
JRBT24 said:
Is there any media files or apps that you recently added before the media server started acting up? I don't know if Titanium Backup is causing this, but I don't want to uninstall yet because I'm planning to move to a custom rom. It just so happens that I noticed the drain after I backup ed my apps with TB...
Click to expand...
Click to collapse
I did add some music files to my SD card, but I think it was a few days before it started. After some observation, I think it is associated with playing INGRESS (which involves using GPS and moving around). BUt I had been playing Ingress for many months before I noticed the mediaserver battery drain. I have done the following:
- deleted all my media files on my sd card. Erased my sd card using the phone.
- emptied the cache of ALL apps which I thought would be associated in some way with media content.
- reinstalled the Ingress app.
- deleted duplicates of Download folder (just made sure there is only one folder with this name).
- I will check all music file names for special characters such as & and $ and delete those. I will delete all album covers. Only then I will add back music to my sd card.
After I do all this, I will monitor for a few days. I don't use Titanium and I am not rooted. After reading about this issue, I see that it can be connected to a lot of different things, but most people complain about mediaserver keepin the phone awake which it is not doing in my case.
tudork said:
I did add some music files to my SD card, but I think it was a few days before it started. After some observation, I think it is associated with playing INGRESS (which involves using GPS and moving around). BUt I had been playing Ingress for many months before I noticed the mediaserver battery drain. I have done the following:
- deleted all my media files on my sd card. Erased my sd card using the phone.
- emptied the cache of ALL apps which I thought would be associated in some way with media content.
- reinstalled the Ingress app.
- deleted duplicates of Download folder (just made sure there is only one folder with this name).
- I will check all music file names for special characters such as & and $ and delete those. I will delete all album covers. Only then I will add back music to my sd card.
After I do all this, I will monitor for a few days. I don't use Titanium and I am not rooted. After reading about this issue, I see that it can be connected to a lot of different things, but most people complain about mediaserver keepin the phone awake which it is not doing in my case.
Click to expand...
Click to collapse
I got 3:40 of screen on time today mainly because media server just had "35 mins keep awake time", 14 percent usage; which I still think isn't normal. The difference maker as I see it is me playing shorter amount of game today than normal - but I'm skeptic this is the cause
point 1 - That's exactly what I don't want to do yet because I don't want to go through that much hassle (I have a lot of music)
point 2 - I actually did that too, even though I am sourcing from people talking about media server causing "wakelocks"
point 3 - I don't use GPS at all, but I do have some cached maps on google maps. I'll try clearing data and check if it will do anything
point 4 - I did delete all the download folders before, no effect
point 5 - please do report back if doing these stuff removed the friggin media server awake time. Again, my standby time is SUPERB. it's when I use the phone screen on, that the battery drains: very fast at that
EDIT: Maybe we can post this on the Z forums? This problem, as I see it, is isolated on xperia devices due to the fact that I don't see any other forums talking about media server being awake with the screen all the time, because they are mainly talking about wakelocks?
JRBT24 said:
I got 3:40 of screen on time today mainly because media server just had "35 mins keep awake time", 14 percent usage; which I still think isn't normal. The difference maker as I see it is me playing shorter amount of game today than normal - but I'm skeptic this is the cause
point 1 - That's exactly what I don't want to do yet because I don't want to go through that much hassle (I have a lot of music)
point 2 - I actually did that too, even though I am sourcing from people talking about media server causing "wakelocks"
point 3 - I don't use GPS at all, but I do have some cached maps on google maps. I'll try clearing data and check if it will do anything
point 4 - I did delete all the download folders before, no effect
point 5 - please do report back if doing these stuff removed the friggin media server awake time. Again, my standby time is SUPERB. it's when I use the phone screen on, that the battery drains: very fast at that
EDIT: Maybe we can post this on the Z forums? This problem, as I see it, is isolated on xperia devices due to the fact that I don't see any other forums talking about media server being awake with the screen all the time, because they are mainly talking about wakelocks?
Click to expand...
Click to collapse
It will probably be more useful to post this on the Z forums, the ZR and ZL seem to be more niche phones. So, here are my conclusions: I managed to get rid of the mediaserver issue. First I was just playing with my phone to see what is associated with the process being active. It was definitely the game,. Ingress. So I did two things and I don't know which one did the trick: I turned off the gameplay sounds (pretty useless, as you play this game outdoors in public, and you don't want to bother people anyway) and I reinstalled the app. Then I started to play again, and no mediaserver appeared.
Therefore, since our problem is obviously related to some app or some activity we do with our phone while it is on (like you say, my standby battery consumption is very good, just like yours), I suggest monitoring for a few days to see what exactly seems to trigger the mediaserver, and then you can either reinstall the app, or empty whatever media folders associated with it, or turn off sounds if it is a game.
I THINK I FOUND A REMEDY!
Using better battery stats, I checked what was causing my battery drain. It turned out: It was a partial wakelock named Audio_out2 and Audio_out3. with some research through several forums, it is already a long-time bug of android (which annoyingly haven't been fixed for now) with some devices just using the mediaserver even when it's not actually using sound.
The simple fix: Turn off touch sounds and unlock sounds
For some reason, they are the ones who keep our mediaserver "awake" and thus, unnecessarily drains battery because the device somehow thinks it has to use the mediaserver.
Mediaserver still drains the heck out of my battery when I play most games, and I'm not sure if it's already the normal android behavior. What I'm definitely happy about now though, is that I was able to get 4+ hours of screen on time now if I didn't play or play minimally in a day.
Press Thanks if I helped
Same problem here, but I have audio and video files on my SD card.
Is this the problem maybe? I think not ...
I´m testing this trick:
"The simple fix: Turn off touch sounds and unlock sounds"
Had a similar issue. I've tried to cleanup my sd card and internal storage, no difference.
After a little bit of research I found out that the game "Ingress" makes the media server active for many people.
When I deinstallated Ingress --> voilà the media server usage went down to like 20% of the amount it had before. :good:
einfachgaer said:
Had a similar issue. I've tried to cleanup my sd card and internal storage, no difference.
After a little bit of research I found out that the game "Ingress" makes the media server active for many people.
When I deinstallated Ingress --> voilà the media server usage went down to like 20% of the amount it had before. :good:
Click to expand...
Click to collapse
Well, were you playing other games other than Ingress? I mean, did you use your phone for game as much as you usually would when the media server usage went down? I have a strong feeling that it acts up when playing most (but not all) games.
JRBT24 said:
Well, were you playing other games other than Ingress? I mean, did you use your phone for game as much as you usually would when the media server usage went down? I have a strong feeling that it acts up when playing most (but not all) games.
Click to expand...
Click to collapse
Yes I was playing other games in that period of time. After I've deinstalled ingress I played the same amount of the other games but with much less usage of media server.
And even when I wasn't playing the media server was active, now it doesn't.
Sent from my C6503 using xda app-developers app
Might be other games to does the same cuz i still have the issue.
Problem came up not long ago and lately i have installed Dots, Tip Off Basketball and Star Wars Force Collection. Ill see if uninstalling one of these can solve the issue...
--->> Tapped with my rooted Xperia ZL (C6506) (Stock .244) via Hit'N'Yak 4
I didnt want to try each one so uninstalled the 3 games. Problem solved. One of these games was my problem
--->> Tapped with my rooted Xperia ZL (C6506) (Stock .244) via Hit'N'Yak 4
---------- Post added at 01:27 PM ---------- Previous post was at 01:26 PM ----------
Now my battery just jumped from 49% to 70% in one split sec.. Weird !!!
--->> Tapped with my rooted Xperia ZL (C6506) (Stock .244) via Hit'N'Yak 4
** I strongly suspect the Star Wars game though...
--->> Tapped with my rooted Xperia ZL (C6506) (Stock .244) via Hit'N'Yak 4
iPeck said:
** I strongly suspect the Star Wars game though...
--->> Tapped with my rooted Xperia ZL (C6506) (Stock .244) via Hit'N'Yak 4
Click to expand...
Click to collapse
So, playing other games other than those three doesn't ramp up the media server awake time?
Heres a screen of the games on my device, no problem with these... (i changed the icons so dont mind)
--->> Tapped with my rooted Xperia ZL (C6506) (Stock .244) via Hit'N'Yak 4
iPeck said:
Heres a screen of the games on my device, no problem with these... (i changed the icons so dont mind)
--->> Tapped with my rooted Xperia ZL (C6506) (Stock .244) via Hit'N'Yak 4
Click to expand...
Click to collapse
I don't think it's a particular kind of game necessarily, but rather the process being stuck in a loop analysing some random media file within one of the games. I suggest going one by one if people have this kind of patience and either turn off the game sounds, or uninstall and reinstall. I am playing Ingress now and everything is fine, mediaserver does not even appear anymore.
Never happened with these games on my device... Coincidence only ? Not sure bout that...
--->> Tapped with my rooted Xperia ZL (C6506) (Stock .244) via Hit'N'Yak 4

[Q] Battery drain on Note 2 after 4.3 update

Hello
I have had a massive battery drain problem on my Note 2, a couple of days after the 4.3 update. While being idle during the night it loses 25% to 30% of its battery and while using it I can literally see the percentage drop. I have tried everything that I could find on the net. EVERYTHING! Nothing worked. These included: Factory reset (twice), letting the battery frain completely and then recharging it while the phone was switched off, switching off all sync,disabling bloatware including KNOX components (the actual KNOX app is not installed), installing only a few apps after factory reset, using Gsam, Wakelock detector, Deep sleep battery saver (which could not make my phone sleep), no GPS, no 3G, wifi on only when needed and more besides.
The phone is only one year old and unrooted. On 4.1.2 it had a beastly battery performance of almost 1.5 days of normal to heavy use, with 300 apps on it. Now it cannot go for more than a few hours with the same use.
I cannot say for sure but it seems to me that the drain is the same when it is sleeping and when I am using it. Wakelock has given me a 75% awake time even though I only use it for 15-20% of the day at most nowadays. Battery settings show everything normal, or at least I think so, eg Screen 35%, Android OS 15-28%, Voice calls 10%, Android system 5-15%, Cell standby 7%, Device idle 4%, Media server 4%. The batttery chart shows a constant steep drop all the time.
The problem started one day when the Media server went mad consuming 50% of the battery. After I did the factory reset it has never again been a problem but the drain still persists.
I have also read that it's a mess up between syncing of Samsung apps and Google services, but I have no way of verifying that.
Can anyone help?
Thanks
I had the very same problem until yesterday myself but think I found a solution on the web.. Uninstall Google Search and Google Play Services and the goto the Play Store and wait for them to reinstall and that's it....! As I found that there is a bug in Google Services (Nlpwakelock and Location service)
Hope this helps...?
Sent from my GT-N7100 using xda app-developers app
terzisc said:
Hello
I have had a massive battery drain problem on my Note 2, a couple of days after the 4.3 update. While being idle during the night it loses 25% to 30% of its battery and while using it I can literally see the percentage drop. I have tried everything that I could find on the net. EVERYTHING! Nothing worked. These included: Factory reset (twice), letting the battery frain completely and then recharging it while the phone was switched off, switching off all sync,disabling bloatware including KNOX components (the actual KNOX app is not installed), installing only a few apps after factory reset, using Gsam, Wakelock defender, Deep sleep battery saver (which could not make my phone sleep), no GPS, no 3G, wifi on only when needed and more besides.
The phone is only one year old and unrooted. On 4.1.2 it had a beastly battery performance of almost 1.5 days of normal to heavy use, with 300 apps on it. Now it cannot go for more than a few hours with the same use.
I cannot say for sure but it seems to me that the drain is the same when it is sleeping and when I am using it. Wakelock has given me a 75% awake time even though I only use it for 15-20% of the day at most nowadays. Battery settings show everything normal, or at least I think so, eg Screen 35%, Android OS 15-28%, Voice calls 10%, Android system 5-15%, Cell standby 7%, Device idle 4%, Media server 4%. The batttery chart shows a constant steep drop all the time.
The problem started one day when the Media server went mad consuming 50% of the battery. After I did the factory reset it has never again been a problem but the drain still persists.
I have also read that it's a mess up between syncing of Samsung apps and Google services, but I have no way of verifying that.
Can anyone help?
Thanks
Click to expand...
Click to collapse
Download wakelock detector from the play store. It detect which app is waking your device (both screen and cpu) by list.. Then download greenify from the play store and herbinate (greenify) upper most apps from wakelock detector. Hope you can solve your problem
Sent from my GT-N7100 using XDA Premium 4 mobile app
yeminswe said:
Download wakelock detector from the play store. It detect which app is waking your device (both screen and cpu) by list.. Then download greenify from the play store and herbinate (greenify) upper most apps from wakelock detector. Hope you can solve your problem
Sent from my GT-N7100 using XDA Premium 4 mobile app[/
Thanks. I already have Wakelock Detector on. I mistakenly wrote "defender" instead of detector on the original post. It gives me Viber and Messenger as the most active wakelock apps. But they both were not installed when the problem started. Besides, on the 4.1.2 they created no problems. In essence I believe that Wakelock Detector cannot help much. Whatever this problem is , it is well hidden. Thanks for your interest and help anyway. Much appreciated.
Click to expand...
Click to collapse
In wifi settings, goto advanced and untick scanning always available.
Sent from my GT-N7100 using Tapatalk
Manjunath324 said:
In wifi settings, goto advanced and untick scanning always available.
Sent from my GT-N7100 using Tapatalk
Click to expand...
Click to collapse
Thanks, but I have checked and it was not ticked in the first place...unfortunately...
terzisc said:
Thanks, but I have checked and it was not ticked in the first place...unfortunately...
Click to expand...
Click to collapse
Which kernel you are using? And also i recommend using Greenify. Widgets usually eat a lot of battery, I went from battery lasting only 8 hours to get my battery use only 30% in 8 hours.
What i did: installed wakelock detector, gsam battery monitor and better battery stats.
Monitorized the wakelocks.
Applied greenify to the apps which were waking most
Removed widgets which were waking alot
Installed Toggle 2G.
Kernel settings: 200-1600mhz | zzmoove | AFTR+LPA | Multicore power saving (SCHED_MC) = 0 | GPU = stock settings
Works like a charm for me. Hope it helps! Any question, ask!
I've read all sorts of things about this problem since I updated and got hit. I have too much app data to lose by trying the factory restore (which by all accounts shouldn't change anything anyway since you'd still be stuck with 4.3)
I finally decided to try the age old blackberry cure-all: "if in doubt, pull it out" (the battery). Since the entire issue seemed to be related to battery caused problems (ie slow charging, fast drain, etc) it made a lot of sense.
And it worked.
I think the main reason this isn't more commonly tried to fix issues on Android is the same reason I didn't try it earlier. My case is pretty serious and isn't easy to remove. I'm glad I did take the time to take the case off though or I could have ended up wiping my phone.
Nukkels said:
I've read all sorts of things about this problem since I updated and got hit. I have too much app data to lose by trying the factory restore (which by all accounts shouldn't change anything anyway since you'd still be stuck with 4.3)
I finally decided to try the age old blackberry cure-all: "if in doubt, pull it out" (the battery). Since the entire issue seemed to be related to battery caused problems (ie slow charging, fast drain, etc) it made a lot of sense.
And it worked.
I think the main reason this isn't more commonly tried to fix issues on Android is the same reason I didn't try it earlier. My case is pretty serious and isn't easy to remove. I'm glad I did take the time to take the case off though or I could have ended up wiping my phone.
Click to expand...
Click to collapse
Thank you for the suggestion. I have already taken the battery on and off several times. It had no improvement. The phone is only a year old, that is why I don't believe the battery is the culprit. Besides, problems started only after the 4.3 update. Before that it was working perfect. Too much of a coincidence.
Sorry to hear that it didn't work for you
I'm not saying the battery is faulty in any way - however removing the battery and letting the phone power drain completely seems to stop whatever process is running under the buggy 4.3 long enough for it to work again as intended. It's basically just a more thorough way to reboot.
As I said, I've read all sorts of suggestions, many of which don't work for everyone (such as the factory reset) - this is hopefully just one more thing for people to try before they end up wiping their phone in desperation. I mainly posted here in the hopes that others with this issue that may not be forum members can get some more suggestions.
At least for me, wakelock and all the other diagnostic tools at my disposal showed nothing different to before the update. Many other people have found that the Android System is using a lot more of their battery than normal or some other apps are involved - if this is the case, it's likely to be a combination of things causing the issue (the firmware, the drivers, apps, hidden Samsung processes, etc).
Also, for what it's worth, I found that Knox supposedly wasn't installed (when I find it in the apps list, the button to install it is showing...). But it's showing in the list of apps so it must already be installed. I dug through the list of running processes (had to show the system processes too) and I discovered that several Knox and some other new Samsung processes were indeed running.
One other quick tip - If you wanted to check/tweak the 'developer options' and can't seem to find it any more, that's because it's now hidden since 4.2 - go to 'About Device' and tap 7 times on the Build Number. I tried disabling all background processes however it seems this only disables application level processes, not system level processes but if you've tried everything else, it can't hurt to try playing around with some of the options in there.
Nukkels said:
Sorry to hear that it didn't work for you
I'm not saying the battery is faulty in any way - however removing the battery and letting the phone power drain completely seems to stop whatever process is running under the buggy 4.3 long enough for it to work again as intended. It's basically just a more thorough way to reboot.
As I said, I've read all sorts of suggestions, many of which don't work for everyone (such as the factory reset) - this is hopefully just one more thing for people to try before they end up wiping their phone in desperation. I mainly posted here in the hopes that others with this issue that may not be forum members can get some more suggestions.
At least for me, wakelock and all the other diagnostic tools at my disposal showed nothing different to before the update. Many other people have found that the Android System is using a lot more of their battery than normal or some other apps are involved - if this is the case, it's likely to be a combination of things causing the issue (the firmware, the drivers, apps, hidden Samsung processes, etc).
Also, for what it's worth, I found that Knox supposedly wasn't installed (when I find it in the apps list, the button to install it is showing...). But it's showing in the list of apps so it must already be installed. I dug through the list of running processes (had to show the system processes too) and I discovered that several Knox and some other new Samsung processes were indeed running.
One other quick tip - If you wanted to check/tweak the 'developer options' and can't seem to find it any more, that's because it's now hidden since 4.2 - go to 'About Device' and tap 7 times on the Build Number. I tried disabling all background processes however it seems this only disables application level processes, not system level processes but if you've tried everything else, it can't hurt to try playing around with some of the options in there.[/Q
Thanks mate
I think you are right. It is probably a combination of many things. I have opened the Developer options some time back. The one thing that I do for sure in there is limit background processes to 4. Besides that I don't experiment much, exept maybe to change transition animation scale. I am actually thinking of rooting the phone and downgrading to 4.1.2. It was just fine before. I can live without the 4.3 add ons.
Click to expand...
Click to collapse
Problem still persists, even with Google+ and most other Google applications disabled

			
				
Sent from my GT-N7100 using xda app-developers app Some screenshots taken from 3 different apps. Wakelock detector, Better battery stats and Gsam battery monitor
Sent from my GT-N7100 using xda app-developers app
The only battery apps on my phone are the 3 mentioned above, so I don't know what the battery monitor that keeps my phone awake is. The drain existed before I installed these apps. I have read that Chrome could prevent the phone from going to sleep but it is disabled on my phone.
Sent from my GT-N7100 using xda app-developers app
http://www.youtube.com/watch?v=ak1sYWRaEKg
I faced same battery drainage issue, after installing wanam kernel and freezing all bloatwares through Titanium Backup. I'm satisfied with my battery now.
You can try.
Sent from my GT-N7100 using XDA Premium 4 mobile app
Here is detail-
Disable sync always, enable when needed.
Disable wifi always scan from settings
Display set to auto
Uninstall apps of playstore you rarely use
Use widgets on lock and homescreen as less as you can (I don't use any)
Disable motion on settings
Freeze all bloatwares by TB except allshare and samsung content agent
Install Agni kernel, from agni control app-
profile: normal
Governor: pegasusq
Scheduler: cfq
Don't touch other tweaks, hardly you can tweak sound boost.
THIS GIVES ME A SATISFIED BATTERY STATUS.
regards.
Sent from my GT-N7100 using XDA Premium 4 mobile app
Wew 4.3 does have may bugs

PLEASE help me troubleshoot my ridiculous battery drain!

Before I begin, let me state that I have already factory reset countless times and reflashed my firmware at least 3 times in the past week. Neither of these have helped me at all, so PLEASE do not suggest this. I've been trying to solve this problem for a week or two and everyone has suggested this to me and of course I've already done it, so it hasn't helped me at all.
PHONE: E980
FIRMWARE: Stock 4.4.2 E98020g
BASEBAND: APQ8064/MDM9x15M
SYMPTOMS:
-Battery draining ridiculously fast (appx 10%/hr, but before my last reflash, it was draining 50%/2hrs!)
-Phone only lasts about 5hours.
-Android OS is consuming about 80-90% of battery, followed by Screen at around 10%
-Phone is constantly warm
-Phone rarely enters Deep Sleep (it stays awake 95% of the time).
TESTS DONE:
-As I said, I factory reset numerous times with the same exact problem
-I reflashed my firmware 3x, with same problems
-I usually keep auto-sync on, but the issue occurs whether it is on or not.
-There is supposably a Kitkat 4.4.2 (in general) issue where the camera will consume a ton of CPU resources and get stuck that way. I haven't used my camera much, but do use Smart Stay, so I disabled this. No positive result.
-Disabled the Google Now "OK Google" hotword detection. This helped reduce the drain, but didn't solve it. Drain went from like 15%/hr to 10%/hr.
-Took battery out of phone for 10 minutes and placed back in. Seemed to help at first, but after about an hour or so, it returned.
-"Recalibrated" the battery numerous times. This was done by draining the battery until the phone shut itself off. Then I charged the phone to 100% while the phone was still off. Once the phone read as having 100% charge, I let it charge for another 1 hour. Then I unplugged the phone and booted it up. Again, this appeared to help at first, but after a while, the phone began to drain rapidly again.
NARROWING THE ROOT PROBLEM:
-Both WakeLock Detector and BetterBatteryStats show "wlan_wake" and "wlan_wd_wake" as being the largest wakelocks.
-As previously mentioned, "Android OS" is consuming a huge amount of battery
-Problem only seems to happen when wifi is on, whether it is connected to an SSID or not.
OTHER:
I have narrowed the issue down to wifi but I can't seem to figure it out any more than this.
Both of the "wlan_" wakelocks are caused by wifi being on and I need wifi on whenever possible because I can't afford a huge data plan. My current one is 2GB/mo and it is shared between 3 people.
I noticed today that my phone drained 10% within 1 hour after taking the phone off the charger, and I was connected to my home wifi. I then went to work, but still had wifi turned on on my phone. At work, I was only connected to mobile data (but the phone was just sitting in my pocket). The battery drained another 15% within an 1hr 30min, and the phone was warm in my pocket (very uncomfortable!). I then turned wifi off completely, and the battery drain completely disappeared!!! The battery life was amazing in fact!
PICTURES:
I've provided some screenshots with notes. Please take a look at them.
I'm going to manually make the problem happen again and will upload new pictures afterwards. They will be of WLD and BBS. Any current info I have is tainted since I turned wifi off and the problem temporarily turned off too. I want to get only screenshots of what is going on when the problem is happening.
EDIT: BTW, the problem occurs whether my mods are installed or not (the mods used to remove the icons in statusbar, AdAway, etc)..
The issue seems to be pureply related to wifi and nothing else.
IDEAS:
Could adding a wifi supplement scan interval to the build.prop solve this problem?
Is Wifi bugged in this firmware? (This never happened on Jelly Bean!!!!)
Is maybe the "Battery Saving for Wifi" feature bugged?
Would maybe flashing the Jelly bean modem (e98010p) solve this issue (since it didn't happen on Jelly Bean)? If so, does anyone have a flashable version of this? <- I just did some research and it seems that the baseband (AKA modem) is the same in Kitkat as it was in Jelly Bean. Weird....
These pictures were taken shortly after making my first post. I already had wifi turned off, so I turned it back on and after a few minutes, the battery began to plummet. I went from roughly 77% to 66% in just an hour!!!!
Just to make sure that it is clear, I have both BBS and WLD set to start recording data after the phone has been unplugged from the charger. So to restart the data collection, I simply plugged the phone into my charger for a few seconds and then removed it. THEN I turned wifi on. The data seen in the pictures should only have occurred between the time when I unplugged the phone and the time I took the pictures.
EDIT: Also just to make sure it's clear: All the data shown in the System picture is actually since I unplugged the phone this morning. I only posted these pictures to show any changes from the similar ones posted earlier.
PLEASE! Can anyone help me solve this!?
Or is this a major Kitkat bug!? (or ATT bug, or modem bug, etc etc).
After a full week of this problem, I think I just made another breakthrough. Unfortunately, I think it IS one of my Xposed modules, which is weird because I didn't think any of them would have a need to constantly connect to the internet.
All I know is that I just completely uninstalled the Xposed Framework and the phone started to sleep like a baby... with wifi on!
Now I just need to pinpoint the module, which I can do myself.
MODS CAN CLOSE THIS THREAD.
Sorry I created it and (mostly) solved my own problem. This happens to me a lot. I have a problem, can't figure it out, ask for help, then solve it myself. :/
spexwood said:
MODS CAN CLOSE THIS THREAD.
Sorry I created it and (mostly) solved my own problem. This happens to me a lot. I have a problem, can't figure it out, ask for help, then solve it myself. :/
Click to expand...
Click to collapse
Please do not be sorry for this thread :good:
Someone else may have a similar issue so we will just leave it as it is
Glad your issue is fixed
Toledo_JAB said:
Please do not be sorry for this thread :good:
Someone else may have a similar issue so we will just leave it as it is
Glad your issue is fixed
Click to expand...
Click to collapse
In this case, I need to be more specific about my solution then.
The problem seems to be caused by the module, Xposed Torch. It's still usable, but you need to tap the overflow (3-dot) icon and disable ads (it's free to do this). The module requires internet access permissions, which I was not aware of, and it constantly connects to the internet to stream the ads. This in turn causes the wifi to constantly receive data (thus the wlan_wd_wake and wlan_wake). When wifi is on, but not connected to a network, I think it forces wifi to constantly scan in order to find a connection so that it can get that ad data. I'm not sure why it doesn't just use mobile data though... unless it does and it's just more power efficient.
So far, I have disabled the ads via module settings and the phone is now sleeping like it should.
So if anyone else is having wlan_wake wakelocks of any kind, especially followed by wlan_wd_wake or wlan_rx_wake, then this means that something on your phone is constantly accessing the internet via wifi. FIrst turn off auto-sync, and if this doesn't help, then you need to uninstall apps until the problem ceases.
My phone is currently icy cold in my hand and I've never been so happy to feel it like this!
Problem came back today. I've basically uninstalled every app now and the battery is still draining whenever wifi is turned on.
Under Better Battery Stats, there is a process (?) called dhc_dpc that's been running the entire time my phone has had wifi on. There are also the wlan_wakes too. (NOTE: IIm backing up my phone right now, so these names are coming from memory).
According to this thread (different phone and unknown Android version, but similar problem), the wifi driver may be bugged. They recommend doing a reinstall, but I've done this many times now and it doesn't seem to help:
http://forum.xda-developers.com/galaxy-s2/help/dhddpc-t1246190
EDIT: I think I've found the culprit and while it is definitely wifi-related, it's NOT an app. It's the actual Android system constantly pinging the internet. According to my research, it's constantly collecting location data by using either mobile data or wifi and will do this whether you have location services (gps) or Location Reporting enabled. This has been described as a "bug." It was introduced by Google as a cool new feature, but it's implementation was buggy.
I am currently testing a fix to resolve this issue, but want to be certain that it's fully working first.
Just an an FYI, this fix SHOULD help anyone running Android 4.4.2 and experiencing high battery drain caused by Android OS. Even better, the fix does not require root, so anyone can do it!
have you try a full factory reset using lg driver to bring full stock rom back and not just a factory wipe from the phone
3617 said:
have you try a full factory reset using lg driver to bring full stock rom back and not just a factory wipe from the phone
Click to expand...
Click to collapse
Not to be rude, but the first sentence of my first post says I did this several times.
I had those ridiculous battery drains on both stock ROMs with xposed, but never found a direct connection with it.. So first, (if you already haven't), try to disable xposed completely and try again. LG's stock ROM doesn't like that kind of modifications. Also, one of the biggest problems I had with Kit Kat was Location services, so you should check them too.
If that doesn't help, check your apps and download stats, maybe there is something downloading or trying to download stuff.
zamajalo said:
I had those ridiculous battery drains on both stock ROMs with xposed, but never found a direct connection with it.. So first, (if you already haven't), try to disable xposed completely and try again. LG's stock ROM doesn't like that kind of modifications. Also, one of the biggest problems I had with Kit Kat was Location services, so you should check them too.
If that doesn't help, check your apps and download stats, maybe there is something downloading or trying to download stuff.
Click to expand...
Click to collapse
It's definitely Xposed related I think.
I've disabled Xposed during some testing a day or two ago and yeah, battery definitely improved.
The only modules I have installed are:
App Settings
Enable BatteryStats Permission (just to allow me to track this issue. I installed this after problems had already begun)
Greenify (all Xposed settings checked)
YouTube AdAway
I have also been using G2 TweaksBox up until last night. I only used it to declutter my status bar and to enable the advanced reboot menu. (I hate all the icons in the status bar!!!). Last night I disabled G2 TB and battery life improved dramatically!
I can't explain why G2 TB would cause battery drain, but I did notice it doing something odd yesterday. I have the lockscreen off sound enabled in the system settings, so I hear the sound whenever I lock the screen. Well, I turned my phone on yesterday for some reason when in my car. I then turned the screen off, heard the lock sound, and started driving. 15 minutes (NOT seconds!) into my drive, I randomly heard my phone make the locking sound, but the screen was not turned on!! I wonder if G2 TB delays my lock somehow.
I switched to GravityBox[KK] today since so many people claim that it works perfectly on their OGP, and so far, battery drain is MUUUUUCH better than with G2 TB activated, but it still may not be as good as pure stock. I need more time to figure it out though. This morning, my battery dropped 5% in 40 minutes while connected to my home wifi. I then left my house for a few hours, but left wifi turned on on my phone (it's hard for me to remember to switch it off and on all the time!). The battery seemed to be pretty stable after that, but I can't explain the weird 5% drop, but I did receive 2 missed calls and a text during that time too. Should I lose 5% just from getting a text and having my phone ring?
It's now night time and I'm at 75% battery. This past week, I would be at about 10% by now or even DEAD, so I'm happy as heck right now.
I would LOVE to be able to keep using GB, but I now just need to figure out if it too is draining battery, or if everything is stable. I'm going to continue comparing stock VS GB tonight and tomorrow. I'll live with stock if needed, but I'm just very OCD about the statusbar clutter.
In GB, I only disabled some icons, centered the clock, enabled advanced reboot menu, and enabled the lockscreen torch.
Try with GB and post results, it looks like it doesn't drain that much... Unfortunately for me, I had problems with every xposed module ever tried, so I simply gave up and now I'm using another rom. I think that LG's ROM is problematic, especially if you use a lot of SystemUI customisations, like GravityBox does.
Are wakelocks from orginal post still active?
G2 Tweaks aren't even compatible with our phone (as much I understood), never managed to do anything with them. I assume that G2's SystemUI is too different from OGP's, so that may be one of the problem sources.
With my normal usage (1-2 hours of music, 2-3 hours of internet - wifi or mobile, K9 sync, viber, sometimes games, ~60 SMS and few longer calls per day), battery was holding up to 35, sometimes 45 hours. With xposed, barely a day, if I turn mobile data and sync off. I usually have a dilemma about putting it to a charger before sleep, there is alway around 60-50% of battery at the end of the day.
zamajalo said:
Try with GB and post results, it looks like it doesn't drain that much... Unfortunately for me, I had problems with every xposed module ever tried, so I simply gave up and now I'm using another rom. I think that LG's ROM is problematic, especially if you use a lot of SystemUI customisations, like GravityBox does.
Are wakelocks from orginal post still active?
G2 Tweaks aren't even compatible with our phone (as much I understood), never managed to do anything with them. I assume that G2's SystemUI is too different from OGP's, so that may be one of the problem sources.
With my normal usage (1-2 hours of music, 2-3 hours of internet - wifi or mobile, K9 sync, viber, sometimes games, ~60 SMS and few longer calls per day), battery was holding up to 35, sometimes 45 hours. With xposed, barely a day, if I turn mobile data and sync off. I usually have a dilemma about putting it to a charger before sleep, there is alway around 60-50% of battery at the end of the day.
Click to expand...
Click to collapse
OK, so I just got home from work and today I not only had GravityBox disabled, but I also had the ENTIRE Xposed Framework uninstalled.
My battery is now at 30% and I was only gone for 7 hours!!!!!!!!!!!!!!!!!! This is ridiculous!!!!!!!!!
*sigh* <- frustrated with this whole situation
Yes, the wakelocks are still active.
The top two Kernel Wakelocks are "wlan_wd_wake" (46.3%) and "wlan_wake" (46.2%) in that order. The next in line is "PowerManagerService.Wakelocks" (8.0%) and then "msm_hsic_host" (6.1%). This was since my last reboot, which was about 2 hours ago (I had to rebooted after removing an app that I thought was the culprit... apparently it wasn't).
Again, I keep Auto Sync on, but disablign it seems to not help in this matter at all.
I also keep wifi on. When at work, it isn't connected to a network, but I often forget to disable wifi when I leave the house, or I come home and forget to enable it and end up sucking my data plan dry. Nonetheless, I also did this while on Jelly Bean and had no issues whatsoever.
My phone is only staying in deep sleep less than 10% of the time and the time when it is awake, the CPU is running at full 1.7GHz! This is causing the phone to get warm in my pocket. It doesn't hurt, but it's enough to make things uncomfortable.
According to the battery stats (in system settings), Android OS is consuming 83% of the battery.
The biggest network drainers are "Google Play Services" (33.3%), something simply called "0" (14.8%), and a weather app. I had the weather app open manually not too long ago though, so that explains that one, but the other two I can't. I have no clue what "0" is and I have not opened Play at all today.
It's something to do with wifi itself I think, and maybe not a specific app accessing wifi. (?)
I turned wifi completely off about an hour ago and the battery drain has been stable. It's been like this for days too. If I turn off wifi, the drain is "normal." If wifi is on and connected, drain is higher than with wifi off, but barely. If wifi is on and not connected, the battery level plummets like a rock in a pond.
OH! One thing I just thought about and should mention:
Before I discovered that G2 TweaksBox was causing serious drain, I was on another battery-related thread in the OGP forum. Someone told me to delete the "libiq_client.so" file from System/lib. He assured me this would give me excellent battery life (which apparently it did not). So I did. Normally, I just rename system files so I can restore them if needed, but I guess I accidentally deleted this one.
Could this be causing the drain, and if so, can someone upload a copy of libiq_client.so so I can try it on my phone (after setting it's permissions correctly)?
Um, that's not good.
Check wireless settings, and disable "Scanning always available" if enabled.
You don't have a nand backup, do you? I have E988 variant so maybe my file isn't good, I don't know if there are big differences between them. I can upload it if you want.
It is possible that Google Services are messing things up since they are between top processes... have you tried clearing their cache/data? Also, if you have a custom recovery, clear cache/dalvik cache, maybe it helps. Also, if High precision location is enabled, try disabling it if you don't need that service, I had some problems with that in combination with weather widgets.
What partial wakelocks are active?
zamajalo said:
Um, that's not good.
Check wireless settings, and disable "Scanning always available" if enabled.
You don't have a nand backup, do you? I have E988 variant so maybe my file isn't good, I don't know if there are big differences between them. I can upload it if you want.
It is possible that Google Services are messing things up since they are between top processes... have you tried clearing their cache/data? Also, if you have a custom recovery, clear cache/dalvik cache, maybe it helps. Also, if High precision location is enabled, try disabling it if you don't need that service, I had some problems with that in combination with weather widgets.
What partial wakelocks are active?
Click to expand...
Click to collapse
"Scanning always available" has been disabled since day 1
The only nand backup I have is after I already deleted the file :/
I did try clearing Google Service's cahce/data at one point and I think it helped for a few hours. It may have been a placebo effect though. I also di the recovery cache wipe and dalvik wipe with same results.
I don't keep location on at all since I don't use it. It's always off, but at one point, I did enable it to select the battery mode and then turned it off again. I did this mainly so that if and when I do use location, it would always use Battery and not High Precision.
I'm currently backing up my rom, so all partial wakelocks were cleared for now. Sorry.
I'm trying to reflash the stock rom real quick and grab the libiq_client.so file, then restore the backup and insert the file back into system. Unfortunately, I may not be able to tell if it solves the problem until sometime tomorrow.
EDIT: BTW, the only reason why I won't just start all over again on the reflash is because 1) I want to figure out what's causing this problem so it won't happen again, and 2) I don't have the time to spend hours setting my phone up again
EDIT2: Oh and every time I reflashed my ROM, the first things I did was rename/delete that library file and installed G2 Tweaksbox. And every time I had horible battery drain, so i'm really hoping it's due to the lack of this library file.
spexwood said:
"Scanning always available" has been disabled since day 1
I'm trying to reflash the stock rom real quick and grab the libiq_client.so file, then restore the backup and insert the file back into system. Unfortunately, I may not be able to tell if it solves the problem until sometime tomorrow.
EDIT: BTW, the only reason why I won't just start all over again on the reflash is because 1) I want to figure out what's causing this problem so it won't happen again, and 2) I don't have the time to spend hours setting my phone up again
EDIT2: Oh and every time I reflashed my ROM, the first things I did was rename/delete that library file and installed G2 Tweaksbox. And every time I had horible battery drain, so i'm really hoping it's due to the lack of this library file.
Click to expand...
Click to collapse
Try it. I can upload file from my backup if you're willing to experiment with that, to save you from all that flashing.
Also, if you edited your build.prop and changed pm.sleep_mode and ro.ril.disable.power.collapse, undo that. It only disabled deep sleep state for me (had similar problems few days ago when flashed a new rom, mmc1_detect, suspend_backoff and some other weird things, so I even tried that)
Have you tried using another roms?
zamajalo said:
Try it. I can upload file from my backup if you're willing to experiment with that, to save you from all that flashing.
Also, if you edited your build.prop and changed pm.sleep_mode and ro.ril.disable.power.collapse, undo that. It only disabled deep sleep state for me (had similar problems few days ago when flashed a new rom, mmc1_detect, suspend_backoff and some other weird things, so I even tried that)
Have you tried using another roms?
Click to expand...
Click to collapse
It's OK, I'll get the file from the flashing. I know it'll be a pain, but this may be safer just in case there is some sort of difference between the E988 and E980 versions. I doubt there would be, but better safe than sorry I guess.
I did add those settings to my build.prop as a test, but I was smart there and backed up my stock build.prop first and ended up restoring it a few hours later. It was causing my screen to not always turn on when I pressed the power button.
I have not tried any other ROMs. I prefer to stick to stock ROMs (or modified versions of stock... basically anything stock-based and not CyanogenMod or AOSP). I had bad experiences with AOSP-based ROMs on my old phone.
If I tried a stock-based ROM though, it must have everything working though. I mean everything: calls, texts, LTE, bluetooth, speaker phone, etc etc.
EDIT: OH MY GOSH!!!!!!
I just found where the libiq_client file went. I moved it to my internal storage.
Well, good to know I wasn't totally stupid and knew not to completely delete the file! Unfortunately I was still dumb enough to misplace it....
spexwood said:
EDIT: OH MY GOSH!!!!!!
I just found where the libiq_client file went. I moved it to my internal storage.
Well, good to know I wasn't totally stupid and knew not to completely delete the file! Unfortunately I was still dumb enough to misplace it....
Click to expand...
Click to collapse
Better to misplace than to delete it, trust me
Post results.
zamajalo said:
Better to misplace than to delete it, trust me
Post results.
Click to expand...
Click to collapse
I can see that as being true LOL
I'll need some time to test this, but I'll definitely post results ASAP.
spexwood said:
I can see that as being true LOL
I'll need some time to test this, but I'll definitely post results ASAP.
Click to expand...
Click to collapse
Libiq.so enables carrier IQ, its removal should only help battery drain, not cause it.
Just to ask, have you tried adjuating wifi scan interval? You can try as well the xposed module, "wifi deep sleep". Helped minimize my wifi related drain

[Q] LG G3 5.0, very hot, battery barely lasts a day on minimal use

Hi, my g3 has this problem where the battery seems to drain very fast on moderate to minimal use. When it's in use I use it for browsing the Internet and maybe Facebook, nothing too energy burning, yet it burns the battery like I'm using it for a demanding task. The battery usage has nothing unusual (I don't think) just 39% and the rest is split between tasks. What might be causing this? Since the start of typing this thread is gone from 25 percent to 8 percent, and is very hot again. What might be causing this?
LG G3 d855
16 gb
2gb ram
Android 5.0
Also has one other problem where there is 5gb being used in the misc section for 'system' is this normal? Because that's a large portion of the 16gb gone.
Thanks in advance.
hi, did you make a hard reset to your phone after upgrading to 5.0?
I bought the phone with it all installed so I can only presume that they did that themselves, it was definitely factory reset when I bought it, I know that much.
Sent from my LG-D855 using XDA Free mobile app
I have to revive this thread because the battery life on this phone just renders it useless. I temporarily downgraded from lollipop to kitkat which improved the battery life hugely, I've now rooted it and installed a custom rom (cloudyg3) and the battery life is once again awful. Can anyone suggest anything? The phone is used on and off throughout the day, but even on standby it burns the battery.
Thanks
Sent from my LG-D855 using XDA Free mobile app
Use battery info in setting to find out which app eat more battery. After that remove that app (if you dont need it, of course)
hellfire191 said:
Hi, my g3 has this problem where the battery seems to drain very fast on moderate to minimal use. When it's in use I use it for browsing the Internet and maybe Facebook, nothing too energy burning, yet it burns the battery like I'm using it for a demanding task. The battery usage has nothing unusual (I don't think) just 39% and the rest is split between tasks. What might be causing this? Since the start of typing this thread is gone from 25 percent to 8 percent, and is very hot again. What might be causing this?
LG G3 d855
16 gb
2gb ram
Android 5.0
Also has one other problem where there is 5gb being used in the misc section for 'system' is this normal? Because that's a large portion of the 16gb gone.
Thanks in advance.
Click to expand...
Click to collapse
The screen uses the most at 29 percent followed by messenger at 13 percent and Spotify at 10 percent, I use Spotify most the time, messenger is quite important too. Also the battery seems to have a rapid drain directly after its been on charge, that then levels out after a good 30 percent is gone.
Sent from my LG-D855 using XDA Free mobile app
This might sound odd, but have you checked your accounts in settings to make sure nothing is syncing indefinitely? I've had several customers with issues related to their Google account (or sometimes other accounts on the phone) constantly attempting to sync without ever completing. For example, under one customer's Google account settings, the sync wheel next to "Sync Contacts" would never stop spinning (or would remain stuck on the screen). His phone was quite warm, and his battery life was awful.
Unchecking the affected box, rebooting the phone, and re-enabling sync AFTER ensuring that the phone wasn't heating up for any other reason appeared to fix the issue. I've seen similar issues with non-Google accounts as well.
linkismyhero said:
This might sound odd, but have you checked your accounts in settings to make sure nothing is syncing indefinitely? I've had several customers with issues related to their Google account (or sometimes other accounts on the phone) constantly attempting to sync without ever completing. For example, under one customer's Google account settings, the sync wheel next to "Sync Contacts" would never stop spinning (or would remain stuck on the screen). His phone was quite warm, and his battery life was awful.
Unchecking the affected box, rebooting the phone, and re-enabling sync AFTER ensuring that the phone wasn't heating up for any other reason appeared to fix the issue. I've seen similar issues with non-Google accounts as well.
Click to expand...
Click to collapse
It's definitely not a syncing problem, there isn't really much for my phone to sync to be honest, and i rarely get the syncing wheel on the screen.
Today, my battery died in 2 hours from a full charge, all i was using it for was mapmyride (which tracked me using gps) and for some reason facebook messenger used 23% even though I haven't used it. I think i'm just going to downgrade to 4.4.4 i'm sick of these battery problems.
Poor Battery Life in LG G3 after 5.0 update
Hi I am using the same model and facing the same issue. I downgraded it to kitkat and rooted my phone and installed CM12 Rom. Now the battery life is very good..

Categories

Resources