yashsingh1/xdaforums huggingface dataset:
[Google Pixel 7 Pro] Ponury666:
For all people struggling with battery life on LTE, I fixed my phone battery drain by the following:

Delete any APNs you have, because either they are corrupted somehow by the system, or Pixel imported your APN settings from your previous phone. Step 2 is to create a default APN with the phone APN menu. Step 3, go into that APN and edit every entry saying IPv4/IPv6 to IPv6 only.

This fixed my battery issue on LTE. Phone holds up 20-24 hours on a single charge wiTH moderate use and 5 hours SOT. Also, the phone doesn't heat up while using Instagram or heavy browser pages. It gets warmer by 3-5 degrees, but that's it. Finally can use the phone normally after a month...
[Google Pixel 7 Pro] Elnino225:
It is clear that the December update has significantly increased battery life ... 6:34 screen on 4G today wuaaww
[Google Pixel 7 Pro] Pinsoute:
For what it's worth : It seems that on my case, the abnormal battery drain is definitely caused by poor mobile network management.

In the end, it is quite simple for me : As mentioned earlier in this thread, when I am switching from 4G to 3G, the battery drains STOPS and the battery life is quite normal and as expected.

When switching back to 4G or 5G, I am experiencing again very high battery drain that is confirmed by what is displayed in battery usage parameters : Mobile network consumes a very high percentage of my battery on a daily basis.

I am now hoping for a major software optimization in the next months as a Christmas gift from Google...
[Google Pixel 7 Pro] DSF:
Does anyone has a sporadic wakelock named "AwakeLock" that prevents the phone from going deep sleep?

It happens quite often and it's temporarily fixed with a reboot. "Fix" lasts for couple of days or so.
[Google Pixel 7 Pro] Lughnasadh:
No such wakelock for me that I can see in my latest BBS dump.
[Google Pixel 7 Pro] Crissi V:
Hi!

Same issue here. I've already tried everything and the battery sucks, especially in standby mode. A 20% drain during the night can't be normal, the 2XL is still performing better! I really hope that the next updates will fix the problem
[Google Pixel 7 Pro] Yoshito93:
Hello, i am back with my update on the battery situation. During christmas unfortunately the battery kept getting worse. Now from 100% to 30% with no changes in my usage i get only 4hrs with 60hz display. To be honest i am very unhappy. Before the december update i was able to reach 7.30hrs of SOT with the same settings.

It's clear there is a huge software issue that make the battery drains.
[Google Pixel 7 Pro] danmaman:
You can Update to January Patch...it's way better

you can also disable UWB ....search for it in settings...

and there are lots of youtube videos about fix battery drain on pixel 7 pro

cheers
[Google Pixel 7 Pro] HipKat:
Moving this from the Kiri thread.

My battery drain is excessive. I got home from work, phone at 100%, put it on my desk, 1.5 hours later, down to 92% and I don't see anything here that stands out
[Google Pixel 7 Pro] chetly968:
So you're saying without using the phone at all it drops 8% in 90 minutes? That's worse than my Samsung s22 ultra. If I don't use my pixel 7 pro and it's just laying in my desk, I might lose 1% after 90 minutes. I have everything on that I could possibly have on. Bluetooth, wifi, gps, nfc, etc...
[Google Pixel 7 Pro] HipKat:
Same and this just started very recently. Right after I flashed the newest Kiri kernel but I don't see anything causing this, especially related to the kernel
[Google Pixel 7 Pro] noidman123:
edit: I've lost 3% since posting this lol. Again, not even actively using the phone. Just checking it every now and then.

