yashsingh1/xdaforums huggingface dataset:
[Nexus 5X General] crazyates:
Here's what I use:

Pure Nexus ROM

Jolla Kernel

Data & Cache are on F2FS

CPU Governor: Butterfly

(I have disabled BIG cores. I don't game, phone runs fine without them, and it saves prolly 5%/hr battery with them off)

GPU governor: powersave

I/O Scheduler: Zen w/ 1024 readahead (I have 16GB 5x. If you have a 32GB, use 2048)

TCP algorith: Westwood

Greenify (donation package, root permissions, aggressive doze, doze-on-the-go)

Location services off

With static brightness set to 25-40%, I get about ~20-25% drain/hr SOT. With adaptive brightness, I get ~15-20% drain/hr SOT. I am a pretty light phone user, so I've been getting ~2 days of battery usage with ~2-3 hours SOT
[Nexus 5X General] EstiR86:
Pretty much what I have just different ROM and I set the input milliseconds on butterfly to 460 instead of the 40. Works much better. Active drain for me is around 13% and I have big cluster on .
[Nexus 5X General] namnoops:
Awful battery life after March update

Running on complete stock, no root. Since the March Security update I'm having awful battery life. My phone drains about 25% overnight, and lasts 10-12 hours standby with only 1:00-1:40 hours SOT. This is when the exact same usage used to last 18-24 hours standby with 3:00-4:00 hours SOT. Nothing has changed except the update. Has anyone else noticed this?

Wake Lock Detector Lite (WLD) does not always show full info without root, but when it did, I managed to conclude that Bluetooth share has loads of wake locks. I have a Garmin sports watch that's connected with BLE, but that's nothing new. Attached two images.

Has anyone else experienced this? Can anyone shed some light?
[Nexus 5X General] bblzd:
If you're having troubles after a system update that rebooting doesn't fix, try clearing your storage cache. Settings > Developer options > cached data, then reboot.

If you suspect it could be BT related, try not using BT and comparing.
[Nexus 5X General] namnoops:
Clearing the cache changed nothing. I will try to disable BT and see if battery life goes back to normal. I'm just wondering if I'm the only one who saw this 70% decline in battery life with the March security updates...
[Nexus 5X General] bblzd:
Just realized I mixed that setting up, it's actually Settings > Storage > cached data, then reboot.

Give it a couple charge cycles to rebuild the cache after.

If the issue continues it might be related to something running in the background, developer options > Running services can monitor your apps which are using system resources 24/7.

Updates don't tend to cause +/- 70% battery life, but random issues can happen for some users.
[Nexus 5X General] crazyates:
I just wanted to give an update on this. I have switched to Project Fi, and my little WiFi-workaround is working beautifully! Anytime I'm on WiFi, I can call or text with no issues, so I have absolutely no need to have a cell signal. The only issue I can possible foresee is if I'm on a phone call while I'm leaving the building, as it will drop the call before the airplane mode turns off.

If anyone wants to recreate this and try it for themselves, you'll need to use ADB. Here are the commands:

First verify what radios are actually shut off by airplane mode:

adb shell settings get global airplane_mode_radios

I got cell, bluetooth, wifi, nfc, and wimax. Now re-enter whatever you received on your output, minus the wifi. Do NOT just copy and paste what I used, which was the following:

adb shell settings put global airplane_mode_radios "cell,bluetooth,nfc,wimax"

After that, I used Tasker with root permissions with a simple Profile of "Wifi-connected" with a task to enable "Airplane Mode".

I've also instituted a GPS location services tweak that fires up my GPS when my Google Maps is launched, and disables it when the screen is closed. Again, it's a simple scan for when Google Maps opens, it runs an adb shell to add gps and network to location services, effectively turning it on:

settings put secure location_providers_allowed +network
settings put secure location_providers_allowed +gps

When the screen turns off after I'm done with my Maps, it disabled the location services:

settings put secure location_providers_allowed -gps
settings put secure location_providers_allowed -network

I'm running Pure Nexus ROM, ElementalX, GlassFish 1.2, zen w/ 1024 readahead, westwood, Greenify w/ aggressive + on-the-go doze, and Tasker with the above two tweaks. After about 72 hours of usage, I'm getting ~0.7% drain/hr with screen off, and ~14-16% drain/hr with screen on and light usage. This is the first time I've been consistently under 20% drain/hr, so I'm verrrry happy! I'm hoping for 5 hrs SOT in a single day, or 3 hrs SOT over two days. Will report back once I go through more drain/charge cycles.
[Nexus 5X General] namnoops:
Thanks, I know where to clear the cache ;) It's been 7-8 charge cycles since clearing it. No change. Shutting off BT didn't change anything either.

