yashsingh1/xdaforums huggingface dataset:
[Google Pixel 3 XL Guides, News, & Discussion] krabman:
Roger. I'm usually proactive about managing battery but this time around I thought I would do nothing and see if all the whiz bang auto stuff for battery, ram, brightness, actually worked. To my surprise they seem to be working as advertised although its taking some time. I am loosing patience with the auto brightness, it appears to have settled into being exactly not quite bright enough in every situation. I've been dutifully adjusting it so it can learn my habits and am still doing so but I'm no longer getting the feeling that it's improving.My phone used 2% last night BTW, I'm an old man so night means about 5 hours. For reference I'm mostly stock, I did switch out the horrid stock gestures with one plus and at this time thats my only mod. No facebook app installed. My smartwatch isn't installed. I leave all the radios on except for NFC. All the management has been left in auto and it's been doing it's thing since the 23rd when my phone showed up.
[Google Pixel 3 XL Guides, News, & Discussion] masri1987:
So here are my results... With adaptive battery off.

Screen off but awake should be taken into account I was on a 1hr+ phone call.

Also did another 1.5 hrs via WhatsApp video chat.

Spotify for 46 minutes while at the gym via bluetooth streaming.

Tons of facebook snapchat etc.

Overnight I lost 3% over 8 hours idle which is much much better...

I definitely got more use out of it than I did when I had it under adaptive battery mode.
[Google Pixel 3 XL Guides, News, & Discussion] mauaus:
wow, looks like no adaptive battery is the way to go for now, gonna give it a go
[Google Pixel 3 XL Guides, News, & Discussion] TonikJDK:
Maybe. Or does it use battery as it learns....then the end result is better afterwards. I have no idea, the question just popped into my head.
[Google Pixel 3 XL Guides, News, & Discussion] mauaus:
How long does it take to learn though 10%+ overnight idle drain seems excessive and it should detect the culprits faster if the phone is not in use.
[Google Pixel 3 XL Guides, News, & Discussion] masri1987:
pretty certain if i didn't have the 1.5 hr phone call and whatsapp video call i'd be near 7hrs of SOT.

I'm charging it back up, will report back on second charge.

PS- with adaptive battery on, my idle drain was stupid.
[Google Pixel 3 XL Guides, News, & Discussion] Paz9:
my GPS icon keeps showing up.... i dont have any apps that require GPS other than the standard google stuff

might attempt to disable google now and see if that fixes the issue
[Google Pixel 3 XL Guides, News, & Discussion] Golf c:
That was happening to some of us that were running the Google app beta. Downgrading to stable has fixed it.
[Google Pixel 3 XL Guides, News, & Discussion] Paz9:
not using beta....
[Google Pixel 3 XL Guides, News, & Discussion] masri1987:
Left adaptive battery on.

Overnight loss is 11%

Look at the awake screen off time.

5 min phone call. Little WhatsApp and Facebook use.

With adaptive battery off I had 1.5 hour phone call 1 hour WhatsApp video call. Nearly 6 hrs sot, 3% overnight loss
[Google Pixel 3 XL Guides, News, & Discussion] c_86:
Mine seems to be doing good.
[Google Pixel 3 XL Guides, News, & Discussion] jingzhou198:
i got the same issue like you of my pixel 3XL, I don't know if it's normal ... from 8am to 11am, i just sent a few messages and read some reddit news, now i have 78% left...
[Google Pixel 3 XL Guides, News, & Discussion] bobby janow:
I believe that is wishful thinking. I have 2 pixel 3 and each one has improved dramatically with it off. Perhaps a fix or update in the future will be better but for now I'm out.
[Google Pixel 3 XL Guides, News, & Discussion] Paz9:
adaptive battery off + naptime

thank me later :)
[Google Pixel 3 XL Guides, News, & Discussion] masri1987:
I thought naptime doesn't work with pie?
[Google Pixel 3 XL Guides, News, & Discussion] Paz9:
who said?

working fine here

also noted, Google play services is a beta version on the pixels

and if you go to apk mirror there is an updated beta version

won't let you install anything other than 14.5.73 (100400)

see if that helps
[Google Pixel 3 XL Guides, News, & Discussion] masri1987:
Google play store page for naptime doesn't list pie.

Thanks didn't know that @ Google play services .
[Google Pixel 3 XL Guides, News, & Discussion] Paz9:
I find it strange only the beta versions have 100400 version for pie