I just wanted to chime in and say yeah my battery life has also been not great. FWIW I'm running Kiri kernel on Dec update. At home on wifi but poor 5g signal, I get decent standby (0.7%/hr more or less) but pretty poor SOT. At work where I have excellent, albeit 5g signal my standby battery life is significantly worse. EXKM says 1.5%/hr standby drain and 7.4%/hr active drain since last charge full charge, which granted was just over 24 hrs ago. BBS says 2.4%/hr drain over 6 hrs (just installed it today) from 71% to 55% while at work where I'm barely using it. It's my secondary phone so I don't use it as much as my primary, but I've never broken 2.5 hours SOT over the few weeks I've had this phone. Which is crazy because like I said, it's my secondary phone. I feel like there are a ton of times where I look at the phone, turn the screen off, then look again a few minutes later and I've lost a percent lol.
[Google Pixel 7 Pro] Josh:
I also experience bad battery life(drain).Disabled and turned off lots of stuff but consumption seems high. Today almost on Wi FI and little 5G (know that 5G consumes lots of resources but on 4G is the same. Huawei P30 pro which is two and half years old is better in terms in battery than 10 days phone. Overall its fast and love it but battery sucks
[Google Pixel 7 Pro] Schroeder09:
My pixel 7 pro battery life is okay, but it seems to have high idle drain. If I were to sit on this thing, constantly screen on time would not be an issue. On days of heavy usage i can easily get 8 hours of screen on time. I've never actually been on my phone that long in a single day, but I have had five plus hours with 30% left. I have a ton of weight loss. Poor signal does seem to affect it as some others have recently noted. As one or two members noted, the issue seem to intensify in December. How many people experiencing poor battery life are on the Verizon network? One thing I noted is that November had a Verizon specific update. December and January since that have not. Was the Verizon update? Optimizing signal usage and thus positively impacting or battery life? We have not had a Verizon specific update since November. I too agree that November is when I saw the best battery life on this phone. Idle drain is my issue. I have zero complaints with screen on time, battery usage and consumption for this phone.
[Google Pixel 7 Pro] Josh:
Yes,agree as I post screenshot above your post idle drain is issue so don't know what to do. If i go outside and use 4g network probably cannot be sure that battery will last before I came home when I was at work in nowere
[Google Pixel 7 Pro] Nemesis_FF:
I'm still very impressed by and pleased with the battery life. I haven't checked the stats in a while but today I was curious again. This is from today, mostly mobile data (maybe 15% wifi), over 2h navigation with google maps and display brightness on auto. Don't understand how some people manage to get such poor battery lifes.
[Google Pixel 7 Pro] mattburga1984:
I've had the absolute opposite experience.

4 hours SOT @ 59%. That's ridiculous.

I love this phone.
[Google Pixel 7 Pro] Yoshito93:
I have done all of that but nothing works. It's definetly something bad managed by the software. There is no explanation about why one day it was possibile to do 7hrs of SOT before and now only 4 Hrs. Also, i lose the 5% of battery every night in standby.

My phone is not rooted so idk how i can see if one of the app i have installed is causing this battery drain or just the software itself
[Google Pixel 7 Pro] Josh:
Same situation for me,one day 7-8 SOT and one day 5.30h Phone is rooted and have just Volte app ,Safetynet and Systemless hoss. disabled everything ,bluetooth,location,sync etc.Yesterday on phone idle had 19%38min uses 25% battery screen 5hr 33min ,on 15% battery
[Google Pixel 7 Pro] Schroeder09:
This is about what I have now. What's disappointing though. Is that on the November update my idle drain was 5 to 0.8% per hour. Now it is 1.3 just like yours up to 2.3% per hour. If I'm constantly checking my phone and waking it up. Before that 0.8% idle drain is what I would see. Even while constantly checking my phone. I've been studying this battery historian thing. I'm going to see if I can figure out the cars. I have a lot of stuff blocked with X privacy Lua in an effort to protect privacy and my data. I sometimes wonder if there is a misbehaving app that doesn't like it though, and it continuously tries to connect to a server and sync data. I guess I will have to report back on that.

There are so many variables for all of us that it is definitely difficult to be able to point the finger at a single issue. I do stand by that the November update did have better software. The December update and on has changed something because without having changed anything in any of my apps. When I did the December update it was like flipping a switch. I saw an increase in idle drain. Active drain is no issue. If I were to turn my phone on and not get off of it until the battery died, I could easily have 10-12 hours screen on time. No doubt in my mind.: I want that non-existent idle drain back.
[Google Pixel 7 Pro] HipKat:
Well, I give up. The only other thing I can do is run battery historian and an arch lineage for some reason I cannot get it either configured correctly, installed correctly or to run correctly. So I think once I get recharged to 100% today I'm just going to do a complete wipe and reflash the January update with the newest Kiri kernel and see if that helps me get back to the battery life I had up till last week.

And when I look at the BBB output, I really either don't know what I'm looking at or I'm not seeing anything that could be killing this battery as quickly as it is. I'm not sure what Audio Mix is but it's not always there. It could be when I stream SiriusXM
[Google Pixel 7 Pro] Schroeder09:
My wakelocks are similar but their duration and affects aren't that bad. We're approaching the middle of the month. If ur battery is lasting through the day can you wait until the February update? Just a suggestion. It'd allow you wipe at a new install and save you one time of pain!
[Google Pixel 7 Pro] MarcoReckless:
Just wondering, do you use adaptive battery and/or adaptive charging?
[Google Pixel 7 Pro] HipKat:
I'm already into a fresh reset, wipe and reinstalling my apps, etc now.

Hopefully, this will solve it. I'll post back in a few days
[Google Pixel 7 Pro] mattburga1984:
I use both as well as HEBF optimizer with aggressive doze enabled. VIP battery saver enabled.
[Google Pixel 7 Pro] Schroeder09:
Huh? Hebf optimizer and aggressive doze? VIP battery saver? Are these magisk modules?
[Google Pixel 7 Pro] mattburga1984:
HEBF. It's a root app. It's in the Play Store.

Settings I have enabled:

Aggressive doze.

VIP battery saver.

Liquid smooth UI.

As for magisk.

Just these....
[Google Pixel 7 Pro] otonieru:
I think one of the think you can do to manage battery better is by changing governor and the tunable value,

Pixel 7 is using sched_pixel governor as default, and somehow the way it use CPU frequencies across load is a bit off.

you can try to change it to basic schedutil, and change the rate_limit_us value to 0 (from default 10000) , this value is act as delay time for cpu to switch between frequencies after calculating the load. The smaller the number, the shorter the delay. 0 value been known around linux community for increasing cpu responsiveness, so that it might finish task earlier and back to lowest state early as well.

you can change those two config using any kernel manager. For example, EX Kernel Manager
[Google Pixel 7 Pro] HipKat:
Appreciate the HEBF recommendation. Giving that a shot, although my battery seems MUCH better since I wiped and reinstalled everything today
[Google Pixel 7 Pro] Lughnasadh:
It's amazing what a clean flash can do. It's like performing an exorcism on your phone 🙃
[Google Pixel 7 Pro] HipKat:
Right?? And mine was Battey-possessed for sure!

I've had it off the charger for about 2 hours or so using it to reset up and relog into all my apps, update apps through the play store, redo my Widgets, wallpaper, etc and I'm only at 84%
[Google Pixel 7 Pro] HipKat:
I may have discovered something with this battery issue.

Look at the Wakelocks Blocker on EX Kernel Manager, the number 1 was odm:btbcm, which is BlueTooth.

Turning BlueTooth off til I need it again.

Other High Value wakelocks are s5100_wake_lock - not sure what this is, com.google.usf - not surprising, rmnet1 - a Qualcomm Virtual Ethernet Framework, wlan_pm_wake, dwc3_otg - USB3.0 controller, wlan_scan_wake and alarmtimer.1.auto - sel;f explanatory.

The s5100 is the one I'm curious about
[Google Pixel 7 Pro] SonnyKrockett:
It's just amazing to me that ppl have to go through steps like these to try to get decent battery life. My Note 10 that has a battery older than 3 yrs old gets about the same SOT as this newer phone.
[Google Pixel 7 Pro] MarcoReckless:
I don't have that bluetooth wakelock (despite connecting to devices with it) and my idle drain is about 1% per hour, from what I've seen on other post it might be an app causing it (some users reported the MyVodafone app).

Other then that, my wakelocks are about the same.

Apparently have it too but it's not as high for me.
[Google Pixel 7 Pro] Josh:
Last night battery drains really fast , what you guys think. And phones was in aeroplane mode.

Rooted with latest beta .
[Google Pixel 7 Pro] EtherealRemnant:
Hmmm... I thought that my almost 5% standby drain was high even with how much I make use of VLC for screen off playback but I just recently got a Galaxy Watch 4 Classic LTE that's connected with Bluetooth (as you know, Boost Infinite doesn't support watches -- yet) so that would definitely explain that. I will have to investigate further.
[Google Pixel 7 Pro] HipKat:
My Bluetooth showed 45 minutes Wake Lock, so I disabled it until I need it again. the 25100, I still cannot find what that is, is almost 45 minutes, itself. The others I listed are over 30 minutes of Wake Lock time but are system files/functions.