There was no change other than the March update, no app installed, no app uninstalled, absolutely nothing.

Constantly getting 1.5hrs SOT. I guess my best bet now is to factory reset the phone and see if it goes back to "normal"...
[Nexus 5X General] Sary96:
Lately I noticed that, when I'm on WiFi, Doze doesn't work.

Tonight I forgot do turn on airplane mode, and in the attached screenshot you can see what happened: the phone remained active while I was sleeping. I tried to do the same thing with mobile data on, but in this case doze worked very well.

Do you know if there is any way to fix this? (I'm running 7.1.2 beta)
[Nexus 5X General] EeZeEpEe:
You can replicate this every night while on WiFi? It was this a one time thing?
[Nexus 5X General] Sary96:
It always happens

I did some search, and it seems like it's caused bt the univeristy wifi (Currently I'm in a dormitory)

I'll make some test when I come back home
[Nexus 5X General] pakudaboy:
can confirm March update consume way more battery....
[Nexus 5X General] rubenchu1997:
Changed my battery

I have recently changed my battery but I can't see any tangible improvement in battery life... And my volume up key now is broken so I think I f****d it up?
[Nexus 5X General] EeZeEpEe:
No screenshots, no details? Way more than what exactly?
[Nexus 5X General] pakudaboy:
purenexus, March build compare to Feb build.

I've tried updated the google play service too...with exactly setup, i get 5% drop per night (7 hours) to 20%+...
[Nexus 5X General] hbk505:
Hello good morning, I come to expose a problem that I have with my nexus 5x, to say that it is new.

The battery came to me unloaded and when I put it to charge began to charge from 34%. I charge it up to 100% and I left it turned off by myself and I have a full charge.

Yesterday I turned it off with 54% and this morning I turned it on and I had 19%.

Does this have a solution? This is not very normal.

To say that I updated it to 7.1.1 and March patch, I had not updated since October 2015.

regards
[Nexus 5X General] EeZeEpEe:
Consistently 20%+ drain every night? I actually had similar drain last night from 42% to 18% over 7 hours but I was still connected to my Pebble so unsure if that was my issue. I'm usually plugged in over night so don't have anything to compare it to.
[Nexus 5X General] crazyates:
I'm on the newest March build of PN (with newest ElementalX), and I lost 3% last night. I was in airplane mode with wifi on. I dropped from 73-70%, and reset my EXKM battery monitor right before I went to sleep, and it said I was averaging <0.4%/hr. Everything seems normal here...
[Nexus 5X General] pakudaboy:
yeh, it's crazy...

i've done clean install again, and with greenify + exm (elemental kernel with hawktail1.2 profile) still the same.

i used bbs to check battery drain but can't seem to find what's wrong
[Nexus 5X General] crazyates:
What does your App battery Usage screen tell you?

I would try downloading "Wakelock Detector" and to see what's keeping the phone on all night.

