yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] 7-down:
After using 6.0 for a day or so, I noticed that the WiFi was draining huge amount of juice from the phone, even taking the top spot on the battery chart. This seems to happen even if the WiFi is turned off.

http://i.imgur.com/X2YoNvv.png

So how can we fix this? Well, we'll have to go through bunch of settings to do so. It seems like Google deliberately hid this deep inside location settings. This is how we can "temporarily" fix this issue: Head to Settings -> Location -> Click those 3 dots at the top right corner -> Scanning -> Turn off both WiFi scanning and Bluetooth scanning.

Even with this "fix" I noticed that it keeps draining battery life for no reason, not as much, but the problem still exists. This shouldn't happen! Especially when Marshmallow was built around battery life improvements. The fact that this bug has been causing problems since M Preview #3 shows either Google "missed" this chaos of a bug (or) only cares about that juicy location data. This should be a straightforward-user-friendly option, not one that is buried behind buttons and menus.

It's not a bug, it's a feature
[Nexus 5 Q&A, Help & Troubleshooting] jdawg0024:
Had the same issue after flashing the factory image. So I flashed 5.1.1 again booted the phone then rebooted into recovery and sideloaded the 6.0 OTA. Booted the phone and preformed a factory reset. Now I don't have that problem.
[Nexus 5 Q&A, Help & Troubleshooting] jdawg0024:
Pics
[Nexus 5 Q&A, Help & Troubleshooting] Bfritts3:
im currently having this exact issue.
[Nexus 5 Q&A, Help & Troubleshooting] DaimonPl:
I had same problem also tried disabling Wi-Fi scanning and automatically turning off Wi-Fi when idle but it did not give better results.

Just today i switched phone Wi-Fi to 2.4 GHZ only mode - this workaround seem to work, no drain any more.
[Nexus 5 Q&A, Help & Troubleshooting] eyesore:
Thanks for that. This actually sounds possible.

On the first day when I flashed 6.0 with OTA, I really felt that the battery life has extended.

Then I switched through a lot of settings and also ended up with 2.4 and 5 (auto) on wifi.

Disabling all wifi related options did not help at all....

Will try this out now. :good:
[Nexus 5 Q&A, Help & Troubleshooting] 5hifty:
I'm having severe delays with my wifi on my N5 with 6.0. In speedtest I'm pushing over 90mbps on 5GHz band, but it takes over 30 seconds to load a webpage/ apps. It's not gradually loading it's almost like a stall. Then after the page or app loads instantly. Why is this happening? Is it a severe delay to the server? IDK wtf is going on... I don't have battery drain issues from the wifi this is a different issue.
[Nexus 5 Q&A, Help & Troubleshooting] verdiken:
Same problem... Scanning and wifi off! Wifi drain. At first sight problem only seems to manifest while no wifi available. Tried the 2.4ghz only and seems to reduce though not eliminate the problem...
[Nexus 5 Q&A, Help & Troubleshooting] eyesore:
Works indeed better.. Wifi disappears from the Battery Usage chart, but when it was supposed to went on idle while I put it away, draining started again it seems.