Then this morning, checking again, all the wake locks are low except a new one, usf_queue_non-wake_up, which looks like it doesn't allow the device drivers to hold wake lock.

I just flashed Radioactive Kernel last night so it'll be a few days/reboots before I can get a good grip on any differences. I know Freak is adamant that the Kernel doesn't contribute to Battery drain, but I'm not so sure. TBH, and I'll try that next after a week or so with Radioactive, but I think my best battery life was with the stock Kernel.
[Google Pixel 7 Pro] ectoplasma22:
Having a pretty great battery here, very happy with my 7 Pro ! Spent all day taking notes, web surfing and 1h gaming tonight and still 20% to go !

I'm rooted with stock ROM and kernel ATM 😄
[Google Pixel 7 Pro] lil_kujo:
I have been having a great battery life out of this device no complaints at all. I don't use none of those apps that help with battery. I spent to much time with my prior devices tweaking kernels and finding ways on how to improve the SOT and honestly in my experience having been using Android and rooting and tweaking and testing roms for other devices IMO it was just a lost cause. It was either installing a ton of mods and killing a bunch of services and what not to achieve an SOT that would be 30 (more less ) minutes more and render my device less "smart" or it was either having more issues with mods many of which don't really do much IMO and experience. This is the first device I haven't rooted and modded since owning an android devices and I am really happy with the battery. Besides some apps that I have restricted the background battery usage i have not done much. I use wifi and data always active (both), Bluetooth 24/7 ( I have a GW4) and earbuds which I use a lot, location is always on as I have several Google device at home that i use and enjoy the presence sensing and using maps as often as I need it for work, i play COD probably less the one hour a day and then I watch YouTube and YouTube music. Since buying the device I have not had issues at all. Given I don't use social media apps besides a couple of minutes of Instagram during the day, WhatsApp calls video and calls and messages ( everyday),5g cellular always active and lots of Google assistant so it's always active. Never have I had a device with all the bells and whistles on all the time ( it was either turning wifi off or data , or restricting apps etc) till this device and it's the first time I actually just let it be. Screen time I get around 5 hours even more with plenty of juice left during the day. Today I finally installed a battery app to track the usage just to send some screenshots cause I have not had the need to track it since it's been wonderful. I will say that social media apps are a battery killer and very hard to kill them FB is a very annoying app and also as an advice if you wanna have good idle drain just clear you multitasking over night and your phone will sleep 💤 with out high drain ( been doing this for my past two devices and it had always improved my idle drain.) Today I got almost 40% juice left after the whole day of use under bright sun ☀️ and like i said no other mod or what not. Have had 3 hours and 38 minutes of screen time which IMO is a good number and it's what usually get every day.
[Google Pixel 7 Pro] HipKat:
This is mine today after a full charge and reboot, day 1 with Radioactive Kernel.
[Google Pixel 7 Pro] RetroTech07:
Can someone explain if it’s even necessary that android has so many wakelocks? Why can’t apps and services be suspended efficiently?
[Google Pixel 7 Pro] Lughnasadh:
App wakelocks and services can be implemented efficiently, or even avoided. It's up to the app developer to use methods to do this. The Android system itself is very efficient when it comes to deep sleep, doze, etc.. I have 2 apps which I know cause idle drain and once I put those 2 apps into the battery restricted category my overnight idle drain is between .4-.5%/hr with deep sleep of around 97-98%. Of course, idle drain can be affected by more than just poorly developed apps, e.g. poor network connectivity, your Android settings themselves, hardware, etc..