and are the only ones available to install
[Google Pixel 3 XL Guides, News, & Discussion] masri1987:
With adaptive battery off

1 hr 20 min Spotify while at gym

33 min phone call too.

I know the difference seems minimal but when you're OCD it's huge
[Google Pixel 3 XL Guides, News, & Discussion] mrwicked:
Went into Verizon last night to try and get an exchange cause mine is still draining rapidly. Anyways, there was a google guy in the store and he told me that they are working on a update to fix the battery drain issue as this happening quite a bit. He said it's supposed to be available sometime in Nov. So they advised me to wait and see if this fixes my problem, and if not then come back and they'll give me an exchange for a defective unit. Guess we'll see!
[Google Pixel 3 XL Guides, News, & Discussion] old_fart:
I went down through the seven pages and I am pretty sure I did not see any mention of Greenify.

Last night I got un-locked and rooted and then GreeniFy went from being a puppy dawg to a bull mastiff. There were "SO" many apps "on" and not sleeping . . . . . . and carrying on a conversation with the mother ship . . . . . . . . yikes !

.

Kernel Adiutor ( strange spelling ? ) now shows me the phone is in "Deep Sleep" ninety six percent of the time now. . . . Hello longer battery life !
[Google Pixel 3 XL Guides, News, & Discussion] shawn605:
I don't watch my battery too closely... But with heavy use and a bright screen I can basically go from 7am to 4pm until I start to plug in.
[Google Pixel 3 XL Guides, News, & Discussion] karikian:
Originally posted this... nothing really changed much. Pixel 3 XL is horrible with the battery when compared to Pixel 2 XL. What a disappointment in this phone, all over the place. Battery, Buggy, Notch, Audio Recording, Video Recording, Face Unlock, Gestures, etc. What a waste of hard earned money. Of all Pixels and Nexus, this is together with the Nexus 6, the most I have been disappointed.

I truly love these phones, what they represent and all, but after years with the 'google phones', it might be time to try something else.... seriously.... with this phone, the fact that I still did not receive a $50 credit from google, and all these $300 discounts, with free pixel wireless charger and pixel earphones, after 2 months from launch, it makes me extremely disappointed of being an early adopter. Next year I am definitely waiting until January, after reading all reviews and trying it out first before I buy, or just getting a different brand phone.

I am very disappointed this time around.
[Google Pixel 3 XL Guides, News, & Discussion] flavioa:
Agree with you 100% . Only switched to my 3xl because I got it for 90% off through my work discount. The battery life is absolutely horrid. I went months with my xs max and had never rushed home to charge my phone. I'm always around 60% when I get home from work. Today with my pixel I come home with 18%. Also these phones do not represent what they used to. Google has locked down on the customization and user options (opposite of what Android is supposed to be). Found out today that the notification shade is forced to be dark if messages apps are on dark mode even if my theme is on light. Makes no sense. Stuff like that irk me so much cause that's not what Android is.

I feel bad for you if you paid 900$. Working for Verizon we have this at 400$ off right now
[Google Pixel 3 XL Guides, News, & Discussion] namura:
Hi guys, I've also had some battery drain issues as well. For me, most of my usage is on Whatsapp, Google Maps, Chrome, calls etc. What I noticed is Google Play Services tends to take up quite a bit of battery (at least on my device) up to 15% on some days. I'm running the Dec update (clean flash), rooted and the Proton kernel.

Anyhow, I installed GSam and found that my device is constantly coming in and out of deep doze. I have Naptime installed with aggressive doze enabled and adaptive battery disabled. It would go into Doze for a very brief period and come out of it, and re-enter doze (I guess perhaps because Naptime reapplies the doze after a while as I enabled the setting).

My guess was perhaps my usage pattern was causing the deep doze to stop and it was up to Naptime to reapply the doze. I.e walking, driving to work, commute, going here and there in the office, but there are periods where the device will be still.

Going by that, instead of using Naptime or apps to force the device to doze, I went about tuning the Doze parameters instead. The basis is that, I want at least light doze to be activated when I'm going around and it should be activated as soon as possible rather than waiting for a long time. And since light doze ignores the motion of the device and stays active, there will hopefully be some battery savings there. And when the opportune moment arrives, I want deep doze to be active.

Here's my Doze settings that can be applied via ADB:

settings put global device_idle_constants light_after_inactive_to=5000,light_pre_idle_to=10000,light_max_idle_to=86400000, light_idle_to=43200000,light_idle_maintenance_max_budget=20000,light_idle_maintenance_min_budget=5000, min_time_to_alarm=60000,inactive_to=120000,motion_inactive_to=120000,idle_after_inactive_to=5000,locating_to=2000, sensing_to=120000,idle_to=7200000,wait_for_unlock=true

Basically it activates light doze after 15 seconds and remains active for 1 day. It should check to see if the device can go into deep doze after 3 minutes.

This seems to help me a little as I didn't keep records of usage prior to applying this, but in GSam it shows the device going into deep doze, and when I'm moving around, it's in light doze, which then goes into deep doze once the device is stationary again.

Other notes:

1) Deep doze and all may cause some notifications to be delayed as I've set the maintenance intervals to be really long, so you may have to remove restrictions on them

2) I also enabled battery optimization on Google Play Services and restricted background usage

3) Doze settings gets overwritten from time to time. To prevent this, there's a service/package to disable or the settings can be applied via tasker.

Not saying that this will completely resolve all battery issues as there's a possibility the doze problems I am facing are mine alone. But hopefully it helps :)

P.S: I had to reformat the command as it is quite long and noted there's some spaces added into it. There should be no spaces in the numbers and it should be executed as one single line
[Google Pixel 3 XL Guides, News, & Discussion] Jay01:
How much did your battery performance improve by doing this?
[Google Pixel 3 XL Guides, News, & Discussion] namura:
Unfortunately I did not keep written records of the actual usage. However, for me, prior to this, on the end of an average work day, I would have around 75 - 80% battery left. Today by the end of the work day (6PM) , I had around 88% battery left.

This is just my subjective observation based on my usage and I'll probably try to do some objective measurements when time permits. But certainly hope it helps those who are experiencing some battery drain and be good to know if it works :D
[Google Pixel 3 XL Guides, News, & Discussion] flavioa:
After a few days adaptive battery is doing a better job. I'm averaging around 5.5 hours of sot . Idle battery can still be better
[Google Pixel 3 XL Guides, News, & Discussion] Jay01:
interesting...from what time to what time would that be?

I usually take it off charge around 8AM and by 6PM I may be down to 20 to 30% depending on usage sometimes more and sometimes even less, I haven't kept record of SOT, I will do next time.

do you use your phone through out the work day?

The reception at work is quite spotty for me so that may add to the bad battery life.
[Google Pixel 3 XL Guides, News, & Discussion] namura:
The timings for me is from 8:30 AM (when I take it off the charger) till 6:00 PM (end of a typical work day). Reception wise at my office is fair, not the best I'll say since I'm on the lousiest network here :P

I noted the following values in GSam:

2/1/2019:

- Some basic changes in the Doze config based on what was pasted earlier

- Held awake = 1 hour and 51 seconds

- Percent left at 6PM = 88%

- Screen on time total approx 15 minutes

3/1/2019:

- Additional changes in Doze config where values were reduced to 15 seconds for max_temp_app_whitelist_duration and notification_whitelist_duration

- Period between maintenance windows increased to 6 hours and some other minor tweaks

- Held awake = 35 minutes and 50 seconds

- Percent left at 6PM = 91%

- Screen on time total approx 10 minutes

My average work days is typically one of 2 scenarios:

1) Office bound, basically access to a desk, and hence the phone is normally used only for calls, Whatsapp (and Whatsapp Web active throughout the day), casual surfing etc

2) On the road, basically driving and walking, moving around etc where there will be times the phone is stationary

The above numbers are for scenario #1. I will probably get to check out how well (or badly) it performs for #2 tomorrow and the coming days.
[Google Pixel 3 XL Guides, News, & Discussion] Jay01:
ah okay, here is my stats so far according to Digital Wellbeing + Battery Usage:

Maps - use it in the morning for navigation - 30min with Podcast - 30min

Twitter - 22min

WhatsApp - 14min

Instagram - 6min

gmail - 6min

and few others but very little usage on those

plus I have a smart watch so Bluetooth is constantly connected

SOT is 2 hours and 6 min and have 32% left and it is nearly 5pm
[Google Pixel 3 XL Guides, News, & Discussion] namura:
I've had quite similar usages before although probably not with the same apps since I'm neither on Twitter or Instagram. I'm not a battery expert but 2 hours ish SOT sounds on the low side because I recall similar usages landed me to around 65-70% remaining.

