Switching APN causes steady battery drain and excessive RILJ_ACK_WL wakelocks? - Samsung Galaxy S9 Questions & Answers

I have an S9 (SM-G960F), UK SIM-free unlocked, running the latest OTA Android 10, One UI 2.5, Baseband G960FXXUCFTJ1, Kernel 4.9.118-19869059, Build number QP1A.190711.020.G960FXXSCFTK2.
My network, Three UK, runs two APNs - the main one "three.co.uk" is a CG-NAT APN which almost all users use by default. There is a second APN, "3internet", primarily used by dongles but which is also available for general use.
The main benefit of "3internet" is that it assigns a publicly accessible IP address from Three's public IP pool, with no CG-NAT (dual NAT) - allowing you to directly access your device from the Internet. For example, you can run kWS Server and access content directly on the device's public IP assigned to the 3G/4G modem. A publicly accessible IP also reduces issues with SIP/VoIP services, which I use a lot.
A while back, I started noticing excessive battery drain - between 5 and 8% per hour, even in deep sleep. I tolerated it for a week or so while trying to figure out the root cause. Eventually I did full cache partition wipes and factory resets, and initially the device was fine, until I restored a backup from Samsung cloud. Suspecting a rogue app stuck in a sync loop, I factory reset again -- this time restoring just bare minimum of apps from Google Cloud. Interestingly, this did not restore the battery drain. I then went through the phone's settings and restored my usual customisations, including the second APN. I didn't immediately make it active.
The other week, I needed to use the "3internet" APN, so I made it active. I subsequently noticed that after switching to the "3internet" APN, battery usage suddenly increases to a steady amount, even when the device is in deep sleep. Whoah, a simple change of APN is causing battery drain?!
Examing Android battery usage screen and BetterBatteryStats for any indicative wakelocks, at first I thought it might be an app update causing issues. Things like WhatsApp and Instagram appeared to be using a higher than normal amount of battery while running backgrounded. However, doing a full delete-cache-delete-storage-then-uninstall to completely remove all questionable apps made no difference.
I could literally sit and watch my battery consumption steadily decrease, a straight diagonal line on the battery usage screen.
Changing my APN back to "three.co.uk" resulted in the battery consumption graph curving back to a flat line - nearly zero consumption in deep sleep, as it was before. In fact, even less than I was experiencing before (2-3% was normal, though I also uninstalled Facebook Lite and Instagram during this latest testing, which I've found can account for around 2% battery usage per hour).
I didn't even think to test switching between APNs to check for battery drain until I read some threads on xda, some on Reddit, but it was a forum thread concerning a South African telco - discussing possible kernel issues associated with different APNs and the symptom of excessive RILJ_ACK_WL wakelocks - which inspired me to try changing APNs on my device.
In my case, the phone was logging thousands of RILJ (Radio Interface Layer client-side socket) wakelocks during deep sleep. Once the APN was reverted to the 'default' APN - wakelocks decreased along with battery drain.
So far, changing the APN to "3internet" reliably causes the battery drain to resume. Changing it back to "three.co.uk" stops the excessive battery drain. I can observe this by changing the APN then letting the device deep sleep, then review the battery usage graph. It seems really counterintuitive, but the evidence speaks for itself I think.
Is this a Samsung-specific kernel issue, a Google location service issue or some other Android subsystem issue? Is it perhaps caused by some network-level incompatibility of how the mobile network has configured this specific APN, or is it simply a bug when any combination of multiple APNs is used on this device?
Has anyone else experienced this issue and been able to determine the exact reason for this scenario causing battery drain?
Further reading I gathered along the way...
Telkom confirms smartphone battery drain problems on LTE
Telkom does legit drain my battery quicker I had idle drain of 4.1% on my MTN Sim I have an idle drain of 0.38% Using Moto G5+ No Data Connection No or Unknown Signal these two had 100% usage on Telkom and 0.3% on MTN RILJ_ACK_WL Partial Walkelock Count 1093 on Telkom...
mybroadband.co.za
Battery drain due to RILJ. (Solved!)
Hi everybody, I have seen quite a number of users get troubled and complain about high battery drain in JB roms. Most of them have used BetterBattery or other applications and found that RILJ seems to be the culprit. But I haven't seen anyone...
forum.xda-developers.com
Android 4.4 RIL software framework
This paper mainly analyzes the command interaction process between Android 4.4 RIL's telephone and modem, but this paper does not focus on telephone.Telephone involves many specific business logic contents, including sim, dail, sms, network, etc., which will be studied and analyzed in the...
programming.vip
Android Radio Layer Interface
Android Radio Layer Interface Summary Background RIL stack overview RIL daemon (rild) Example: RIL with Mc39i on versatile Example: RIL with HUAWEI E169 on...
www.slideshare.net

christopherwoods said:
I have an S9 (SM-G960F), UK SIM-free unlocked, running the latest OTA Android 10, One UI 2.5, Baseband G960FXXUCFTJ1, Kernel 4.9.118-19869059, Build number QP1A.190711.020.G960FXXSCFTK2.
My network, Three UK, runs two APNs - the main one "three.co.uk" is a CG-NAT APN which almost all users use by default. There is a second APN, "3internet", primarily used by dongles but which is also available for general use.
The main benefit of "3internet" is that it assigns a publicly accessible IP address from Three's public IP pool, with no CG-NAT (dual NAT) - allowing you to directly access your device from the Internet. For example, you can run kWS Server and access content directly on the device's public IP assigned to the 3G/4G modem. A publicly accessible IP also reduces issues with SIP/VoIP services, which I use a lot.
A while back, I started noticing excessive battery drain - between 5 and 8% per hour, even in deep sleep. I tolerated it for a week or so while trying to figure out the root cause. Eventually I did full cache partition wipes and factory resets, and initially the device was fine, until I restored a backup from Samsung cloud. Suspecting a rogue app stuck in a sync loop, I factory reset again -- this time restoring just bare minimum of apps from Google Cloud. Interestingly, this did not restore the battery drain. I then went through the phone's settings and restored my usual customisations, including the second APN. I didn't immediately make it active.
The other week, I needed to use the "3internet" APN, so I made it active. I subsequently noticed that after switching to the "3internet" APN, battery usage suddenly increases to a steady amount, even when the device is in deep sleep. Whoah, a simple change of APN is causing battery drain?!
Examing Android battery usage screen and BetterBatteryStats for any indicative wakelocks, at first I thought it might be an app update causing issues. Things like WhatsApp and Instagram appeared to be using a higher than normal amount of battery while running backgrounded. However, doing a full delete-cache-delete-storage-then-uninstall to completely remove all questionable apps made no difference.
I could literally sit and watch my battery consumption steadily decrease, a straight diagonal line on the battery usage screen.
Changing my APN back to "three.co.uk" resulted in the battery consumption graph curving back to a flat line - nearly zero consumption in deep sleep, as it was before. In fact, even less than I was experiencing before (2-3% was normal, though I also uninstalled Facebook Lite and Instagram during this latest testing, which I've found can account for around 2% battery usage per hour).
I didn't even think to test switching between APNs to check for battery drain until I read some threads on xda, some on Reddit, but it was a forum thread concerning a South African telco - discussing possible kernel issues associated with different APNs and the symptom of excessive RILJ_ACK_WL wakelocks - which inspired me to try changing APNs on my device.
In my case, the phone was logging thousands of RILJ (Radio Interface Layer client-side socket) wakelocks during deep sleep. Once the APN was reverted to the 'default' APN - wakelocks decreased along with battery drain.
So far, changing the APN to "3internet" reliably causes the battery drain to resume. Changing it back to "three.co.uk" stops the excessive battery drain. I can observe this by changing the APN then letting the device deep sleep, then review the battery usage graph. It seems really counterintuitive, but the evidence speaks for itself I think.
Is this a Samsung-specific kernel issue, a Google location service issue or some other Android subsystem issue? Is it perhaps caused by some network-level incompatibility of how the mobile network has configured this specific APN, or is it simply a bug when any combination of multiple APNs is used on this device?
Has anyone else experienced this issue and been able to determine the exact reason for this scenario causing battery drain?
Further reading I gathered along the way...
Telkom confirms smartphone battery drain problems on LTE
Telkom does legit drain my battery quicker I had idle drain of 4.1% on my MTN Sim I have an idle drain of 0.38% Using Moto G5+ No Data Connection No or Unknown Signal these two had 100% usage on Telkom and 0.3% on MTN RILJ_ACK_WL Partial Walkelock Count 1093 on Telkom...
mybroadband.co.za
Battery drain due to RILJ. (Solved!)
Hi everybody, I have seen quite a number of users get troubled and complain about high battery drain in JB roms. Most of them have used BetterBattery or other applications and found that RILJ seems to be the culprit. But I haven't seen anyone...
forum.xda-developers.com
Android 4.4 RIL software framework
This paper mainly analyzes the command interaction process between Android 4.4 RIL's telephone and modem, but this paper does not focus on telephone.Telephone involves many specific business logic contents, including sim, dail, sms, network, etc., which will be studied and analyzed in the...
programming.vip
Android Radio Layer Interface
Android Radio Layer Interface Summary Background RIL stack overview RIL daemon (rild) Example: RIL with Mc39i on versatile Example: RIL with HUAWEI E169 on...
www.slideshare.net
Click to expand...
Click to collapse
I select this post as a candidate for the biggest TL/DR of 2020!!!!
Joking aside, the issue youre describing is explained in the first 2 paragraphs, hence why i stopped reading. Your APN that allows such access is designed for a dongle or something of the like, which is always plugged in so it doesnt care about power management. Unless you write a kernel that will observe and restrict excess draw from the radios in the phone, then its a "price you pay" situation. I had excessive draw on my OG Evo 4G back in the day because Sprint sucked here, so i used the vzw APN and i definitely noticed an increased draw from that as well. Not the same situation as youre in now, but another example of APNs messing with stuff

christopherwoods said:
I have an S9 (SM-G960F), UK SIM-free unlocked, running the latest OTA Android 10, One UI 2.5, Baseband G960FXXUCFTJ1, Kernel 4.9.118-19869059, Build number QP1A.190711.020.G960FXXSCFTK2.
My network, Three UK, runs two APNs - the main one "three.co.uk" is a CG-NAT APN which almost all users use by default. There is a second APN, "3internet", primarily used by dongles but which is also available for general use.
The main benefit of "3internet" is that it assigns a publicly accessible IP address from Three's public IP pool, with no CG-NAT (dual NAT) - allowing you to directly access your device from the Internet. For example, you can run kWS Server and access content directly on the device's public IP assigned to the 3G/4G modem. A publicly accessible IP also reduces issues with SIP/VoIP services, which I use a lot.
A while back, I started noticing excessive battery drain - between 5 and 8% per hour, even in deep sleep. I tolerated it for a week or so while trying to figure out the root cause. Eventually I did full cache partition wipes and factory resets, and initially the device was fine, until I restored a backup from Samsung cloud. Suspecting a rogue app stuck in a sync loop, I factory reset again -- this time restoring just bare minimum of apps from Google Cloud. Interestingly, this did not restore the battery drain. I then went through the phone's settings and restored my usual customisations, including the second APN. I didn't immediately make it active.
The other week, I needed to use the "3internet" APN, so I made it active. I subsequently noticed that after switching to the "3internet" APN, battery usage suddenly increases to a steady amount, even when the device is in deep sleep. Whoah, a simple change of APN is causing battery drain?!
Examing Android battery usage screen and BetterBatteryStats for any indicative wakelocks, at first I thought it might be an app update causing issues. Things like WhatsApp and Instagram appeared to be using a higher than normal amount of battery while running backgrounded. However, doing a full delete-cache-delete-storage-then-uninstall to completely remove all questionable apps made no difference.
I could literally sit and watch my battery consumption steadily decrease, a straight diagonal line on the battery usage screen.
Changing my APN back to "three.co.uk" resulted in the battery consumption graph curving back to a flat line - nearly zero consumption in deep sleep, as it was before. In fact, even less than I was experiencing before (2-3% was normal, though I also uninstalled Facebook Lite and Instagram during this latest testing, which I've found can account for around 2% battery usage per hour).
I didn't even think to test switching between APNs to check for battery drain until I read some threads on xda, some on Reddit, but it was a forum thread concerning a South African telco - discussing possible kernel issues associated with different APNs and the symptom of excessive RILJ_ACK_WL wakelocks - which inspired me to try changing APNs on my device.
In my case, the phone was logging thousands of RILJ (Radio Interface Layer client-side socket) wakelocks during deep sleep. Once the APN was reverted to the 'default' APN - wakelocks decreased along with battery drain.
So far, changing the APN to "3internet" reliably causes the battery drain to resume. Changing it back to "three.co.uk" stops the excessive battery drain. I can observe this by changing the APN then letting the device deep sleep, then review the battery usage graph. It seems really counterintuitive, but the evidence speaks for itself I think.
Is this a Samsung-specific kernel issue, a Google location service issue or some other Android subsystem issue? Is it perhaps caused by some network-level incompatibility of how the mobile network has configured this specific APN, or is it simply a bug when any combination of multiple APNs is used on this device?
Has anyone else experienced this issue and been able to determine the exact reason for this scenario causing battery drain?
Further reading I gathered along the way...
Telkom confirms smartphone battery drain problems on LTE
Telkom does legit drain my battery quicker I had idle drain of 4.1% on my MTN Sim I have an idle drain of 0.38% Using Moto G5+ No Data Connection No or Unknown Signal these two had 100% usage on Telkom and 0.3% on MTN RILJ_ACK_WL Partial Walkelock Count 1093 on Telkom...
mybroadband.co.za
Battery drain due to RILJ. (Solved!)
Hi everybody, I have seen quite a number of users get troubled and complain about high battery drain in JB roms. Most of them have used BetterBattery or other applications and found that RILJ seems to be the culprit. But I haven't seen anyone...
forum.xda-developers.com
Android 4.4 RIL software framework
This paper mainly analyzes the command interaction process between Android 4.4 RIL's telephone and modem, but this paper does not focus on telephone.Telephone involves many specific business logic contents, including sim, dail, sms, network, etc., which will be studied and analyzed in the...
programming.vip
Android Radio Layer Interface
Android Radio Layer Interface Summary Background RIL stack overview RIL daemon (rild) Example: RIL with Mc39i on versatile Example: RIL with HUAWEI E169 on...
www.slideshare.net
Click to expand...
Click to collapse
I know it's an old thread but here's what happened to me recently...
Using normal three.co.uk apn I was unable to live view my Ring doorbell or even my cctv. So I tried 3internet and using this APN everything worked perfectly fine. Shortly after changing the apn (couple of days) I noticed an increased battery drain. Like 4-5% an hour while the phone was just sitting on the table untouched. I tried all the troubleshooting including factory reset etc. But nothing was helping. The main mistake I was making was that after each factory reset I would instantly change the APN to 3internet. After changing back to three.co.uk my battery life seems to back to what it should be but... my ring doorbell live view doesn't work again. I guess I'll have to contact three and ask them wtf.

I feel like this helps to explain this issue:
https://mybroadband.co.za/news/cellular/465529-surprising-reason-air-mobile-eats-smartphone-batteries-for-breakfast-and-how-afrihost-fixed-it.html
So it's related to the APN (nothing to do with the device)
TLDR: If you have a public IP address then external internet traffic hits your device and causes it to use more battery. If you are behind carrier NAT then this external traffic never hits your device and it can enter and remain in a lower powered state

Related

Most Power Saving Radio Rom?

Can anyone please recommend some REALLY power saving Radio rom?
I'm currently using 1.54.30
I like 1.54.07.00. Its a good compromis between power and battery drain.
I think 1.47 was the version with the lowest battery drain for me yet...
1.47.00.10 seems to do the job for me.. moderate usage of voice & data (UMTS 2100)..
thank you so much for responding... i will try 1.54.07...
yes, 1.47 is the best radio I also have used.
i'm trying 1.54.07...using it now...will see how is the battery drainage...
what is so good about 1.47 anyway? just to compare...
2 cents on this topic - the observation of battery drain is somewhat subjective. I'd suggest someone do an extended test where the phone has a current drain logging program and track drain for each phone mode - data connection - transfer / phone use / idle and do a statistical comparison.
With a lack of good data? I'd think that the latest rev would have changes for some reason - hopefully a good one.
I'm using the latest 1.54 without performance issues.
hi all
I am using 1.54.07.00 radio, I use to get call from my gf every night for straight 3 hours. All these time my wifi is also active. Most of the days I get 40-50% of battery after I finish the call. So I think it is pretty impressive, isnt it?
Cheers
Jish
I'm working on a way to evaluate this.. I agree with mattk_r that it will probably vary drastically by region, usage, configuration, network, etc. But at least for my case, wi-fi is almost always off and my phone is in 'sleep'/'suspend' with Flexmail email running an IDLE (PUSH) IMAP email session in the background. Just a note, the way this works, the phone still gets to sleep and anytime a packet/data is received over the GPRS/3G connection the phone is woken up in unattended mode (no backlight) so that the maill app can process the message and notification then the phone returns to sleep state. So my goal is to pseudo-scientifically figure out which radio works best for my use.
To figure that out I have written a pair of programs that simulate the IMAP IDLE connection of an email client. (Why not use the real thing? I want the experiment to be the same everytime I run it, I can't guarantee that with email and software that I don't know the intricacies of.) One half runs on the phone to simulate the phone email client, and one half runs on a server that sends periodic messages to the phone to wake it up. When the phone is waken up it sends its current estimate of the battery life remaining (as reported by Windows API) to the server for logging.
In order to run my tests, everynight I have/plan to do the following procedure.
Flash a new radio to the phone for test
Charge the battery fully
Soft-Reset phone
Run my program
And then in the morning I dump the server log and generate a nice pretty graph of battery remaining v. hours on. This has obvious deficiencies such as
The phone never actually moves, it is on my nightstand so this won't simulate an active day where the radio is having to select the best tower.
When I wake up my battery is not dead, so I am not able to measure time from total charge to total discharge.
Even with these deficiencies and possibly more, I believe that this will give a decent benchmark as to which radios perform better than others. (in terms of battery life) So far I have conducted this for 2 nights and 2 radios, both running in 2G mode. The next two nights I will probably re-run the tests for 3G enabled just to see if that causes a significant change in the result.
So see this pretty graph to see what's happened so far... I'll post updates as I progress.
Oh yeah, I'm on ATT/Cingular Network in USA/TX.
Results in summary:
So far, I have tested radios 1.47.30.10 and 1.54.30.10 and gotten practically identical results for battery life. In my day of use for each radio, I have not noticed any call quality issues with either radio.
Other techniques: ?
There probably are other techniques to accomplish this, such as a program that measures battery discharge current. My gut feeling is to not trust these for this analysis because those programs typically have a low sampling rate and I don't know where they get there information and if that is a reliable source. And the other problem, I haven't found any such programs that can do it when the phone decides to go into the sleep mode and radio is having to maintain an idle but yet present connection to the cellular network.
Feedback anyone? Ideas?
dear experts, i've flashed 1.54.07 radio rom, but i soon discovered that i've lost my HSDPA connection to network. now i can only have 3G connection. Even though i tried to enable HSDPA in Schap's Config...but still no result...
Help please...or please suggest which radio rom which has got HSDPA enabled...
p/s: i think 1.54.07 is power consumption friendly becoz it has disable HSDPA connection...
what do u guys think?
HSDPA is enabled in that rom. Been using it with pandora naked rom with no issues whatsoever.
that's weird...hmmm....I'm using Schap's 3.57a ROM...previously have HSDPA b4 i upgrade to this rom...
mattk_r said:
2 cents on this topic - the observation of battery drain is somewhat subjective. I'd suggest someone do an extended test where the phone has a current drain logging program and track drain for each phone mode - data connection - transfer / phone use / idle and do a statistical comparison.
With a lack of good data? I'd think that the latest rev would have changes for some reason - hopefully a good one.
I'm using the latest 1.54 without performance issues.
Click to expand...
Click to collapse
INDEED !!!
I was go with 1.54.30... then I have a trouble to find "3G" (somethimes it was hard to find "E") then I switch back to 1.50.00... and everything is ok (I mean from the same place I live, I found "3G" successfully). The battery drain should be have relation with the connection and that's vary in other country IMHO
Still on 1.43 and seem to be doing just fine with battery life. Maybe I will try the 1.47
Switch to 1.50.00....HSDPA returns...
So i can presume that 1.54.07 has got no HSDPA enabled for power saving...
What say experts?

[Q] Android OS Causing High Battery Usage

Not sure if this is a bug or something, but my Android OS usage is extremely high from 40-50%. Also the Android OS always is downloading something, my wifi icon is always downloading when on wifi, but it doesn't when I'm on a mobile network. Is anybody else having the same issues? Also my auto-sync is only for my Google account which includes Gmail, Calendar, Contacts and Google Music. See the attachments for usage statistics.
Install BetterBatteryStats (there's a free xda version available), do some reading on how to use it, and you'll find your issue easily.
Make sure all bloatware is removing from your phone, that did the trick for me.. I get 22-24 hours of usage.. on 4G of course.
I have the same problem here. Android OS uses most of the battery, whereas display only uses 20-30%, kind of weird
But the phone still gives me power for all day long
sent from my Optimus G E971
All my bloatware is removed, I got factory unlocked so I don't have the usual carrier stuff. Think I'm going to root and flash the AOSP rom onto my phone.
Its an error in reporting with ICS, it is not actually draining.

[Q] Data traffic to svc.spd.samsungdm.com

Hi. I hope this is the appropriate forum...
I have an i747 running stock AT&T firmware. Un-rooted.
Over the last few weeks, I've noticed that my battery drain has increased and often my phone will be warm when I'm not near WIFI suggesting that the radio is active. I've also noticed that when I'm not connected to WIFI, the 4G/LTE icon at the top often indicates that there's data activity in progress.
So I set up a sniffer on my firewall to monitor the phone's data traffic when on WIFI. Here's what I found:
Within seconds of enabling WIFI on the phone, it appears that there are a handful of DNS requests. Most are for google apps (mtalk.google.com and a few others). Those aren't surprising. Then there are a number of lookups for svc.spd.samsungdm.com which maps to a pair of servers in the amazon cloud.
Immediately following that is a back-and-forth stream of HTTPS traffic to these samsungdm.com servers. I've been monitoring for the last 30 minutes while my phone has sat idle on the table with the screen turned off and this back-and-forth traffic has not stopped.
Google doesn't turn up much info about this domain. Any ideas what this is and why it's so chatty?
I know this is an old thread, but I just recently started to investigate this issue as well. I have found that those servers are related to SELinux policy updates within the Touchwiz framework. A packet is sent to the server to initiate a request through TLSv1.2, the servers exchange keys and then a packet is sent to see if the policies are up-to-date or not. If not, i'm assuming that policies are then sent directly to the device over https(port 443). If you have auto update on for SELinux policies, then you will most likely see a good amount of battery drain.
I started to look into this issue because if you can attempt to get your device to download a malformed security policy, then you could possibly bypass SELinux and Samsung KNOX as well. I'm not totally sure but it sure would help out a lot.

General Mobile network standby battery drain - WORKING Workaround fix

Let me preface here with the following:
I'm on the latest Android 12 beta at the time of this post, and I will lose anywhere from 20-40% of my battery without doing the fixes I'm going to lay out in this post. My phone is an unlocked Pixel 6 pro straight from Google, in use for T-Mobile. I did move from physical SIM to eSIM a while back, which did resolve my Bluetooth or Wi-Fi constant drops somehow.
If you care more about 5G connection than battery, then move along and ignore this, as we'll be putting the phone to preference LTE.
Almost all of these fixes I easily found when googling my issues, save the last step, I don't recall seeing that posted anywhere and tried it on my own to finally get positive results. It ended up fully resolving the stand by drain of my battery.
Here are the settings and steps, followed by some battery results after some use.
Setting 1: Under Dev options, turn off "mobile data always active"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Setting 2: Under Settings > Network & Internet, turn "Adaptive Connectivity" off. I have not noticed any issues with switching from WiFi to Mobile data, so I'm unsure how much help this setting actually is.
Setting 3: Under Settings > Network & Internet > SIMs (T-Mobile in my case), change "Preferred Network Type" to "LTE"
It will say 5G recommended, and that should be selected by default.
Optional, if you want to match me, change or confirm Wi-Fi calling to "Call over Wi-Fi", though I don't think this part matters.
Setting 4 (Final setting, and the part that actually saw the improvement to my battery)
In the same place as setting 3, Under Settings > Network & Internet > Carrier (T-Mobile in my case)
REMOVE the "Automatically Select Network" option, then ensure your carrier is selected under "Choose Network"
* I wondered if this would cause me issue during travel, and during easter weekend, driving 5 hours away to family, it caused me zero problems *
Within the first few hours, then days, I saw MASSIVE improvements to my battery life vs what it was before with defaults.
Example 1: Throughout my work day I lost only 11%, whereas before I would easily be at 70% or less without hardly picking up the device. I check my phone for alerts, MFA codes, and maybe a few other notifications throughout the day. Not much screen on time. IMHO any new phone should only be losing 0.5-1% with the screen off per hour, and this is the first time this has been the case with my P6P.
Example 2: Bed at 10pm, awake at 6:23am, and only lost 6%. I'd not thought this possible a week ago...
And there you have it. I hope this helps someone facing issues with stand-by drain, and I know (like all issues with P6P), this is not affecting everyone it seems. I've been waiting since November for a fix, and this is the best I can get right now. LTE is plenty fast for me, and I'm on my home Gig internet WiFi nearly all the time anyway. I don't know that every single setting in this post is absolutely necessary, but its what is working for me.
I know there have been other posts, but I only saw them as a post of the issue, with an assortment of fixes throughout the threads. I wanted to post this as more of a resolution (well workaround) to an issue many of us know of.
I'll put thread notables after this line (suggestions others have to improve battery life around networking)
This one is from @Morgrain
Turn off:
Wifi scanning
Bluetooth scanning.
Click to expand...
Click to collapse
Both settings can be found under location services. For a further battery life improvement, Google Location Accuracy can also be deactivated, even though I personally let the stay ON, since it makes a difference in GPS location, meaning if you turn it off, GPS becomes noticeably less accurate.
I never turned off the keep the data active, but one of the first things I turned off was 5G.
At 100% charge before bed, 8 hours later, I usually loose 2-3% of battery.
p51d007 said:
I never turned off the keep the data active, but one of the first things I turned off was 5G.
At 100% charge before bed, 8 hours later, I usually loose 2-3% of battery.
Click to expand...
Click to collapse
Just turning off 5G didn't do much or anything for me. So weird how this issue hits people differently. Actually sounds like this issue may not have affected you at all, but you got some additional battery saving via the general 5G turn off.
Oddly enough I cant choose my network on Xfinity Mobile. Clicking the toggle brings me to the selection screen and selecting my carrier does nothing
You pay good money to get the latest greatest flagship and you disable one of the greatest benefits, 5g network capability. I don't get the logic.
scott.hart.bti said:
You pay good money to get the latest greatest flagship and you disable one of the greatest benefits, 5g network capability. I don't get the logic.
Click to expand...
Click to collapse
It's a simple logic (speaking for OP here, and other people with the same issues).
The manufacturer of this phone used an inefficient, old modem (something that 99% of the customer base was not aware of before buying the phone) that causes massive (battery) problems when actually utilizing this feature. And now humans are trying to find a middle ground, meaning keeping the phone but improving battery life, by disabling features that have little meaning in everyday life (5G is cosmetic at best, 4G is plenty for YouTube streaming or music streaming). I never had a situation in my life, where I thought "man, having 200 MB/s more connection speed now would be super important on my phone!"
People scroll the web, watch videos, watch twitter/tiktok whatever feeds and listen to music. For that 4G (and 4G+) is more then enough. 5G only really makes sense if you want to use it as a hotspot for a PC or laptop, and even then 5G is only truly useful when downloading or uploading bigger data files - a use case that most people probably do not have (most people have WiFi where they spend their everyday life).
So I do not understand, why you do not see that obvious logic?
-------
Regarding OP: The manually "Select Network" sounds like an interesting idea. I'm not sure why it would make a difference (since the phone should only ever select the carrier network anyway), but I'll give it a try and see how it works. Personally, my battery life experience ever since updating to the march update (and now April) has been abysmal. Where I- before - went to sleep with 20% left in the battery, I now need to top up, every day, around 2000. Meaning I lost about ~30% of battery life since updating to Android 12l (nothing else changed, my usecase is the same, SoT is the same, wifi/LTE ratio is still the same). Hopefully your trick/idea can make a difference. I've grown annoyed at carrying a power bank with me (again), something that I didn't have to do since I bought the phone in October (until march).
-------
A trick that also saves battery life (OP should put it in his text) is deactivating
Wifi scanning
Bluetooth scanning.
Click to expand...
Click to collapse
Both settings can be found under location services. For a further battery life improvement, Google Location Accuracy can also be deactivated, even though I personally let the stay ON, since it makes a difference in GPS location, meaning if you turn it off, GPS becomes noticeably less accurate.
(my wifi scanning reactivated on it's own after march update, check yours!)
Gerr1985 said:
Let me preface here with the following:
I'm on the latest Android 12 beta at the time of this post, and I will lose anywhere from 20-40% of my battery without doing the fixes I'm going to lay out in this post. My phone is an unlocked Pixel 6 pro straight from Google, in use for T-Mobile. I did move from physical SIM to eSIM a while back, which did resolve my Bluetooth or Wi-Fi constant drops somehow.
If you care more about 5G connection than battery, then move along and ignore this, as we'll be putting the phone to preference LTE.
Almost all of these fixes I easily found when googling my issues, save the last step, I don't recall seeing that posted anywhere and tried it on my own to finally get positive results. It ended up fully resolving the stand by drain of my battery.
Here are the settings and steps, followed by some battery results after some use.
Setting 1: Under Dev options, turn off "mobile data always active"
View attachment 5592251
Setting 2: Under Settings > Network & Internet, turn "Adaptive Connectivity" off. I have not noticed any issues with switching from WiFi to Mobile data, so I'm unsure how much help this setting actually is.
View attachment 5592253
Setting 3: Under Settings > Network & Internet > SIMs (T-Mobile in my case), change "Preferred Network Type" to "LTE"
It will say 5G recommended, and that should be selected by default.
View attachment 5592257
Optional, if you want to match me, change or confirm Wi-Fi calling to "Call over Wi-Fi", though I don't think this part matters.
Setting 4 (Final setting, and the part that actually saw the improvement to my battery)
In the same place as setting 3, Under Settings > Network & Internet > Carrier (T-Mobile in my case)
REMOVE the "Automatically Select Network" option, then ensure your carrier is selected under "Choose Network"
* I wondered if this would cause me issue during travel, and during easter weekend, driving 5 hours away to family, it caused me zero problems *
View attachment 5592261
Within the first few hours, then days, I saw MASSIVE improvements to my battery life vs what it was before with defaults.
Example 1: Throughout my work day I lost only 11%, whereas before I would easily be at 70% or less without hardly picking up the device. I check my phone for alerts, MFA codes, and maybe a few other notifications throughout the day. Not much screen on time. IMHO any new phone should only be losing 0.5-1% with the screen off per hour, and this is the first time this has been the case with my P6P.
View attachment 5592263
Example 2: Bed at 10pm, awake at 6:23am, and only lost 6%. I'd not thought this possible a week ago...
View attachment 5592267
And there you have it. I hope this helps someone facing issues with stand-by drain, and I know (like all issues with P6P), this is not affecting everyone it seems. I've been waiting since November for a fix, and this is the best I can get right now. LTE is plenty fast for me, and I'm on my home Gig internet WiFi nearly all the time anyway. I don't know that every single setting in this post is absolutely necessary, but its what is working for me.
I know there have been other posts, but I only saw them as a post of the issue, with an assortment of fixes throughout the threads. I wanted to post this as more of a resolution (well workaround) to an issue many of us know of.
Click to expand...
Click to collapse
Thanks! Will try and see if I get any improvements.
Despite the battery I'm pretty happy with this phone.
Gerr1985 said:
Just turning off 5G didn't do much or anything for me. So weird how this issue hits people differently. Actually sounds like this issue may not have affected you at all, but you got some additional battery saving via the general 5G turn off.
Click to expand...
Click to collapse
Almost like it has to do with your carier, data signal and how far you are from an antenna..
Anad it doesn't use 40% of your battery, it's used X% of Y% that has drained during the last 24 hours, so the less you use your phone the higher it will seem.
iRhyiku said:
Almost like it has to do with your carier, data signal and how far you are from an antenna..
Anad it doesn't use 40% of your battery, it's used X% of Y% that has drained during the last 24 hours, so the less you use your phone the higher it will seem.
Click to expand...
Click to collapse
It could be carrier and radio for sure. I had maybe 1-2 bars at my parents' this past weekend, and still only lost 0.5-1% an hour with these fixes, so I'm not sure distance is a key factor in this case.
I know all about the % use variables, and its a bit confusing, which is why I didn't put any screenshots or data showing that in the OP. Focused on standby drain, and we all seem to get that its a primary result of some issues with the mobile network setup.
Morgrain said:
It's a simple logic (speaking for OP here, and other people with the same issues).
The manufacturer of this phone used an inefficient, old modem (something that 99% of the customer base was not aware of before buying the phone) that causes massive (battery) problems when actually utilizing this feature. And now humans are trying to find a middle ground, meaning keeping the phone but improving battery life, by disabling features that have little meaning in everyday life (5G is cosmetic at best, 4G is plenty for YouTube streaming or music streaming). I never had a situation in my life, where I thought "man, having 200 MB/s more connection speed now would be super important on my phone!"
People scroll the web, watch videos, watch twitter/tiktok whatever feeds and listen to music. For that 4G (and 4G+) is more then enough. 5G only really makes sense if you want to use it as a hotspot for a PC or laptop, and even then 5G is only truly useful when downloading or uploading bigger data files - a use case that most people probably do not have (most people have WiFi where they spend their everyday life).
So I do not understand, why you do not see that obvious logic?
-------
Regarding OP: The manually "Select Network" sounds like an interesting idea. I'm not sure why it would make a difference (since the phone should only ever select the carrier network anyway), but I'll give it a try and see how it works. Personally, my battery life experience ever since updating to the march update (and now April) has been abysmal. Where I- before - went to sleep with 20% left in the battery, I now need to top up, every day, around 2000. Meaning I lost about ~30% of battery life since updating to Android 12l (nothing else changed, my usecase is the same, SoT is the same, wifi/LTE ratio is still the same). Hopefully your trick/idea can make a difference. I've grown annoyed at carrying a power bank with me (again), something that I didn't have to do since I bought the phone in October (until march).
-------
A trick that also saves battery life (OP should put it in his text) is deactivating
Both settings can be found under location services. For a further battery life improvement, Google Location Accuracy can also be deactivated, even though I personally let the stay ON, since it makes a difference in GPS location, meaning if you turn it off, GPS becomes noticeably less accurate.
(my wifi scanning reactivated on it's own after march update, check yours!)
Click to expand...
Click to collapse
I can already tell it's giving me better battery life, and I added to the OP this morning. Will anything stop working with this off? Guess I'll find out
Gerr1985 said:
Setting 2: Under Settings > Network & Internet, turn "Adaptive Connectivity" off. I have not noticed any issues with switching from WiFi to Mobile data, so I'm unsure how much help this setting actually is.
Click to expand...
Click to collapse
Adaptive connectivity is advertised as minimizing 5G use when the system/ai determines it's not needed.
Google's latest Pixel feature drop brings improvements to battery, connectivity, and audio
Also brings the new Hold for Me feature for other recent Pixel phones. Google is releasing its latest feature drop for its Pixel phones, which brings...
m.gsmarena.com
Adaptive connectivity is a feature from adaptive connectivity services, which does more than 4g and 5g hand off. Based on the play store listing.
Like how adaptive charging is a feature from device health services app, which also does other things besides adaptive charging.
scott.hart.bti said:
You pay good money to get the latest greatest flagship and you disable one of the greatest benefits, 5g network capability. I don't get the logic.
Click to expand...
Click to collapse
I don't need that speed, and, in my area, 4G LTE is faster anyway. We don't have any 5mm towers.
gen10 said:
Oddly enough I cant choose my network on Xfinity Mobile. Clicking the toggle brings me to the selection screen and selecting my carrier does nothing
Click to expand...
Click to collapse
Same here.
It works! Thanks
scott.hart.bti said:
You pay good money to get the latest greatest flagship and you disable one of the greatest benefits, 5g network capability. I don't get the logic.
Click to expand...
Click to collapse
Agreed as some of us don't even have access to that due to Google having it locked on our network
I get this long list of networks to choose from when I disable Automatically Select Network. So if I select LTE, does that mean that if I get to an area that doesn't have TMobile LTE coverage, that I will lose connectivity, even if that area has the other TMobile networks listed below?
Prey521 said:
I get this long list of networks to choose from when I disable Automatically Select Network. So if I select LTE, does that mean that if I get to an area that doesn't have TMobile LTE coverage, that I will lose connectivity, even if that area has the other TMobile networks listed below?
Click to expand...
Click to collapse
Make sure you follow the other steps first as you shouldn't see 5G or 3G listed otherwise.
As for your main concern...
Honestly I'm not positive what will happen. However, I did a test run of this by driving from IL to my parents house in Indiana (almost Ohio, 5 hours) on Easter weekend. Lots of farm land and I only lost signal 2 times for less than a minute. This also happened before all of my changes, so no change in behavior for me. Most carriers are in the process of sunsetting 3g, so I'd imagine you'll be fine.
scott.hart.bti said:
You pay good money to get the latest greatest flagship and you disable one of the greatest benefits, 5g network capability. I don't get the logic.
Click to expand...
Click to collapse
Ouch man... go easy now.
I don't want to have to turn it off, but Google needs to fix it first. 4G is still plenty fast for everything mobile, I'm not trying to run Internet for my whole house with it. That is about the best use case for 5g. I have zero problems streaming anything at full quality. I also am on my home WiFi 99% of the time so I could care less. I made a point to move along if turning off 5g is an issue, so thanks for following that instruction.
Gerr1985 said:
Setting 3: Under Settings > Network & Internet > SIMs (T-Mobile in my case), change "Preferred Network Type" to "LTE"
It will say 5G recommended, and that should be selected by default.
View attachment 5592257
View attachment 5592261
Click to expand...
Click to collapse
Some of these options don't show up for some folks, myself included. I kept the two photos that I don't have access to on my phone. At one point I do remember having the option to "automatically select network," but now I don't.
I'm unsure why I can't choose my preferred network type, despite some custom roms giving this ability. I typically have to go into the phone dialer to change this option.
The steps you've outlined have been posted in numerous threads, albeit scattered lol. IMO having to do all these steps is unacceptable, and hope the new Pixel 7 resolves such issues.
RetroTech07 said:
Some of these options don't show up for some folks, myself included. I kept the two photos that I don't have access to on my phone. At one point I do remember having the option to "automatically select network," but now I don't.
I'm unsure why I can't choose my preferred network type, despite some custom roms giving this ability. I typically have to go into the phone dialer to change this option.
The steps you've outlined have been posted in numerous threads, albeit scattered lol. IMO having to do all these steps is unacceptable, and hope the new Pixel 7 resolves such issues.
Click to expand...
Click to collapse
Your carrier will lock some of these options.

Question GPS constantly active / in use according to battery historian - ImsService?

Hi guys,
since two days I noticed that my battery is draining a lot quicker.
I pushed two full days to battery historian and noticed that in each day, GPS was constantly on and in use.
When checking the "last app that accessed location" then it was always "ImsService" that used it "0 mins ago" or "1 mins ago".
Day 1:
Total GPS use: 12h 20min
GPS use by app: ANDROID_SYSTEM 12h 20min
Day 2:
Total GPS use: 8h 7min
GPS use by app: ANDROID_SYSTEM 8h 7min
The only thing I changed in these last few days was deleting an e-sim and adding a new e-sim.
Any suggestions on what to do?
I have BBS installed but it can't seem to see what is causing the GPS drain with BBS.
Thanks!
Another weird thing I noticed:
Amaze & Simple Gallery need permission to access my "SD card" or files.
I have to set the switch to "allow" frequently. Like the permission gets lost every few hours/days.
Full wipe and start from the start? :S
Titanium Backup Pro?
As an update:
Did a factory reset and restored all apps / settings but with only 1 SIM.
For now the phone feels smoother and battery is A LOT better.
I monitored this for 2 days now.
Will activate my 2nd SIM today and see what is changing.
I might also remove Adaway + AFWall.
I believe I might have "crippled" my system too much previously.
I am thinking about going with adguard (which basically does what adaway + afwall does but with better monitoring / logging to find and fix issues) or nextDNS.
Gooble likes to ALWAYS track your location, even if you specifically tell them not to;
40 states settle Google location-tracking charges for $392M
Google has agreed to a $391.5 million settlement with 40 states to resolve an investigation into how the company tracked users' locations.
www.usatoday.com
Among others, this is ONE of many reasons why I use google-free GrapheneOS instead of the crap it ships with.
96carboard said:
Gooble likes to ALWAYS track your location, even if you specifically tell them not to;
40 states settle Google location-tracking charges for $392M
Google has agreed to a $391.5 million settlement with 40 states to resolve an investigation into how the company tracked users' locations.
www.usatoday.com
Among others, this is ONE of many reasons why I use google-free GrapheneOS instead of the crap it ships with.
Click to expand...
Click to collapse
Thanks but there might be more to it.
Today I added my 2nd SIM (e-SIM) and noticed that my battery drain has become huge again.
20-30% lost during the night.
So it seems to be related to the second sim.
Things that show up in BBS as main cause:
s5100_wake_lock
Sensor: Dynamic Sensor Manager(1), wakeup=true, Time: 7 h 25 m 4 s
RILJ_ACK_WL
No idea what that is and how to fix it though.

Categories

Resources