Recommended Best Practices for app developers:

"In general, your app should avoid partial wake locks because it is too easy to drain the user's battery. Android provides alternative APIs for almost every use-case that previously required a partial wake lock. One remaining use-case for partial wake locks is to ensure that a music app continues to play when the screen is off. If you are using wake locks to run tasks, consider the alternatives described in the background processing guide."

Stuck partial wake locks | App quality | Android Developers

developer.android.com
[Google Pixel 7 Pro] Freak07:
Wakelocks while you're using the device are meaningless for what you're trying to diagnose, they won't contribute to any battery drain.

You should set a custom reference in bbs, let the device sleep with screen off face down and not touch it for an hour or a night.

That way you can check if there's something happening while the device is idle.

After that time period check BBS.

But if you listened to media over Bluetooth those wakelocks are all fine.

s5100 is for the modem.

The Bluetooth wakelocks are also just normal, if you have Bluetooth enabled. After all you want Bluetooth devices to connect when you switch them on and stay connected properly when the screen is shut off.

The kernel itself does not contribute any battery drain.

The system/apps/tasks you're running "ask" for resources and they kernel grants them. It cannot know if an app is badly coded or a service is stuck in an endless loop.

My battery life was excellent on the stock kernel and it's roughly the same while running my kernel. Maybe slightly better (after all it's a bit tuned to my personal preference), but extending battery life is not really something the kernel is after if you read the OP. :)