Side note, I'm assuming you're rooted? If you've wiped the system, cleared cache, and still had the problem, have you made sure your vendor, bootloader, and radio images are all up-to-date? I'm thinking it could be a stuck radio that's always on when it's not supposed to be from an older image? That happened to me: I was manually flashing system updates for almost a year, but had forgotten to keep my radio and bootloader images up-to-date, so I was on a 7.1 ROM with a 6.0.1 bootloader and radio version. Oops!
[Nexus 5X General] pakudaboy:
yeh i always do clean flash (and rooted)

how do i update radio firmware and bootloader tho?
[Nexus 5X General] crazyates:
AFAIK, there are 8 images that need to be managed:

Bootloader - Updated with fastboot from Stock Google images

Radio - Updated with fastboot from Stock Google images

Recovery - TWRP (most people know how to do this)

Vendor - Used to require Fastboot to upgrade, but can now be done with TWRP

Boot - Installed by ROM

System - Installed by ROM

Cache - Wiped by TWRP

Data - Wiped by TWRP

The easiest way to explain the upgrade proceedure for vendor, radio, & bootloader is to link to the Pure Nexus ROM FAQ, specifically:
[Nexus 5X General] EstiR86:
Try a new ROM Dirty Unicorn is flawless
[Nexus 5X General] pakudaboy:
Is there a Nougat version of DU?

thanks.
[Nexus 5X General] EstiR86:
Yes there is.

http://dirtyunicorns.com

Just go to options tab top right and click download choose Bullhead assuming you want the ROM on the Nexus 5x. Download gapps I recommend opengapps.
[Nexus 5X General] CazeW:
If you're getting consistent 20%+ drain during the night, you can't identify the culprit through BBS and the system battery stats shows that the phone hasn't been active, that's a hardware issue. That's exactly what I had and I had to get the motherboard replaced to fix it. You can confirm if you have the same problem by installing a custom ROM without gapps and putting the phone in flight mode for the night (also set GPS, bluetooth, scanning etc off).
[Nexus 5X General] pakudaboy:
it's those crazywakelocks RILJ

I've downloaded wakelock detector and found so many wakelocks for phone and RILJ also some other stuffs.

---------- Post added at 12:45 AM ---------- Previous post was at 12:44 AM ----------

thanks!

will try it out now~

what vendor image does it use tho?

which kernel you recommend tho?

I've been trying EX (I've bought EX manager) and Jolla.

Can't really tell the difference..
[Nexus 5X General] EstiR86:
I'm using the latest Weekly verison of DU and it uses the march security update so that means it uses the latest vendor img.

I've been down the custom kernel route let's say more than once even created a few profiles for ElementalX manager and what I can tell you is that the Stock setting on DU is smoother than any of those kernel profiles and offers amazing battery life. Standy time is obviously less than 1% and I get 5 hours of screen on time. So what I'm saying is you can go and download a custom kernel or just go and keep the Unicornblood kernel it ships with. Also the default kernel supports some custom Io like Maple so all I did was change the Io scheduler and read ahead to my liking.

If you must need a custom kernel I'll try Phasma kernel very smooth or give Racer kernel a shot the dev is very active.
[Nexus 5X General] CazeW:
RILJ is the radio so if you put your phone in flight mode, you shouldn't get those wakelocks. Check if that makes any difference.
[Nexus 5X General] bblzd:
I experienced a random 40% over night drain this week as well. Luckily it was a one off as nothing in the stats had indicated the cause, we could call those "random Android hiccups".

If anyone is experiencing consistent drain like that you would want to check your background services, those are the most likely culprits. Developer options > running services.

Doze tends not to work consistently on my wifi connection but with less active usage 48 hours still seems doable.

Stock 7.1.1 March OTA, no root. 30-40% manual brightness, only Locations and BT disabled.
[Nexus 5X General] pakudaboy:
I'm on DU ROM now with DU's stock kernel + EX manager for gov tweaking + Greenify

will report back battery usage later :)
[Nexus 5X General] EstiR86:
Will be interested to see what you battery life is.
[Nexus 5X General] pakudaboy:
i'm down to 1.64% /h with wifi + mobile data on