There is a fat bug in the Power-Management in Android M 6.0 final, if you ask me... :(
[Nexus 5 Q&A, Help & Troubleshooting] eddiehk6:
All, please check whether it is actually drain or merely incorrect reporting of battery statistics. Symptoms seem similar to this thread

Remember battery 'drain' is where the level is falling at an abnormally fast rate. If WiFi is merely appearing at the top of the stats, but your battery life is actually fine, then it's not drain.

You need to leave your phone over several hours, and take measurements. When investigating or troubleshooting, then logically change one thing at a time, and re-measure again over a long period of time for comparison.
[Nexus 5 Q&A, Help & Troubleshooting] eyesore:
There is definitely a drain problem... because of Google Play Services not letting System into sleep mode and pulling constantly on Wifi...

That is how I think it comes to the problem.

Mine is now running smoothly, after I went into: Settings > Apps > Google Play Services (and maybe also Google Play Store) > hit menu ... > Deinstall Updates > Restart

If you go back into Play Store later on, it updates to the current version.

I also reseted the Network Settings... somewhere.
[Nexus 5 Q&A, Help & Troubleshooting] aagha:
I tried what was suggested by others in this thread and din't have any luck. I posted how I solved the issue here:

reddit dot com/r/Nexus5/comments/3npesh/wifi_drain_persists_in_android_m_final_release/cvwo3x5
[Nexus 5 Q&A, Help & Troubleshooting] DaimonPl:
I did another modification. In Location settings I changed mode to device only (GPS).

So together:

- set WIFI to 2GHz only

- disable wifi scanning in location settings

- set location scanning to device only (GPS)

- set WIFI to automatically turn off in idle mode (advanced wifi settings)

WIFI is no longer main battery consumer (screen is now as expected). I'm not sure which of those is crucial but they all look like may improve things a bit (and together give big difference)
[Nexus 5 Q&A, Help & Troubleshooting] edwinek:
I thought this was bugging me too. WiFi is top of the list in battery stats. But then I disabled ElementalX gestures (doubletap2wake in my case) and that improved things a lot. Even though WiFi is still reported as the biggest power user.

This may be just me and of course it could always be better, but it might be worth giving this a try.
[Nexus 5 Q&A, Help & Troubleshooting] jb3p76:
I'm having his exact issue. It's with any resources I access through WiFi, from sftp to ftp to web data, internal and external lans, internet, etc. It's definitely a 6.0 issue. I had it on preview 3 as well, and it was bad enough make me downgrade at the time. Now the official release is out and doing the same thing, I'm REALLY hoping they can fix this soon. It's practically unusable if you don't have dial-up time to kill.
[Nexus 5 Q&A, Help & Troubleshooting] DaimonPl:
Check my previous post - it completely fixed problem for me
[Nexus 5 Q&A, Help & Troubleshooting] grujea:
I've experienced the same issue, after a week from the ota update (week in which I had a great battery lifetime), the problem arose out of the nowhere, and after searching the web for a workaround, it seems that putting the wifi in 2.4 ghz only made the trick...

Really hope that google will fix this soon...
[Nexus 5 Q&A, Help & Troubleshooting] if_it_is?:
This is the only thing that worked fully for me. Getting it to 2GHz made it a little bit better but didn't actually solve it. Uninstalling updates from play services and play store solved it for good and I didn't have to flash 5.1.1 and ota update.

:good:Thanks eyesore!
[Nexus 5 Q&A, Help & Troubleshooting] madiweb:
Hello. I have this issue... I disabled localisation through WiFi and I have also done a network settings reset but the problem still persists (not too much as before -45%- but around 25%).

How can I solve?
[Nexus 5 Q&A, Help & Troubleshooting] DaimonPl:
Check my previous answer:

For me it solved problem completely
[Nexus 5 Q&A, Help & Troubleshooting] madiweb:
The only thing That I have not done is the first (setting WiFi to 2ghz)

I will try. Thanks
[Nexus 5 Q&A, Help & Troubleshooting] LucidSomnia:
I had the same problem for a couple of days after i updated to marshmallow, now i got the same problem with android system. Haven't done anything out of the ordinary, rebooting a few times over 2-3 days.
[Nexus 5 Q&A, Help & Troubleshooting] madiweb:
I did all but the problem still persists!!!

Please, how can I solve??
[Nexus 5 Q&A, Help & Troubleshooting] gartenriese:
It doesn't look like it's draining your battery. Look at the time from 0:00 to 9:00, you're barely losing any battery!
[Nexus 5 Q&A, Help & Troubleshooting] madiweb:
The draining is only with WiFi on!!!!!!!
[Nexus 5 Q&A, Help & Troubleshooting] aagha:
Read the whole thread--it's only a couple of pages: Uninstall Google Play Services updates (go back to factory version) and Google Store updates and see if that makes a difference.
[Nexus 5 Q&A, Help & Troubleshooting] Shamz84:
What worked for me was clearing both cache data...one via settings -> storage and the one via recovery boot up menu. Only did this yesterday and seems good WiFi is at the bottom of my list along 1% rather than 40%.. Over night phone only lost 4% battery too.
[Nexus 5 Q&A, Help & Troubleshooting] Shamz84:
Just thought i'd show an update of the battery since clearing both cache's....battery seems to be much better now...nothing is really hogging the battery now...seems to be lasting longer than normal...I've got the location set to high but wifi scanning off..
[Nexus 5 Q&A, Help & Troubleshooting] murfi:
does that actually help battery life? i always thought wifi is less power-consuming that the mobile network. am i mistaken?
[Nexus 5 Q&A, Help & Troubleshooting] Androidman720:
Best fix for me...

Use DS battery saver
[Nexus 5 Q&A, Help & Troubleshooting] ananjay:
I think I'll follow you. I was on Preview 3. I'll rollback to 5.1.1 and flash 6.0 manually.
[Nexus 5 Q&A, Help & Troubleshooting] pcphobic:
How to locate the hidden Wifi Scanning Always Available in Android 6.0 Marshmallow

[MENTION=4494932]7-down[/MENTION]

[MENTION=528975]jdawg0024[/MENTION]

[MENTION=4725463]Bfritts3[/MENTION]

[MENTION=5456611]DaimonPl[/MENTION]

[MENTION=5254902]verdiken[/MENTION]

[MENTION=2852958]eyesore[/MENTION]

[MENTION=6301459]Androidman720[/MENTION]

[MENTION=4402289]ananjay[/MENTION]

How to locate the hidden Wifi Scanning Always Available in Android 6.0 Marshmallow to conserve battery
[Nexus 5 Q&A, Help & Troubleshooting] mlambert:
It might help or not help, but that area is not "hidden." See Settings>Location>from upper right corner> Scanning

How to locate the hidden Wifi Scanning Always Available in Android 6.0 Marshmallow to conserve battery
[Nexus 5 Q&A, Help & Troubleshooting] jhford:
Failed

I turned off Wi-Fi and Bluetooth scanning, as suggested, but Wi-Fi continues to spontaneously disconnect on my Nexus 7 2013 mobile version. Any other ideas?

Thanks
[Nexus 5 Q&A, Help & Troubleshooting] secretmachines:
hi, I've tried this:

Settings > Apps > Google Play Services (and maybe also Google Play Store) > hit menu ... > Deinstall Updates > Restart

but get a message saying "can't uninstall because this package is an active device administrator"

any ideas?
[Nexus 5 Q&A, Help & Troubleshooting] Quantify:
Change WiFi settings to 2.4 ghz only. Fixed my issues...
[Nexus 5 Q&A, Help & Troubleshooting] secretmachines:
this seems to have made a massive improvement! It could be running a little more efficiently I feel, but the WiFi change has made a big difference :)
[Nexus 5 Q&A, Help & Troubleshooting] HvdW:
Battery drain.

- use doze

- use greenify

- become a test member of greenify http://xdaforums.com/apps/greenify/aggressive-doze-experimental-feature-t3223731

- now you can stop your device from being awake while supposed to be sleeping.

- 2 days battery life now
[Nexus 5 Q&A, Help & Troubleshooting] IchGmbH:
I can confirm that there is an issue with the wifi on my nexus 5 and marshmallow. After overnight charging the battery was still at 30%, wifi consumed over 1000mA in 13 hours. Second biggest drain was the screen with merely 213mA! This is surely way more than what wifi should drain.
[Nexus 5 Q&A, Help & Troubleshooting] the.teejster:
What worked to resolve this issue for me was to boot into recovery and Wipe Cache and additionally to go into advanced wifi options and change wifi frequency band from automatic to 2.4Gig.

I'm not sure if an update to google connectivity services also helped but I just received an update and it's now at version : C.1.6.7
[Nexus 5 Q&A, Help & Troubleshooting] killerofsix:
This is such an odd issue. I didn't have this issue when I initially got 6.0 (OTA update) and enjoyed the awesomeness that is doze for quite a few weeks! I only started having this problem very recently all of a sudden (stock and not rooted). Battery life is basically at pre-marshmallow levels now. Currently trying the wipe cache method as I've tried the other ones suggested previously with very little improvement in battery life.