Since I got the phone it's loses about 2-3% over 7-8 hours overnight, connected to wifi, mobile data and bluetooth both enabled (but no bt devices connected) and 2 Google Accounts syncing.

What I find very interesting is that there seem to be users that get excellent battery life and basically have no issues at all, while other face network issues, battery life issues, heating issues etc etc.

I wonder where all of this comes from.

You can use battery historian by taking a bug report on your phone and feeding it to

Battery Historian

What always needs to be kept in mind while monitoring those things is that there are endless variables outside of your control affecting all of this in the background.

Wifi quality, Network quality, server side pushes from apps and services, background usage of apps, your own usage and patterns, play services activity, notifications, temperature, installed apps all doing their own stuff in the background.... and way more.
[Google Pixel 7 Pro] HipKat:
Thanks, @Freak07 , most of this I know. I'm mostly trying to understand how mine went from poor to exceptional to really poor. The inconsistency form device to device is perplexing.

And really thanks for the s5100 explanation. Most of the Wakelocks on the list are Network related and toggling BT off when I'm not using it had no effect. Nothing really stands out.

Went to bed last night at 2AM, woke up a 6AM, phone not touched, the battery dropped from 53% to 45%.

It's been off the charger since yesterday morning and I'm letting it drain to about 15% before I put it back on. I'll pull another Report for Battery Historian. Appreciate that upload link.

I guess I'm using the thread to track benchmarks and data, mostly but appreciate any input you or anyone else has.
[Google Pixel 7 Pro] DSF:
When I get "AWakeLock" wakelocks I get bad battery life since the device doesn't go into Deep sleep.

Also when I use the phone it get's hotter.

The only fix is to restart the phone.. till it happens again.

Can't figure it out what does it trigger it.
[Google Pixel 7 Pro] HipKat:
Are you rooted and using a custom kernel or stock? Or just not rooted?
[Google Pixel 7 Pro] DSF:
All stock from day 1

AWakeLock happens random
[Google Pixel 7 Pro] ShermCraig:
@EtherealRemnant Weird question for you. When I had the Pixel 6 Pro, Yahtzee with Buddies would decimate battery and also cause the phone to run hot. Do you experience this with your 7 Pro? That's the game I play the most and I play a lot!! Any help is really appreciated. I'm currently using an S22 Ultra, and it's not great when I play Yahtzee.... Thank you in advance!
[Google Pixel 7 Pro] Schroeder09:
Anyone mess around with adaptive connectivity? I was reading post by someone on Reddit discussing how it was causing high idle drain as it attempted to maintain the best network. The description of the setting in the settings menu says this setting will give the best connection and better battery. The user on Reddit was saying it actually ate battery though in idle drain. Can anyone else testify to this?
[Google Pixel 7 Pro] EtherealRemnant:
I had no problems with that game on the 7 Pro. It made it a little bit warm but not overly so. Unfortunately I never checked real temps and humans are notoriously bad at differentiating between what's warm and hot until it goes from warm to burning hot so don't take my word for it. If you found the S22 Ultra to run hot, the Pixel 7 Pro with a less efficient chipset should, in theory, run hotter, but it's possible Google's attempts to cool the Tensor G2 better than the OG are helping here.
[Google Pixel 7 Pro] ShermCraig:
Thanks. I'm asking because as much as I like the S22 Ultra, I really miss the camera and photo processing that Google offers. Thinking of swapping, but torn.
[Google Pixel 7 Pro] EtherealRemnant:
I personally wouldn't do it. After having the 7 Pro, I won't go back to Pixel until Google goes back to Qualcomm... So I probably won't have another Pixel. The S23 Ultra I replaced my Pixel 7 Pro with is so far ahead of Google on everything but the camera and it's not terribly far behind on the camera either. It's nice having a phone that never gets hot and gets me at least a full day off the charger no matter how heavily I use it, and without having to disable anything.
[Google Pixel 7 Pro] ShermCraig:
Yeah, I've also considered upgrading to that, but the photos are just so tempting. At least to me. Thanks for your responses!! ✌
[Google Pixel 7 Pro] Schroeder09:
Do you root your phones? Does Samsung still have that stupid thing where if you root you can't charge your battery past 80%?