I'm running facebook app + fb messenger too.

Trying out Apps Ops feature with DU to disable some running background services.
[Nexus 5X General] EstiR86:
Give greenify a shot also and honestly 1.64 % with Facebook is actually impressive the app itself is a monster you should look for a more battery friendly alternative
[Nexus 5X General] CazeW:
To be honest, 1.64% is crap. I have both of those installed and my idle drain with wifi and data on is 0.4%. Though I agree that it might be possible to save a little more with an alternative like Metal.
[Nexus 5X General] pakudaboy:
yeh, i think so too....

mind share what's your current setup please? :)
[Nexus 5X General] CazeW:
Stock 7.1.1 with ElementalX and using GlassFish 1.2.

Edit: And Greenify.
[Nexus 5X General] jrk190:
What's the consensus on governor so far?
[Nexus 5X General] EstiR86:
I guess your right but since he didn't have greenify I thought it was decent I get 0.3% drain with greenify and around 1.1% without.
[Nexus 5X General] pakudaboy:
i did have greenify tho, but i didn't greenify facebook messenger, wonder if that's the problem

i'm using fb meesenger to replace system messenger too.
[Nexus 5X General] EstiR86:
I wouldn't recommend doing that. Keep the Android messages app or try trexta
[Nexus 5X General] bromoxitos:
DU weekly with EX kernel!

i have the same too , i flash DU weekly last night with ex kernel( i lose the ota update but ok) in my 1st full charge with

ghostpepper

setings was amassing 4,26 SOTwith 40 min pokemon go and fb/viber.

i will test the

glassfish1.2

settings is more battery friendly, i will do a full charge and i will report with screenshots!!:D:D:D

p.s this rom is HELL YEA amassing :D ... stay dirty, never clean!!! :P
[Nexus 5X General] EstiR86:
Dirty Unicorn is my favorite ROM so smooth and battery friendly did you try the stock settings before switching? The stock settings used DrunkSauce profile and it flys on DU.
[Nexus 5X General] bromoxitos:
Yea!!!!! is one of my best ROMs I was use this rom since 2013 in my LG Optimus G great work..

Well no I don't, I flash the ex in the same time... But I will have it in my mind that you say, if goes something rong with ex.

At last I was ready to sell this amassing Nexus cose of the small battery life. But after this combination i reborn :laugh:
[Nexus 5X General] EstiR86:
Cool I'm getting 5 hours on screen time with 0.3 % idle drain so I'm happy.
[Nexus 5X General] bromoxitos:
great!!! yea more or less that was my SOT too if i don't play pokemon!! can you imagine? i hit 4.26 SOT with 40 min pokemon go this game drain the battery like crazy, with stock rom my maxSOT best time was 3hours with 35-45 min pokemon go... LOL!!!
[Nexus 5X General] EstiR86:
Lol give the app ops a look it's very handy to stop rogue apps
[Nexus 5X General] pakudaboy:
I'm tuning that APP ops too. turning off lots background and keep awake apps

question to everyone, do you guy buy greenify donation pack for doze system apps too?
[Nexus 5X General] EstiR86:
I just stick to the free version I'm squeezing 4 hours and 21 mins with 28 % left how much better can it possibly get?
[Nexus 5X General] bblzd:
Stock 7.1.1 March OTA. 30-40% manual brightness, only Locations and BT disabled.
[Nexus 5X General] -sandro-:
My problem is that on data (wifi disconnected) I can't get the phone to sleep or idle with minimum drain. If I move around cells let's not talk about... I see wakelocks continuously but the stats don't see anything strange. If instead I stay connected to WiFi in place where signal is between zero to no signal I get deep sleep with no battery drain. So it's something connected to Google/data. Location, scanning, Google now they're all off. I bet if I uninstall google services I would get an amazing battery life.
[Nexus 5X General] crazyates:
Someone was on here saying they were using a ROM without Gapps, and they were getting 7-8 hours of SOT. I would totally try it, but I use Project Fi, which requires the Google Play Services to work.