Have you tried restricting your apps? I found that it helps quite a bit. Another bit I noticed for the P3 XL, at least compared to my 6P is that some apps tend to cause Google Play Services usage to shoot up, i.e Maps being one in particular for some reason. I use Maps a lot and hence that was driving me up the wall.

If you're in an area with poor coverage things probably tend to be worst as your radio is working harder, plus what I found is the phone tends to access Google's servers for silly things such as getting a time stamp and sending usage stats. Failing which it will keep trying. That's probably another thing draining the battery I guess. Just my 2 cents.
[Google Pixel 3 XL Guides, News, & Discussion] Jay01:
Yeah, 2 hours of SOT is not good at all but I think may be the poor reception has a part to play in this too.

Regarding the Google Play Service, is there any way to see which particular service is causing the battery drain, would GSAM give a better insight in this?
[Google Pixel 3 XL Guides, News, & Discussion] namura:
Yeah I would imagine the reception has a role to play. But GSam can probably give you a better insight on the signal quality distribution as they've got a panel for it.

I'd also like to know if GSam can help identify which app is causing the drain or utilization on Google Play Services. On my end by the time I installed GSam, I had already enabled battery optimization on it, so I didn't really check or find out more. Perhaps someone here could share their experience on this?
[Google Pixel 3 XL Guides, News, & Discussion] Jay01:
Which one is better, GSAM or AccuBattery?
[Google Pixel 3 XL Guides, News, & Discussion] v12xke:
This is my opinion, and others may have a different view: Both are great, but serve different purposes. Although Accubattery does have some "discharge" information, I would call it bare bones. What it does very well is record a detailed history of CHARGING and will give you a very good estimate of your battery's capacity as compared to a new battery. It also has a charging notification that can be customized but I don't use that feature. GSAM has much more detailed information on what is discharging your battery. You first use Accubattery to determine the health of your battery. If the battery is capacity is very good (95%-110%) and you still have a significant drain, GSAM or BBS will help you identify the app/process/wakelock that is causing the drain. The built-in battery monitor is pretty good, too. On the Battery Usage page, you can use the 3-dot menu to toggle between "full device usage" and "app usage".
[Google Pixel 3 XL Guides, News, & Discussion] masri1987:
an update on my end,

Battery drain is not consistent, and it really comes down to awake while screen off.

I've had full charges with 3-4 hrs of SOT with equally high standby drain and full charges where the stand by drain is 5% while i get 6-7 hrs of SOT.

With either franken or Kirisaku (sp) kernels.

What gives with this? what is it? I can reboot it immediately when i notice that the stand by drain is wild and it'll be fine after a reboot , why does this happen
[Google Pixel 3 XL Guides, News, & Discussion] cougar11:
Just got the phone in Xmas .... Had the 2xl previously. This phone is way better on battery life than the 2xl.... That's for sure. Getting 5.75-6hrs+ SOT on the 3xl compared to 5-5.5hrs on the 2xl
[Google Pixel 3 XL Guides, News, & Discussion] namura:
This is exactly the issue I noticed. Basically what I noticed was the time held awake when the screen is off can fluctuate wildly. Hence I've been trying to keep it as low as possible by dozing it off.

One thing I also noted is that disabling certain kernel wakelocks has an impact to the amount of time held awake. My observation so far is disabling IPA_WS wakelocks and IPA_RM12 ended up causing held awake times to go up and spikes of consumption (and odd looking drain patterns) versus just leaving them unblocked and the device will exhibit a fairly flat drain pattern.

Anyhow just for sharing as I was just experimenting disabling them. I had to re-enable them and reboot in order to get back a flat drain pattern.
[Google Pixel 3 XL Guides, News, & Discussion] devsk:
That's the cause of nearly 100% held awake for me. It was draining 1.5% per hour on idle. It was working fine for several days and then, it went nuts yesterday and I was wondering what's going on.

Disabled the "Double tap to check phone" and its gone. These sensors sometimes malfunction and software goes bonkers. The sensor service was the top CPu consumer alongwith the system_server.

I also tried an experiment: killed the system_server from adb shell and as expected, it restarted a bunch of system services without rebooting the system. But it got rid of the cpu being consumed by the sensor service, as well as freed a bunch of RAM not accounted for in processes' memory usage (i.e. memory leaks).

Another thing I noticed is the google keyboard calling home repeatedly, and being denied by afwall+ and spamming the logs. swiftkey is no better, it does the same thing. I don't want my keyboard to talk to cloud repeatedly. I think that's the battery cost you have to pay to stop these buggers from logging everything I type in the cloud. Also, none of these keyboard programs hibernate. Keyboard is an interactive program, it should be the first one to sleep off when system goes idle, but no, these remain one of the top cpu consumers (look at CPU time accumulated over time in 'top').
[Google Pixel 3 XL Guides, News, & Discussion] jiexi:
What app are you using to get that log?
[Google Pixel 3 XL Guides, News, & Discussion] devsk:
logcat -d
[Google Pixel 3 XL Guides, News, & Discussion] namura:
Do you happen to have a sample of the log where the Google keyboard is calling home repeatedly? I also noticed that the device keeps calling googleads.g.doubleclick.net almost every hour.

I added a host file entry to 127.0.0.1 to stem it. Maybe I'll also do the same for Google keyboard.

With regards to sensors, I have noticed the finger print sensor can cause a lot of wakelocks at times when it's in my pocket, probably because it's detecting skin contact. I've kinda faced it the other way round now.
[Google Pixel 3 XL Guides, News, & Discussion] malek777:
I've noticed that ambient display is always the highest on my list of battery drain. I've never had this problem on the pixel 2 xl. Most of the drain happens in standby mode.
[Google Pixel 3 XL Guides, News, & Discussion] Jay01:
same here
[Google Pixel 3 XL Guides, News, & Discussion] Thegirlwiththepixel:
Just posting to follow this thread. Just got my pixel 3 days ago.

Running stock. Unplug at 7:30am every morning and I'm around 60% by 1pm.

Will follow for a bit longer then root and mod with the best suggestions from here.
[Google Pixel 3 XL Guides, News, & Discussion] namura:
Here's my result after a few weeks of testing and some tweaking of the doze settings.

Standby drain throughout the day is approx 0.8%. In terms of screen time, I normally get around 2h45m to 3h which will leave me with around 58% battery at the end of that period.

Some other bits I changed (disabled auto rotation as apparently I read somewhere it causes some drain, changed the doze behavior based on my current usage to reduce time spent on the motion sensor and some other small changes like restricting Android system.

Hope this helps :)
[Google Pixel 3 XL Guides, News, & Discussion] Rafsxd:
I gave it a try to this solution. Apparently works while I've stay at december patch. I got 7:30 of screen time. But, since the january update, my SOT is pretty crappy (4:00, 4:30 at max). Should I repeat these steps? I've tried to clear cache and dalvik and I can not find where using the stock recovery. Any ideas?
[Google Pixel 3 XL Guides, News, & Discussion] wtharp2:
You may need to have your phone relearn your battery. Unfortunately, I am not in a place to look up those steps for the Pixel 3 at the moment. Hopefully someone else will chime in. Alternately, google for the procedure, and look at any of the Pixel generations for the procedure -- it should be similar.

Alternately, you do have a piece of hardware that is malfunctioning, such that each new update will require a relearn that the phone isn't starting automatically.

My advice is to see if you can get it working again, this time, and if it happens again, contact Google.

Good luck, in any case.
[Google Pixel 3 XL Guides, News, & Discussion] Rafsxd:
So, do I have let my battery die 3 times like your inicial advice? I think there is no dalvik and cache in Android 9. That's why I could not find it. BTW, how I manage doze mode in Android 9? I can't add or exclude apps on my free will.
[Google Pixel 3 XL Guides, News, & Discussion] devsk:
So, when the sensors are not going berserk, I get excellent battery life. I am a light user, I can last several days on my Pixel 3 XL e.g. after 1.5 days, I have used only 1/3rd of the battery with 3hrs of SOT. Most of that SOT is playing sudoku, emails, whatsapp, browsing, few calls, few videos etc., no heavy duty games or prolonged videos. I am using auto-brightness and Pitch Black theme (which I have calculated to be the best theme battery life on Amoled). My wifi and lte turns off at night during 8 hours of sleep. My bluetooth and location turn on only when I connect charger in my car, they are mostly off when I am not using them for songs/maps.

When sensors go berserk, I know it because idle drain goes to 1.5 to 2% per hour instead of less than 1%. I just reboot at that time. My U11+ never gave me this issue and gave similar excellent battery life sans the reboot part.