Very Slow/Inconsistent Notifications - ONE Q&A, Help & Troubleshooting

Hi, so the simplest way of stating my problem is when my device is either unlocked (AKA browsing apps and whatnot with the screen on), or locked (sleeping), notifications are slow to arrive. Right now I've been testing with Skype, and Gmail, both of which are inconsistent. My OPO does not currently have a SIM card (haven't setup the plan yet), and I've tried with both LTE and Radio off (using *#*#4636#*#* on the phone info page)
Info about my OPO/Setup:
Flashed CyanogenMod 12.1 as stated in the Sultan thread before flashing Sultanxda Rom
Using Sultanxda Unofficial CyanogenMod 12.1 Sep 14, 2015 (http://forum.xda-developers.com/one...m-kernel-unofficial-cyanogenmod-12-1-t3120259)
Using AK v.020 CAF Kernel (http://forum.xda-developers.com/oneplus-one/orig-development/kernel-ak-t3189886)
Using StyloKing v1 Synapse profile for CAF (http://forum.xda-developers.com/one...ad-oneplus-t3163211/post62600798#post62600798)
Using build.prop mods (http://forum.xda-developers.com/oneplus-one/general/build-prop-tweaks-device-t3168207)
Using TK Gapps Pico (http://forum.xda-developers.com/android/software/tk-gapps-t3116347)
Using Oxygen OS Modem ONLY (http://forum.xda-developers.com/one...dio-updated-modem-radio-files-oxygen-t3072516)
Using Xposed for Lolipop (http://forum.xda-developers.com/showthread.php?t=3034811)
Using Greenify and Amplify with settings from both of these threads (http://forum.xda-developers.com/android/general/guide-0-0-hour-idle-battery-drain-stock-t2973588 & http://forum.xda-developers.com/android/general/guide-extreme-battery-life-t3095884)
My OPO does not currently have a SIM card (haven't setup the plan yet)
Things I've tried:
With both LTE and Radio off (using *#*#4636#*#* on the phone info page)
Older Skype versions
Push Notification Fixer (https://play.google.com/store/apps/details?id=com.andqlimax.pushfixer&hl=en)
Disabling Amplify by disabling the module in Xposed, and rebooting
Double checked that Greenify isn't touching Skype or anything related
I also have a Samsung Galaxy S3 that is using the stock ROM (Android 4.1.2) with root permission and a custom recovery. That is the device I've been using to test with. If I send a Skype or Gmail message from my OPO to the Galaxy, it takes 2-3 seconds EVERY TIME consistently.
If I send a Skype or Gmail message from the Galaxy to the OPO, sometimes I'll get the message within 3-5 seconds, other times it takes 1 minute+ and even a few messages don't arrive until I unlock the device and open Skype or Gmail.
When I leave Skype open, and lock my OPO, it seems to get the messages very quickly almost every time.
Also, it appears that when my phone sleeps for a certain period of time, seems inconsistent, the WiFi will disconnect - and I DO have keep WiFi on while phone is sleeping.
I've run out of ideas short of trying a full wipe and different rom/kernel/who knows what at this point...=\
Any/all help is greatly appreciated. Thanks.
Edit/Update: Found this post (http://forum.cyanogenmod.org/topic/107023-cm12121-wifi-connectivity-issuesdrops-workaround-included/) on another forum, and that seems to have fixed it for me. Doing further testing, but so far positive results.

The delayed response is most probablye due to the Greenify/Amplify tweaks that you've made. Remove everything related to Gmail, Skype, Google Play Services from Greenify & Amplify and then test. Add back the tweaks one by one and find the culprit.

I've already tried that. Fully disabling Amplify, and double checking that I've touched nothing close to Skype or Gmail or Google Services in Greenify's settings.
As I put in the edit in my first post, I found out going to /system/etc/wifi/WCNSS_qcom_cfg.ini and changing the line
Code:
McastBcastFilter=3
to
Code:
McastBcastFilter=0
appears to have solved the issue for me.
But when I did that, I also noticed something else, and I wish I hadn't unplugged my device (AKA wiping battery data so I could show a clear screenshot of what I mean), because I saw when I was looking at the battery usage chart, all day long while I had McastBcastFilter=3, my WiFi signal was turning on and off CONSTANTLY throughout the day, and sometimes for decently long periods. Now that I've changed McastBcastFilter=0, my WiFi signal shows that it's on 24/7 in my battery screen.
I'm worried that this is going to cost me a fair bit more battery, but at the same time I need my notifications.
I found another setting in that file with this comment:
Code:
# Enable suspend or not
# 1: Enable standby, 2: Enable Deep sleep, 3: Enable Mcast/Bcast Filter
gEnableSuspend=3
Before I made any changes to this file, it was set to 3, which makes sense with the McastBcastFilter changes I made. But attempting to get some more battery life so my WiFi goes into some sort of partial power save mode for battery longevity, I'm going to try my OPO with Enable Deep Sleep on all day. We'll see how the battery fairs and if notifications are still delayed or not.
Edit: I was able to get the data from my secondary battery app so screenshots for all!
This is what my Wifi/Battery was like before I changed McastBcastFilter at all:
Code:
imgur.com/ZXmFYhI
This is after I changed it from 3 to 0:
Code:
imgur.com/H5ZlXc2
And this is what it's been like since I rebooted last night with gEnableSuspend=2 (AKA Deep Sleep):
Code:
imgur.com/2O6GuVE
Obviously when the WiFi is off, I'm not getting my notifications. >=\
(Gave the URLs CODE tags so I could link the images...)

Well so far I haven't seem to have come across any issues with leaving BcastMcast at 0 and using Deep Sleep for WiFi. I'm still getting all my notifications, and as far as I can tell the battery life is give or take about the same. Possibly a little more battery drain than with BcastMcast on, but I haven't done any sleep tests yet, just initial observations with using OPO in a daily setting.

Related

[BUG]Samsung forgot to include fast dormancy in KitKat (?)

Hello,
as you may or may not know fast dormancy is by now a mature technology implemented by all major networks worldwide. It involves 3G (HSPA) technology only and it allows the phone AND the network to keep the connection on using different levels of state (RRC) so that when you finish transferring data at high speed the state goes to a lower energy one or even idle using much less power, saving battery life significantly.
It has been explained by XDA website 2 years ago, you can also find more info on wikipedia.
What's the point of this topic? With my i9505 International I've always used Google Edition ROMs since the first edition was released. Battery life has always been fine while using 3G data on standby.
When I upgraded to KitKat Google Edition I noticed the battery would drain much, much quicker (when the screen is off mainly). I got used to it that I assumed it was how things worked until I ended up reading about people with much battery life on 3G and KitKat (but CM11 or AOSP) so I started investigating and trying different ROMs/configurations (I asked devs on their respective threads but I have been completely boycotted! ). At the end I concluded fast dormancy was not working (on the phone part) in anyway on KitKat ROMs made by Samsung.
How do you know if FD is active on the device?
- install apps to detect wakelocks like BetterBatteryStats (you don't need root)
- turn on 3G data and disable WiFi
- keep the screen off for about 1 minute (make sure you're not downloading anything)
- turn on the screen on check "kernel wakelocks". If you have "fast_dormancy" anywhere in the list then it's on otherwise it is not active
What ROMs did you test and how?
This is what I did: I made sure to have the same configuration and apps on every test, same location and signal strength.
I charged the phone to 100%, turn on 3G data, unplugged and left it idling with sync on for 4 hours. I noticed (via betterbatterystats logs) that with fast dormancy off I would lose about 2.5%/h, while with fast dormancy on the drop would be about 0.7%/h!!
And let's not talk about when you move around or drive, for instance with FD off with my usual drive to class I've always lost 3-4% in 15 minutes, I mean ALWAYS. With FD on the battery wouldn't move at all! That is a HUGE difference!
The ultimate test for me was a real life test. I went studying for two consecutive days at college in the same spot using the phone the same way (browsing, tapatalk, facebook messenger), with FD off I would come back home after using the screen for 1h30m at about 15% (mainly because I would lose power just on stand-by!) but FD on repeating the same steps the following day with FD on I went home at the same time and after using the screen for 2h20m I still had 45% of battery, WOW!
ROMs where FD works:
- 4.2.2, 4.3 TW
- 4.2.2., 4.3 GE (untouched and customized)
- CM10.2, CM11
- AOSP 4.4.2 ROMs
ROMs where FD doesn't work:
4.4.2 GE (untouched and customized)
4.4.2 TW (leak)
I used only one modem during these tests, the latest from the KITKAT leak.
What have you tried to force it?
Well I can tell you for sure that ro.ril.fast.dormancy.rule has no effect on TW/GE ROMs, I also tried to change the database as described here http://www.androidnz.net/2012/06/at-your-own-risk-how-to-disable-fast.html to set it to ON but you should know that FD on every ROM is on by default. I have no proof of this but with FD off even if your network seems to go to lower energy states on the network side (you can see all this using Samsung Service Mode), on the phone side the radio keeps using a lot of power as if it remains "active" thus draining battery like a b*tch
So has Samsung forgotten to include this feature? What do you think?
Also do you know where I can ask support for this to be fixed? Should I ask Google on the play store (even if I don't technically have a GPE phone!) or via Samsung website even if it's not sold on their site? Even worse KK TW is not even out yet officially.
Mod Edit
Please incorporate this in the KitKat thread HERE
Thank you
Thread closed
malybru
Forum Moderator

[Q] Keep WiFi on for VoIP app on LGP500?

Hi, all.
This is my first time posting. I have searched the web and through this forum for an answer to my question but no dice. I hope someone here can help.
(By the way, I'm currently using the Oxygen ICS rom. I used to be on Oxygen Gingerbread, and I briefly tried the latest Kitkat build, but couldn't use as a daily driver).
Over the past months, I've transitioned off of my monthly cell plan in favour of a prepaid data add on + VoIP app (Fongo) for calls/texts. I WFH so my cell is on WiFi 90% of the day.
The issue I'm facing is that when I use the WiFi lock option in the app itself, my battery life dips down considerably. But when I don't use this option, I often miss incoming calls (the WiFi appears to go to sleep after awhile, even though I have WiFi set to be always on even when the device is sleeping).
As an alternative, I've tried many apps in the Play Store, such as Wifi Keep alive (Roys and Shantz), and Wifi Fixer.
I've tried them all individually and in combination with each other. They do make the device more efficient at receiving incoming calls while preserving more battery life than the above WiFi lock, but it's still not 100% perfect.
I'm wondering if anyone has any suggestions to improve WiFi connectivity when my phone is in sleep mode without sacrificing a lot of battery? (In the form of either an app, system setting, or alternative ROM to what I'm using.) I realize there has to be some impact on battery if WiFi is on, but given that Fongo drains the battery whereas third party apps are more forgiving on it, I'm wondering if there's a better solution/configuration out there.
I experience this issue in Gingerbread and ICS. I don't experience it in Kitkat, but the battery barely lasts for 6-8 hours.
I hope I'm explaining this clearly. Any help would be greatly appreciated!! TIA.
An update:
I found the Wake Lock app (developer "darken") in the app store, and that seems to have solved my issue. I set it to the "Partial Wakelock" setting and now all incoming calls come in correctly on WiFi and my battery doesn't drain as quickly as it did with other apps or the Fongo setting.
Posting this in case it helps someone else in this situation.

RILJ wakelock (among others) killing my battery.

Ever since the 5.1 OTA (Or Google Services 7.0.99, I'm not sure), I've been experiencing bad battery life.
I downloaded Better Battery Stats and Wakelock Detector to try to find the culprit and this is what I've found.
- Connected to my wifi at home my Nexus 5 sleeps just fine.
- At work (wifi) I'm having a lot of wlan_rx and wlan_wd wakelocks and high awaken times due to this.
- When on mobile data it all gets worse: I'm getting hundreds of instances of RILJ wakelock in a matter of minutes, and sometimes Gmail often appears first on the list with high wakelock counts and times. Google+ and Keep also make frequent appearances I'm Wakelock Detector
- BBS ALWAYS shows bam_dmux_wakelock as the main culprit and sometimes sensor_ind (on mobile data), but I don't know what to make of that, since WD shows other things (RILJ etc).
Regarding RILJ: almost everything I've found online says that it has something to do with network location and that turning off location history removes it, but I rarely have location services on (GPS or network location) and location history is off anyway. I've tried disabled NetworkLocationService and every other service regarding location using disable service to no avail. It doesn't seem to happen when the phone is in 2G only.
Gmail frequently shows up in WD with high counts and times, I've seen Keep and Google+ in there too, first on lists. I've disabled them both for now.
In the battery stats the activity bars doesn't seem to be all that different from the screen on bars, but both WD and BBS show high awake times (sometimes as high as +20%). This is when on mobile data or connected to the wifi at work (wifi at home is just fine).
I tried downgrading to 5.0.1 (there now), installing Google Services 7.3.29, disabling a bunch of services, but nothing helps.
Google Services shows up as using more energy than anything else, sometimes even more than the screen, but only when mobile data is enable, it doesn't use energy when on wifi. There's no high data traffic as some people is experiencing with 7.X versions. The wlan wakelocks are awful at work though. So there are like several, independent problems.
I'd appreciate any insight on this matter. I don't seem to be the only one experiencing this.
I'm leaving a few screen shots. I'll post BBS screenshot by the end of the day.
Did you solve this? Nobody seems to know what really is RILJ.. If I restrict it to "7200" (2 hours) at Amplify it's safe to receive calls/sms ???
Luckzzz said:
Did you solve this? Nobody seems to know what really is RILJ.. If I restrict it to "7200" (2 hours) at Amplify it's safe to receive calls/sms ???
Click to expand...
Click to collapse
Easy way to find out is to test it. Restrict and then phone/text yourself from another phone. Test periodically until you're comfortable with the results.
I've having troubles with this from some months ago now. It dissapeared at some time, but it's back again.
Anyway, in my case, the problem happen when i'm connected to a WIFI network, with mobile data activated. If I deactivate it, everything is just fine. Don't really know what is causing this, but at least I discovered my problem.
Hope this help someone else.
Cheers

Embarassing battery drain after using GPS

Hi,
I'm Fabio and I have an annoying problem.
I have:
- N5 fully stock (bootloader locked and not root) with M 6.0.1 updated to last patch (February 2016)
- few apps (for example, I used Facebook in browser)
With a normal use of Facebook, Instagram, Twitter, Whatsapp, mail, etc...I have a good battery response: over 2 hours of screen and during night, with only data disabled, batteria drops of 1/2%. In general, in standby, the consumption is near to zero...
...until I activate GPS: from this moment, even if disable it, there is an embarassing battery drain (1% in an hour). At the end of battery, before charge it, screen and apps are near to 4/5%.
The only temporary workaround is to reboot, because the problem reappears when I enable GPS.
I have tried all "solutions" proposed into forum:
- reinstallazione factory
- wipe
- GPS in device only
- disabled location history
- etc...
but the problem persists.
Any ideas?
Thanks.
Fabio
il_fabio said:
Hi,
I'm Fabio and I have an annoying problem.
I have:
- N5 fully stock (bootloader locked and not root) with M 6.0.1 updated to last patch (February 2016)
- few apps (for example, I used Facebook in browser)
With a normal use of Facebook, Instagram, Twitter, Whatsapp, mail, etc...I have a good battery response: over 2 hours of screen and during night, with only data disabled, batteria drops of 1/2%. In general, in standby, the consumption is near to zero...
...until I activate GPS: from this moment, even if disable it, there is an embarassing battery drain (1% in an hour). At the end of battery, before charge it, screen and apps are near to 4/5%.
The only temporary workaround is to reboot, because the problem reappears when I enable GPS.
I have tried all "solutions" proposed into forum:
- reinstallazione factory
- wipe
- GPS in device only
- disabled location history
- etc...
but the problem persists.
Any ideas?
Thanks.
Fabio
Click to expand...
Click to collapse
see workaround from here http://forum.xda-developers.com/google-nexus-5/general/guys-call-wifi-battery-drain-6-0-t3219870
and use it evey time after you turn off GPS or don't give permission to scan in background when you open Map after tuning off scan.
jineshpatel30 said:
see workaround from here http://forum.xda-developers.com/google-nexus-5/general/guys-call-wifi-battery-drain-6-0-t3219870
and use it evey time after you turn off GPS or don't give permission to scan in background when you open Map after tuning off scan.
Click to expand...
Click to collapse
Hi jineshpatel30,
I have already follow the workarounds listed in that thread, but they are related only for WiFi bug...is it correct? If not, is there a specific change?
For the second point, can you explain me better?
Thanks.
il_fabio said:
Hi jineshpatel30,
I have already follow the workarounds listed in that thread, but they are related only for WiFi bug...is it correct? If not, is there a specific change?
For the second point, can you explain me better?
Thanks.
Click to expand...
Click to collapse
Apparently, wifi scan starts in background when we use Map/gps (i think Google asks permission for the same while 1st time setting up device)
and though it's related to wifi, it doesn't really require wifi to be ON for this drain ! It's little bit difficult for me to explain in words but if you see "wifi scan" ON in network tab in setting after using GPS (even through mobile data) turn it off and your battery will not drain away.
It happens to me many times after using navigation and above workaround always helps.
il_fabio said:
Hi,
I'm Fabio and I have an annoying problem.
I have:
- N5 fully stock (bootloader locked and not root) with M 6.0.1 updated to last patch (February 2016)
- few apps (for example, I used Facebook in browser)
With a normal use of Facebook, Instagram, Twitter, Whatsapp, mail, etc...I have a good battery response: over 2 hours of screen and during night, with only data disabled, batteria drops of 1/2%. In general, in standby, the consumption is near to zero...
...until I activate GPS: from this moment, even if disable it, there is an embarassing battery drain (1% in an hour). At the end of battery, before charge it, screen and apps are near to 4/5%.
The only temporary workaround is to reboot, because the problem reappears when I enable GPS.
I have tried all "solutions" proposed into forum:
- reinstallazione factory
- wipe
- GPS in device only
- disabled location history
- etc...
but the problem persists.
Any ideas?
Thanks.
Fabio
Click to expand...
Click to collapse
Hi Fabio.
My name is Dainis. I have the same problem. N5 I bought a year ago and immediately noticed that sometimes the battery discharges much faster. It took me a month to understand that that the cause in GPS. Without GPS, the phone in standby mode, can run for more than 2 weeks, but if previously used the navigation, then from the fully charged discharged in 3 days. The LG support center advised not to use GPS )). At the moment, my phone is in the warranty service for the sixth time (I'm very patient), but I doubt that they will be able to solve something. Maybe you have got to solve the problem?

Faulty Battery or Software Issue?

Hi folks,
I scoured through all the battery related discussions and wasn't able to find an issue similar to mine, so I hope it's okay to post a new thread on this topic. I have an AT&T (Snapdragon) Galaxy S7 with stock software and about a month and a half ago I started experiencing horrible battery life. I have been desperately trying to figure out what the issue is. At first I thought it was AT&T WiFi calling because it was forcing my WiFi and data connections to toggle back and forth and disabling that did help. However my battery life was still poor and I could never get more than about 10.5 hours of moderate use (see pictures below). Also the phone gets hot randomly (Above 95 Fahrenheit) even when doing minor tasks like browsing through Chrome. Since then I have made the following changes with no noticeable improvement:
Disabled advanced LTE services
Disabled Always on Display
Disabled WiFi and Bluetooth location scanning
Disabled nearby device scanning
Wiped cache multiple times
Temporarily disabled Bluetooth and WiFi to monitor the difference
Used Greenify Aggressive Dose
Disabled all diagnostic reporting
Uninstalled Oculus when that battery issue came up
Side note: I disabled a bunch of bloatware right when I got the phone, not through Package Disabler but through the standard Android disable method
I kept digging and found that my phone doesn't enter dose unless I use Greenify, and even then I don't notice a difference. I then decided to do a hard reset but no luck. Afterwards I used Safe Mode to see if any 3rd party apps were misbehaving, but again the drain was consistent both while idle and while using the phone. Today I installed Wakelock Detector Lite and found that PowerManagerService is keeping my phone from dosing, but from what I've read online it seems that info doesn't really point to a specific app, and it's hard to identify unless I root the phone which I don't want to do.
I am going crazy trying to figure out if this is a software/settings issue or if I should just replace the phone through AT&T and risk getting a defective refurb. Any help would be much appreciated.
Battery stats:
View attachment 3901345
View attachment 3901344
Wakelock Stats (taken on a different day):
View attachment 3901349
Many people have similar problems. One reason was the buggy oculus app (you might wanna disable that when it came pre installed, depending on your CSC).
However the main reason behind the high "android-system" usage is still unclear. Some people experience it, some dont. Some people have better battery results with the firmware from March.
Personally, I believe that it is firmware related. I tried the N7 rom port and did not have a problem at all.
You might wanna wait for the October update that will hit soon and see if this fixes anything.
I notice you have 'media server' showing in your battery stats. My wife had that showing too and also had terrible battery life. Her fix was disabling the auto streaming in her Facebook app which plays videos while you scroll through posts. Now she has great battery life!
I have the Facebook app disabled on my phone altogether. I've also used safe mode where 3rd party apps are disabled but the battery still drains at around 5% an hour while idle.
WiFi calling was draining one members battery, disabled that and everything returned to normal
*Detection* said:
WiFi calling was draining one members battery, disabled that and everything returned to normal
Click to expand...
Click to collapse
How?
iamnotkurtcobain said:
How?
Click to expand...
Click to collapse
https://www.verizonwireless.com/support/knowledge-base-203686/
I had that issue too but have since disabled WiFi calling
most likely a software issue. my version is G930FXXU1APEQ and i'm been getting 11 hour on batty with around 6- 7 hour of screen on.
Try disabling Google backup. It's a huge battery drainer
Sent from my SM-G930FD using Taptalk
Try manually updating Google play services for the lastest ver sion.
Hi,
Have the same Problem with my Galaxy S7.....Last Week, become an Little Update */- 20,8 MB
Now I have strong Accu consumption. ( Sorry Speake German
Test with Galaxy Note Edge, and Galaxy S7 .....both Smartphones have an 3000 m/Ah Accu. On Galaxy Edge have 178 own apps installed,
The Galaxy S7 - 3 Times Reset with Wipe Factory Reset and Wipe Cache, and from the Phone Settings.
https://www.dropbox.com/s/d7pvlnccr6y5dgc/Screenshot_2016-10-06-10-48-32%20NOTE%20EDGE.png?dl=0
https://www.dropbox.com/s/lile2f0uuitr3ol/Screenshot_2016-10-06-11-16-44%20NOTE%20EDGE.png?dl=0
https://www.dropbox.com/s/175imcgv3n9bugi/Screenshot_20161006-094012%20GALAXY%20S7.png?dl=0
https://www.dropbox.com/s/5rvkgubj95orhrn/Screenshot_20161006-094037%20GALAXY%20S7.png?dl=0
Nothing has helped so far so I decided to uninstall my apps in batches until battery life improves. I'll then slowly reinstall them one by one until I find the culprit. I'll report back with my findings. Thanks for all the suggestions.

Categories

Resources