I would imagine if you were to repurpose the phone as an iPod or TV remote or something, you could run a ROM with no Gapps, sideload a few APKs, and get amazing battery life. Doesn't translate to everyday usage, but oh well... I guess I"ll just have to be happy with my 3 hours of SOT...
[Nexus 5X General] bromoxitos:
Well this is my daily use(heavy user) report with Dirty Unicorn ROM EX kernel with glassfish 1.2 all stock settings and no active power saver mode.

Screen brightness about 45-50% with automode .

Lot of game,chat, browsering, I don't know why Viber is out of the list but I have spend a lot of time with that app.
[Nexus 5X General] -sandro-:
anyone cares to share their battery stats while using only 3G/4G, if you can actually get flat standby graphs?
[Nexus 5X General] pakudaboy:
i still gets battery drain overnight, and most likely someone messaged me on facebook messenger when i sleep...

and i also found in wakelock detector under "kernel wakelock" i got about 3.5k wakelocks (24m 32s worth) of PowerManagerService.Wakelocks

also netmgr_wl too (24m 32s)

I wonder if Greenify is conflicting with the system doze and causing some kind of loop.
[Nexus 5X General] crazyates:
I run my phone in airplane mode with wifi turned on probably ~95% of the time. Ive been averaging 0.7%/hour screen off draw over the past week or so.

Funny, I remember my first Android phone had Gingerbread, and obvi I had it ROM'd with a kernel. I used it for two years, then before I retired it, I put it in airplane mode, and checked it every couple of days to see how long the battery would last. It made it almost 40 days on standby. I'm guessing my 5x couldn't even reach half that, even with Doze and Greenify and everything.
[Nexus 5X General] EstiR86:
Lol very true my phone would last like 12 days on standby which is good I guess.
[Nexus 5X General] -sandro-:
funny thing is even with aggressive dose some wakelocks still manage to drain battery outside the wakeup window, but they're so general of Android I can't find the culprit
[Nexus 5X General] pakudaboy:
currently trying without greenify or any other kind of doze apps

i think it's just natural of Nougat, MM was way better...lol
[Nexus 5X General] -sandro-:
my tryout was a failure because when I disabled Greenfy some unknown app or process kept GPS on every the minute...
[Nexus 5X General] pakudaboy:
do you have "NETLINK" spamming wakelocks ?
[Nexus 5X General] EstiR86:
I've found out that the phone app, google, play store services, and Android system have consist use of location permissions. So I disabled location permission for play store google and Android system and so far the drain has been less. The phone sleeps better for sure.
[Nexus 5X General] -sandro-:
yes it's one of the many
[X Style (Pure) Q&A, Help & Troubleshooting] silverblack:
Is there no way to totally silence the phone from notifications except for putting it into airplane mode ? At the moment all i can see is silence the ring tone.
[X Style (Pure) Q&A, Help & Troubleshooting] PiousInquisitor:
Hit the volume button, select Priority mode. To edit the notifications that come through on priority more go to Sound and Notifications, Interruptions. It's probably already setup like you want though.
[X Style (Pure) Q&A, Help & Troubleshooting] Stryder5:
Xposed has a module for silent mode. Requires root though.
[X Style (Pure) Q&A, Help & Troubleshooting] silverblack:
Im finding it easier just to put the phone in airplane mode.Dont want to root the phone either.

When i hit the volume key a slider comes up to silence ringtone, but too silence everything you have to tap the arrow and silence notifications too,but still get vibrate.Must be an App going about to silence it.
[X Style (Pure) Q&A, Help & Troubleshooting] PiousInquisitor:
You want to silence just the call volume but leave notification volumes alone?
[X Style (Pure) Q&A, Help & Troubleshooting] chris23445:
If you put the phone on priority, nothing will vibrate except what you set up to come through. I use priority at night, and have my texts and everything on silent, but my phone calls on volume so I will get woken up at night if it's an important call from family.