EDIT: Just wanted to update that wiping cache from recovery fixed the issue for me. I currently have all wifi settings enabled (2.4 and 5ghz, GPS mode set to High, wifi scanning on, latest Google Play service installed, etc.) and after 5 hours I'm at 90% with SOT of 14mins. If the wifi drain comes up again I'll probably just wipe cache again.
[Nexus 5 Q&A, Help & Troubleshooting] ggoomani:
I have been having this issue on and off. Very annoying indeed. How have you managed since the last post that you made back in December? Did wiping cache do the trick? Does it need to be done often? daily or weekly?
[Nexus 5 Q&A, Help & Troubleshooting] Nick80835:
Im on marshmallow, and its not my wifi, vut something is killing my battery at an enormous pace, like 1 minute per percent of screen on time, sometimes better, sometimes worse. Marshmallow does seem to have many of these bugs for battery.
[Nexus 5 Q&A, Help & Troubleshooting] siddhu007:
:(

I updated my N5 the day marshmallow was released and i found that my N5 was heating up quite frequently and there was a drop in battery percentage.So i thought of reverting back to lollipop.Later i heard that wifi scanning bug keeps draining battery.It's really sad to know that people at google haven't fixed :(
[Nexus 5 Q&A, Help & Troubleshooting] Dzeb:
Any of you use Viber?

I discovered that a clean install of 6.0 helped and I was all yay, it worked. Until I installed some apps the next day. I have now narrowed it down to Viber. It seems that it's got a setting to override system settings and keep wifi on at all times. Once I've changed that to follow system settings - it was fixed!

Mind you, the wifi is still at the top of the list of battery eaters so there's still something not quite right. However, the battery life seems to be back to normal now (20+ hours).

Hope that helps!
[Nexus 5 Q&A, Help & Troubleshooting] wifidrain:
Was having the same wifi drain on Nexus 5 Android 6.0.1. Problem began weeks after system upgrade. Led me to believe that settings were not the culprit.

Fixed 100% by uninstalling Google Play Services updates and Google Play Store updates. Restarted device. Updated Google Play Services.

None of these settings mattered and are all left as below:

- wifi bands to automatic (2.4 GHz & 5 GHz)

- wifi scanning in location settings enabled

- location scanning to high accuracy

- wifi remains on in idle mode (advanced wifi settings)
[Nexus 5 Q&A, Help & Troubleshooting] ironia.:
in which way you uninstall Google play services and play store updates ?

tnx
[Nexus 5 Q&A, Help & Troubleshooting] Bousqi:
I'm a lit bit worried with this solution. I heard many time that it is not advised to clean data for those two apps (breaking some android internal mechanism).

Is update removal cleaning applications data?
[Nexus 5 Q&A, Help & Troubleshooting] Cignatiou:
This was a huge problem for my nexus 5 but I accidentally found a solution while trying to fix it. Turn off scanning and turn off location. Reboot in safe mode then again to normal mode. Works like a charm! Every few weeks wifi starts to drain the battery again so have to repeat the process.
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] kstukas:
I have a new (to me) Samsung S4 mini, SGH-I257 on Straight Talk. I've successfully rooted it using kingroot, and have the xposed framework installed. On many Straight Talk devices, the carrier listed in the notification bar reads "HOME". I've tried several xposed modules that claim they can remove/edit the carrier text, but I've been unsuccessful. I can change the carrier text on the lock screen, but I can't seem to remove or change the "HOME" on the notification bar. Can anyone help? :)
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] RuffBuster:
Have you tried xblast xposed module?
[Amazon Fire Phone] MrSalue:
hey guys I wanted to ask do anyone use whatsapp ? if yes did they fix the whats app notifitions on fire OS as it was not working when I Was using it on fire OS thus making me switched to CM11
[Amazon Fire Phone] dmarchant:
I am using WhatsApp on Fire OS 4.6.3 and get notification tone and vibrate, plus the icon shows the number of unread messages.
[Nexus 6 Q&A, Help & Troubleshooting] Onknight:
Okay when Make a Call the Dialer Display disappears after making call

I hear it ring but there no Display and I can't get to come back on at all

HELP!!!
[Nexus 6 Q&A, Help & Troubleshooting] garyHal:
Are you on Marshmallow?

I am on Lollipop and I am not sure if I am seeing the same problem. As soon as I click on the CALL button after dialing in the phone number, it just drops back to the previous screen (recents, contacts, or speed dial). I have to perform the procedure a second time and it works. I noticed this problem happening since last week.
[Nexus 6 Q&A, Help & Troubleshooting] Onknight:
Yes look at my sig Android 6.0 marshmallow Rooted with Twrp

I lose all Display completely even if I go back to L
[Nexus 6 Q&A, Help & Troubleshooting] Onknight:
Found the Problem It was the Protective Case built in Screen Protection .

The Unicorn Beetle PRO Series is great case if buy one remove the Screen protector

and buy one that attaches to the phone Directly
[General Questions and Answers] BoobieMaster:
Hello guys as you can see this is my first post , so here it goes:

Do you have to be rooted to use TWRP Recovery with Odin on a soft bricked phone (Samsung

galaxy S3 sprint sph-L710) and make and nandroid backup directly into your pc and them

restore the backup from your pc to your phone

and them flash the boot.img that was created during this backup?

Would this save my phone and all the data? will everything remain the same

even if im doing the backup after the phone went bricked?

also if i can do the nandroid backup on a soft bricked phone , can i just save it to my pc , get the boot.img and flash it without having to restore the backup?

Thanks
[General Questions and Answers] BluT00th:
1. Yes, Root Is required for any Custom Recoveries.

2. No

You should use an RUU to reset your phone, and retry rooting
[General Questions and Answers] BoobieMaster:
Phone is soft bricked , do i need to root after installing TWRP? but if i root them all data , and family pictures, videos, messages are going to get deleted, this is my main concern right now.

Just trying to figure out how to get it back up without having to wipe everything.
[General Questions and Answers] BoobieMaster:
So is this possible? create a nandroid backup on a bricked phone , save it to your pc and just flash the boot.img without having to restore the backup or root your phone? someone please point me into the right direction , i almost have a week without phone and reading making research and still cant get it
[General Questions and Answers] BluT00th:
Chances are, you won't be able to save your data, I'm not aware of any method to get data off of a soft bricked phone.

I soft bricked mine once, usually it means your pretty much screwed. If anything. Try plugging it into a computer and seeing if there is any files. If not.. use an RUU and try to not be to upset about losing everything.

---------- Post added at 05:57 PM ---------- Previous post was at 05:54 PM ----------

I'd alsor ecommend using dropbox from now on to backup photos. Its what I do.

Also, keep a backup on your computer... Backups of backups man.
[General Questions and Answers] BoobieMaster:
If this is the case so why many ppl are saying that they just flash the boot.img thing and the phone goes back to life with everything intact. A lot of ppl recovering their data from this soft brick problem. I know is possible i just need someone with enough experience to help me out with the questions that i stated above.
[General Questions and Answers] BoobieMaster:
So anyone? somebody? just clear up this one for me

even if the phone is bricked, can i root it , install wprt recovery , make

nandroid backup , flash new stock rom to unbrick and them restore the backup? does this sound like a good idea?

They also say that you can flash the stock rom without wiping , and this can also

fix the problem without losing any data? is this true? dont need to be rooted for this?
[General Questions and Answers] BluT00th:
Again, you can't root without any firmware.
[General Questions and Answers] BoobieMaster:
ok , seems like i am a super noob cause this is the first time im dealing with this so

i was in the TWRP recovery official page and went to download it for my specific device and it says (No Root Required) . So this means what?? what does this means , cause u would normally understand that u can install this custom recovery without being rooted , thats what i understand when it says "No Root Required" , or can you clear this up for me? thanks

"TWRP Install (Requires TWRP 2.8.4 or higher already installed):

Download the latest TWRP image file (.img) from the download link and boot TWRP. Go to install and find and select the Images... button. Browse to the image that you downloaded and select it. Choose recovery and swipe to flash.

Odin Install Method (No Root Required):

You will need to download and install Odin on your PC. Once you have Odin installed, download the proper .tar file for your device from the download link above. Power off your device. Turn on your device using the proper key combo to get into download mode and attach the device to your computer via a USB cable. Use the PDA tab or button to browse to and select the tar file that you downloaded and flash the device.

Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install."
[General Questions and Answers] BluT00th:
If you have ODIN you dont need root.

-If you don't have ODIN then you need root.

---------- Post added at 02:14 PM ---------- Previous post was at 02:12 PM ----------

If what you have posted is correct. You have accidently removed the ROM on your phone, which means you have no Firmware. So you dont have anything to boot onto except the bootloader. But if you have USB Debugging Enabled, you should be able to PUSH a new ROM on to the device.

---------- Post added at 02:15 PM ---------- Previous post was at 02:14 PM ----------

But your issue is that you need a Stock-Android ROM for TWRP to patch, which you dont have.
[General Questions and Answers] BoobieMaster:
The phone goes into download mode , i didnt do nothing , i just restarted and it gets stuck on the samsung logo.

So if i have odin in my pc , i can go to download mode, install custom recovery which in this case is TWRP, make a nandroid backup , decompress the file , extract the boot.img and flash it with odin? or after making the bckup

just flash the stock rom and them try to restore it? which one sounds like a better idea?
[General Questions and Answers] BluT00th:
It will always get stuck on the Logo, cause it can't load up any software because it doesn't have any on the phone.

And yes, you can do that as far as im aware.

Otherwise just flash a stock rom and restore.

Or just find a RUU and re-root your phone.
[General Questions and Answers] BoobieMaster:
So u really can make a nandroid backup without rooting even if your phone is semi bricked and them try to restore it , i think i saw this in another post , sounds good me

i also downloaded a boot.img for this model and just going to try to flash that and see if it works, how can i upload that file over here so someone who knows can take a look at it and see if everything is ok? somebody? a mod? a programmer? why isnt anybody else responding to this? let me know how can i put this file up