If you want completely silent for every app guaranteed, put the phone on "None". Everything will be silent.
[X Style (Pure) Q&A, Help & Troubleshooting] jayochs:
can just do voice command "(your wakeup phrase) good night."

automatically puts it into DND mode, and then when you wanna take it off, just voice "(wakeup phrase) good morning"

bam, all hands free. gotta love it lol
[X Style (Pure) Q&A, Help & Troubleshooting] jlong006:
So let me get this straight because its driving me nuts. As of now when I am in priority mode I get no vibrations even from starred contacts. I will get sounds from them but no vibrations. Soon as I cut priority mode off all vibrations return. Is this true for everyone else?
[Nexus 5 Q&A, Help & Troubleshooting] chrisnewton:
Hi all

My Nexus 5 has marshmallow and since then whenever I go to download an apk from the Internet I get a message across the bottom saying cannot download to the specified location.

Security is set to allow third party downloads etc.

Anyone else getting this?
[Nexus 5 Q&A, Help & Troubleshooting] Riekr:
Check permissions in the app info settings page and allow storage, i had the same issue with opera.
[X 2014 Q&A, Help & Troubleshooting] Lunatiic:
So, only issue I've came across after buying this device. When I'm on mobile data, doesn't matter if it's LTE, 3G or Edge, the mobile data works for some time and all of a sudden stops working, but no exclamation mark shows up on the data statusbar icon. If I open up the Speedtest, it get's the ping but fails to download or upload. I can't even connect to whatsapp.. If I'm scrolling through Instagram or Facebook, after a couple of minutes the feed stops loading. Only solution is to enter airplane mode and exit it, but again, data will only work for a short time.

Already tried to clear cache on recovery.

I'm running stock 5.1 on a XT1097 Pure ( Unlocked ).

WiFi works fine.

Same thing happens on Safe Mode.

Signal strenght is good, no drops at all.

Any ideias?
[X 2014 Q&A, Help & Troubleshooting] AGISCI:
You could try a factory reset.

Also check with your carrier, maybe it could be a problem with their network.
[X 2014 Q&A, Help & Troubleshooting] ashay_padwal:
Same issue

I'm facing the same issue after the lollipop update, later i updated to marshmallow but this outside is still there.
[XDA Assist] joek85:
hello , i have a samsung tablet GT-P1000 "A3LGTP1000",found that its not original,it is a korean copy,anyway I have already downloaded "android-4.1.2_r2.1" and i had a successfuly build for samsung crespo just for testing the build.

Now i have downloaded the kernel of the tablet from "opensource samsung site" and had successfuly build it,now i have a "zimage" file at "GT-P1000/GT-P1000_Kernel/Kernel/arch/arm/boot/".

The question is i need to build the android source for this device.

how to add it to the lunch menu and build it?

Thank you in advance,this is my first post on Xda,hope i can get help from you all,best regards.
[XDA Assist] joek85:
Anybody?
[XDA Assist] joek85:
now i have the binaries "lib,framworks,vendor,build.prop......."

now what?

help please.
[XDA Assist] Calin:
Hi and thank you for using XDA Assist :)

Try to head over here

It contains all the necessary things you should need to know.

Good luck!
[Xperia Z5 General] junghyun01:
I just got my amazing z5 graphite black and it really feels good in my hands! My first impression it have a very good screen saturation more than another xperia smartphones more smooth and look so classy! Anyway I really enjoy with it. Anyone love the back frosted glass like me? Does it will get scratch easily or not? It seems like it hard to scratch it i don't want to use the case or screen protector on the back! And in the front i already got tempered glass screen protector!

Regards, :D:D:thumbup::thumbup: