yashsingh1/xdaforums huggingface dataset:
[OnePlus 6T  Guides, News, & Discussion] sandrager:
Morning all ,

Experiencing same notification problems. As you all have stated disabling idle fixes it.

I have done the below from suggestions here and elsewhere. oneplus 6t oos 17. XXx Nos 8.62 and smurf kernel 78. I did factory wipe yesterday after doing 9.17. did not install any battery saving apps , greenify or nothing. I did this because of whatsapp problems

-Set whatsapp don't optimize

turned off deep optimization

turned off sleep standby

set whatsapp on locked menu

this morning tested and had to open whatsapp to get message

since it seems idle is the problem and turning it off fixes it based on this thread. Has anyone tried messing with the idle settings ? I got this phone to root and get extreme battery savings and have played with idle settings on last phone LG G7 alot through adb and using tasker. I was able to get it down to 1% idle or less and still get whatsapp timely but also wanted a rooted phone and oneplus was easier so switched to oneplus. I am using tasker to make deep sleep turn on immediately. Working fine turns on within 10 seconds using Gsam battery to see idle turning on almost immediately of display going off. It was set for no maintenance windows with light idle disabled so was constant deep sleep.

note in system all numbers are in milliseconds

so here is the question anyone tried messing with idle settings to get notifications to work ? Going to do some testing so give me a few days. I changed maintenance window to idle_to to 1200000ms/ 2 minutes and max_idle_to to 140000, also increased min_deep_maintenance_time from 30 seconds to 1 minute. Maintenance is now working and started getting separation on gsams graph. Will see if that is the problem. Would be nice to know we can still use idle but have it use maintenance windows more often. That would be a easy fix for everyone. Just use tasker to change idle timings.

Just a thought

Thanks

Sand
[OnePlus 6T  Guides, News, & Discussion] sandrager:
so it's working better before I change the deep maintenance window delay was 6 minutes. I checked gsam and there had been some maintenance windows within that time. Therefore increase maintenance window from 30 seconds to 1 minute to give system more time to receive messages. Let you know what happens

---------- Post added at 11:18 AM ---------- Previous post was at 10:46 AM ----------

Need some help. Think I figured what is going on at least with my setup. Google play services is optimized and of course greyed out and can't change it. This is probably the problem at least for me with causing the delays. Know how I can change it ? Going to ask in my rom thread also xxxNosXXX
[OnePlus 6T  Guides, News, & Discussion] sandrager:
fyi found a fix was able to change google services to not optimized

https://www.androidpolice.com/2019/...tos-and-other-system-apps-on-oneplus-devices/
[OnePlus 6T  Guides, News, & Discussion] sandrager:
fyi the fix for google services didn't work but think I found the real culprit. Posted below in a no limits rom thread

fyi - Removed the gms check and reflashed. I checked google play services and was still optimised. I went and changed it manufally. Then did adb check on whitelist apps and it was not added. I then did adb whitelist to add com.google.android.gms as whitelist app. This may be whats causing the problem if gms is not whitelisted. I am curious if the stock phones have gms whitelisted or not. I went back to some settings saved on g7 and com.google.android.gms was whitelisted. I have been saving my doze settings for about 18 months so had info on my old LG G7 which had doze working flawlessly. Powered off and deep doze was on within 15 seconds and whatsapp notifications were working. Hopefully GMS not whitelisted has been everyone's problem. Will test over weekend

For additional info. I have a few tasks setup in tasker that just change doze settings between deep doze on constantly with display off. With this task only get notifications if I open whatsapp. Whatsapp is locked in recent menu. Whatsapp not optimized

The second task I have doze timings set to start maintenance every 2 minutes and is in maintenance for 1 minute then goes back to idle for 2 minutes. Works flawlessly on gsam graph...with this task I am getting my notifications instantly.

With the above tasks only changing doze settings the problem is with doze as stated on all the forums. I do not have these tasks on at sametime. I have been switching them on a profile that is set with display off. I just whitelisted gms this morning so see what happens over weekend. Would be nice if a app is whitelisted that it gets the notifications and am hoping gms was the culprit.

Thanks

Sand
[OnePlus 6T  Guides, News, & Discussion] Digdis:
Guys, thanks for the efforts trying to tackle this issue. I also get it constantly, mainly with BlueMail, but also missed some Whatsapp notifications. Most annoying issue, makes me regret I bought this device. (@sandrager curious about your efforts).

Can you tell whether this issue occurs only on stock ROM or also on custom ROMs?
[OnePlus 6T  Guides, News, & Discussion] Duvel999:
I used bluemail. Bought Mail Droid. Great client with Antispam.
[OnePlus 6T  Guides, News, & Discussion] Digdis:
Thanks, will look it up. But anyway problem wasn't just with Bluemail - also with Whatsapp, Waze and other missed notifications.
[OnePlus 6T  Guides, News, & Discussion] chrisbondy:
Does device need to be rooted for this to work?
[OnePlus 6T  Guides, News, & Discussion] arbaaz.anarchy99:
Worked for you?
[OnePlus 6T  Guides, News, & Discussion] Mervingio:
Tried on OP6T Android 10 and SIM not work
[OnePlus 6T  Guides, News, & Discussion] rodken:
I've been utilizing this profile along with turning off the Battery Manager, turning off Adaptive Battery and selecting "Do Not Optimize" for every single app including system apps on my device for the past 72 hours and have noticed a 6% percent gain in battery with Screen Off. Possibly placebo - maybe not.
[OnePlus 6T  Guides, News, & Discussion] larryk:
I realize that this is an old thread, but I just found it...

I have been playing with the adb command to disable doze to get my notifications in a timely manner, and yes it works. I am trying to import the TaskerDisableDoze.xml file with no success. If I select data restore and select the xml file it does import it, but it overwrites all of my other items in tasker. (I just restored the real backup and I was fine again. If I try to import the profile by double tapping the profile tab it just shows a blank, no files. I have copied the xml file where it should see it, but it seems that it doesn't. I have also put a copy in a known folder, and from within tasker tried to import from that known location and it also doesn't show up, I have also tried entering the file name manually, and still nothing. I am sure that I am missing something obvious, but I am a tasker dummy...
[OnePlus 6T  Guides, News, & Discussion] Mervingio:
Somewhere in this thread has a Magisk Module you can tried too for me works on OP7 PRO
[OnePlus 6T  Guides, News, & Discussion] larryk:
OK, a partial answer to my own question:

The extension must be .prf.xml for it to show to, so now it does and it does import, but upon running it, it gives the error no root (ya, no kidding)...
[OnePlus 6T  Guides, News, & Discussion] 234herobrine432:
It is way easier to just disable battery manager and battery optimization on the specific app, why do it the hard way?

edit: If the apps got restored by Titanium Backup, you have to manually reinstall them, Titanium has an issue there, at least for me with Whatsapp
[OnePlus 6T  Guides, News, & Discussion] larryk:
Because something on my S20 Ultra gets put to sleep that shouldn't, and that is why some of my notifications are delayed. No amount of changing the settings for battery manager make any difference, but disabling Doze does...
[OnePlus 6T  Guides, News, & Discussion] 234herobrine432:
But this is a Thread for the OnePlus6t? wtf :D
[OnePlus 6T  Guides, News, & Discussion] larryk:
But the same thing applies, as it appears to be an android problem, not necessarily a manufacturers problem...
[OnePlus 6T  Guides, News, & Discussion] c3cilka:
I was thinking about the same thing but in a quick research i noticed that Doze works as it should and this is only somekind of misunderstanding between defined specs, apps developers and device manufacturers.

Doze actually should "retain" push notifications, but based on importance. If the notification is flagged as high importance, it will pass Doze without delay (yes, it's simulatable). So the actuall problem is on Samsung side because we don't have option to disable Doze for certain apps (or it should be disabled with "Optimization disabled" option and it doesn't work) but it's probably also partially on App developer's side because we are not able to define how important the notification is for user...

https://developer.android.com/reference/android/app/NotificationChannel#setImportance(int)
[OnePlus 6T  Guides, News, & Discussion] nounusedname:
This thread is from 2018. And it's 2020 now and we STILL have to do this to get Gmail notifications instantly, or Doze delays it until you wake the phone lol what a joke.

To people who say just disable Battery Optimization lol. No, it does NOT work. I have tested this and can confirm yes, the Battery Optimization is indeed intended to disable Doze for specific app, by adding the app to a Doze whitelist so Doze ignores it. However this DOES NOT work for Gmail. Even when it is IN the whitelist, Doze for some reason, completely ignores the setting and still drop Gmail notifications until you wake the phone.

Disable Doze visa ADB is the ONLY solution to get Gmail notifications instantly.
[OnePlus 6T  Guides, News, & Discussion] mazdamiata210:
Not only Gmail, but others as well that don't work. I use discord and they didn't work no matter how much whitelisting I did.

You are right though the only way to have notifications work 100% of the time is disable doze via adb or root on ANY android phone because doze is a feature baked in by Google and REQUIRED to be on, on top of the other battery optimization tweaks people make to the software
[OnePlus 6T  Guides, News, & Discussion] larryk:
Now it there was only a way to run that ADB command on the phone itself upon reboot...
[OnePlus 6T  Guides, News, & Discussion] nounusedname:
Thanks for the info on Discord is affected as well. I only use Discord on pc, not on phone so didn't know about this. Was actually considering switching email provider to Outlook or something but if there are other apps affected by this as well then it's pointless to go through the hassle of switching email lol.

I hate Apple, but this is seriously making me consider switching to them as the iOS platform does not have this issue at all.
[OnePlus 6T  Guides, News, & Discussion] DaRkL3AD3R:
Just throwing my 2¢ in on this as a Note 8 user running Android Pie. I still have to do this modification in order to get the YourPhone app to properly sync texts and notifications, otherwise it drops connection and doesn't sync anymore. Mind you this is after the YourPhone companion app SPECIFICALLY requests to be whitelisted for battery saving features, so it can stay connected. But nope Google doesn't care, and it still is blocking the app from using data after the phone is idle for 30 minutes. I am so sick and tired of Android and these crappy connection issues. I can't say this will be my last Android phone because frankly what else is there? Apple? Not a chance. Some random Chinese homebrew? Not gonna happen. There's nothing else out there so we're stuck with this garbage. Makes me sick.
[OnePlus 6T  Guides, News, & Discussion] mazdamiata210:
I've used both iOS and Android and honestly iOS gets a lot of flack but it's really not that bad. I know this is the tinkering community and customizing your phone, but if you want something that just works the way it's intended to do, it does that job. App quality is also much better since Apple controls everything. In no way am I a fanboy of Apple, actually I hate them for what they do most of the time. But what I tell friends, it's the less ****ty choice. People who I've known that were life long Android users switched, and most enjoy iOS now. The biggest difference for them is battery life being much better.
[OnePlus 6T  Guides, News, & Discussion] DaRkL3AD3R:
Yeah I know a few people who switched to Apple phones and were happier with it. There are things I need to stick with Android for like this YourPhone companion app, as well as the file sharing stuff I use between my PC and phone. I just wish Google would fix this crap so it actually does what it's supposed to instead of brute forcingly ruining app reliability in the name of battery life.
[OnePlus 6T  Guides, News, & Discussion] mazdamiata210:
Your phone is to get texts and notifications on windows? Also you can use the icloud app on the pc to sync with your icloud storage to your device. They did open up that quite a bit. There is an unofficial work around for texts/imessage on pc but you kinda need to route it through mac and it's a bit of a mess but it does work
[OnePlus 6T  Guides, News, & Discussion] DaRkL3AD3R:
Yeah see 1) I am NOT down with installing any Apple garbage on my PC and 2) I don't want to have to deal with any of that workaround crap. The current situation for Android is just have to run this adb command whenever I restart my phone and that's it, good to go. I'm really not down with Apple or their garbage software, and I certainly don't want any of it on my PC. I'm just going to have to weather the storm for the time being. Maybe eventually when I upgrade to a Note 21 or 22 or something things will be in a better situation. But I doubt it lol
[OnePlus 6T  Guides, News, & Discussion] makavelix9:
This works 100% on my new samsung. I was getting annoyed with Gmail notifications not coming through whilst in standby. So with the script every morning and a 3rd party mail app i have no problems now.

I don't know why we cant disable doze in the built in menus such as battery optimisation but it's better than nothing.

Sometimes even if the phone is unlocked i wont get the email until I refresh the mail app. Only does this on my wifi, why ?
[OnePlus 6T  Guides, News, & Discussion] sunnyfunny:
Hi,

i have a the Oneplus 6. Since 2-3 days i have the problem that notification with WLAN enable not working. My handy got no push notifications (Whaatsapp, Telegram, Coin Master or what ever). When i use mobil data everthink works fine.

The workaround from the first post does not work for me :(

Sorry for my bad english. I'm german nativ speaker
[OnePlus 6T  Guides, News, & Discussion] Mervingio:
Did you can update this for latest Magisk?
[OnePlus 6T  Guides, News, & Discussion] nixnixnixnix4:
NO.

That doesn't control device-level doze.
[OnePlus 6T  Guides, News, & Discussion] kd276:
Hello, unfortunately i'm having this issue too, once my phone screen is off my sms notification do not appears anymore, or better appear even 3-4 hours later, is all random, they appear instantly only when i wake up the phone, the app is completely frozen in background, no matter what.

I'm on Xiaomi POCO X3 Pro with ArrowOS custom rom, but don't matter since fo what i understand is an issue with the android os core, so i'm wondering if this zipped magisk module is safe to use on my phone or is only tested for onesplus devices?

edit

Solved the issue using the whitelist and add the two apps i have issues with:

adb shell dumpsys deviceidle whitelist +com.android.messaging

adb shell dumpsys deviceidle whitelist +com.android.deskclock

Change is permanent so you can use this only once. Of course battery optimization should be turned off completely. Works flawlessly for me.
[OnePlus 6T  Guides, News, & Discussion] xda6969:
When you say change is permanent, do you mean you don't need to connect your phone to the pc and run those those commands every time you restart your phone?
[OnePlus 6T  Guides, News, & Discussion] kd276:
Yes, you do it once, change is permament, even if you dirty flash a rom update. Settings are lost only when you do a factory reset or full wipe.
[OnePlus 6T  Guides, News, & Discussion] Clarkiieh:
Please if you appreciate battery life don't do this! This will stop the phone going into sleep mode overnight and idle mode while locked and not in use!
[OnePlus 6T  Guides, News, & Discussion] xda6969:
We realize this however, in sleep mode, notifications are delayed. This is worse than having to charge your battery more frequently. Also, you can reverse the whitelisting by using - instead of a +.
[OnePlus 6T  Guides, News, & Discussion] lollyjay:
I bought a wireless charger receiver for US$8.53 from Amazon and installed it under the case. It works very well. I'm waiting for my battery to get low and I will test charge rate.

If you don't want to remove your case every time you use the USB-C port, be sure to leave a little bit of slack in the cable so you can remove the charger connector

As [MENTION=2734563]dandrumheller[/MENTION] noted, the charger USB-C connector also protects the port from debris.
[OnePlus 6T  Guides, News, & Discussion] borijess:
I have a Nillkin receiver and works great. I use a black case so you don't see it.
[OnePlus 6T  Guides, News, & Discussion] lollyjay:
Yes I have a black case too I just wanted to show the receiver
[OnePlus 6T  Guides, News, & Discussion] RRSpikes:
Out of curiosity, how long does the wireless charging take? What % do you start at and what % are you stopping at or are you placing it on the wireless charger whenever? How warm does the phone get during charging - is there a noticeable difference?

Any and all information you can provide is appreciated.
[OnePlus 6T  Guides, News, & Discussion] borijess:
All wireless charging gets warm. Nothing new there, I had a note 8 and wirelessly charging was all I did. The note 8 got very warm. It's just more convenient to just lay it down and charge it. The battery life is so good on this phone that I only charge it once a day. Once I lay down to go to sleep, I lay it down and it starts charging. I have not timed the speed of the charging, but it charges at around 1 amp. Which is good enough for me. Use Ampere to measure the charging current.
[OnePlus 6T  Guides, News, & Discussion] BlackHoleSlam:
Can you link the one you bought. I'm having trouble finding it.
[OnePlus 6T  Guides, News, & Discussion] lollyjay:
Ok it's charging around 800+ma

Fine for overnight

USB C Qi Wireless Charger Receiver, sharllen Universal Ultra Thin Charging Adapter Receptor Receiver Patch Module Chip iPhone 7 7Plus, iPhone 6 6Plus, iPhone 5 5s 5c SE - Rose Gold https://www.amazon.com/dp/B07CSQ43X2/ref=cm_sw_r_cp_apa_0935Bb5DREPYG
[OnePlus 6T  Guides, News, & Discussion] lollyjay:
Here it is
[OnePlus 6T  Guides, News, & Discussion] borijess:
I get over 1A with this one.

https://www.amazon.com/gp/aw/d/B01M11UT3V?psc=1&ref=yo_pop_mb_pd_title
[OnePlus 6T  Guides, News, & Discussion] borijess:
So I got this Tudia case that is a two piece case. The Nilkin wireless receiver leaves a bump on the back of the case. So I cut out a section of the silicon part of the case. So the receiver fits and doesn't cause the buldge. Looks good and feels better in the hand.
[OnePlus 6T  Guides, News, & Discussion] borijess:
Last pic
[OnePlus 6T  Guides, News, & Discussion] dandrumheller:
Damn.

I never considered doing this. Lack of wireless charging is the biggest negative for me on the 6T. This adds it inexpensively, and provides intrusion protection to keep debris out of the charging port. Bonus.

Some nice clean installs gentlemen - thanks for sharing the idea and the implementation.
[OnePlus 6T  Guides, News, & Discussion] borijess:
I had the note 8 and loved the wireless charging. That is why I bought the receiver for the 6T. I still have the dash charger in the box. Never used it and the 6T has incredible battery life.
[OnePlus 6T  Guides, News, & Discussion] CrozB:
Running the same setup with the flip case. Charging is not fast as my note 9 for sure, but gets the job done overnight just fine.
[OnePlus 6T  Guides, News, & Discussion] thecobra:
Do these need to be removed in order to use NFC?
[OnePlus 6T  Guides, News, & Discussion] borijess:
No. Nfc still works
[OnePlus 6T  Guides, News, & Discussion] ledvedder:
I purchased this one, https://www.amazon.com/dp/B01M11UT3V/ref=cm_sw_r_cp_awdb_t1_Rxw7BbM5F519D. It charged from about 35% to full in a little less than 4 hours overnight. View attachment 4643307
[OnePlus 6T  Guides, News, & Discussion] borijess:
That's the one I have. I just charge my phone overnight as well. So charging speed does not matter to me.
[OnePlus 6T  Guides, News, & Discussion] dunjamon:
I've tried a couple of different ones, but they don't show as charging on the phone. The charging light comes on but the battery stats don't show anything.
[OnePlus 6T  Guides, News, & Discussion] bradhoschar:
What wireless pads are you guys using? I have a Qi and just like the post above me, the light comes on, but there's nobody home.

Maybe I need a new wireless pad.

Thanks!
[OnePlus 6T  Guides, News, & Discussion] borijess:
I use any Qi enabled pad and it works.
[OnePlus 6T  Guides, News, & Discussion] jrsndr:
I use wireless charging once in a while and my phone charges just fine. I gave a generic Fast Charge 3-coil Qi enabled charger with 5W, 10W output, and my receiver is Nillkin 1A output. My wireless pad is powered by a fast charge brick. I found that if the output from the brick isn't compatible or at high enough amps, then it won't work.
[OnePlus 6T  Guides, News, & Discussion] reaper000:
I have 4 pads, including an expensive Samsung product used with an S9.

Hands down, the one that charges most reliably is the following:

CHOETECH Wide Range Fast Wireless Charger, Qi Certified 3 Coil Wireless Charging Pad Compatible with iPhone XS Max/XR/X/XS/8/8 Plus/Samsung Galaxy S9/S8/Note 9/Note 8/S7 https://www.amazon.com/dp/B07D2CWBS1/ref=cm_sw_r_other_apa_i_muvHCbSS0W8QX
[OnePlus 6T  Guides, News, & Discussion] foothill17:
That was happening to me also and I've found that if I restart the phone just before putting it on the charger it works. I know it doesn't make sense but it works for me.
[OnePlus 6T  Guides, News, & Discussion] gaspolo:
I really dont Need It.. why recharge in night with wireless while u can have cable recharge?

It Will be good if have same fast charge as Dash...anyway no sense of wifi charge...

And this Is the reason why op6t doesnt have It..

Wireless Is so slow....
[OnePlus 6T  Guides, News, & Discussion] g90814:
Less wear and tear on the USB port, plus it's just a lot easier.
[OnePlus 6T  Guides, News, & Discussion] dunjamon:
Hmmm...maybe I need a new charging pad. My missus has the Mi Mix 3 and I tried the charging pad that came with that, but that didn't work either.
[OnePlus 6T  Guides, News, & Discussion] null0seven:
Wireless charging "success"...

With 1a, NO !!!
[OnePlus 6T  Guides, News, & Discussion] M5devil:
Guys, this is awesome idea! I wanted to know one thing please. I also have a 2 piece Spigen Tough Armor case and have a magnetic plate in between pieces that I use when I'm in the car. Will this magnet somehow interfere with the wireless charging battery or it should be fine. Appreciate it highly.
[OnePlus 6T  Guides, News, & Discussion] borijess:
It will interfere. Wireless charging will not work.
[OnePlus 6T  Guides, News, & Discussion] kidhudi:
it would be great if they made a QI charging case that also has an available usb port. i saw one on ebay but it also had a battery in the case which drastically increased the size of the phone. all the qi charging options i have found so far uses the usb port so if you need to plug the phone into usb you would have to remove the case to access the port. kinda sucks.
[OnePlus 6T  Guides, News, & Discussion] snake2332:
I was hoping to find a Spigen case for the 1+6T that is similar to my Galaxy S9 case, where the case has a void for a metal plate to go. Perhaps the Nillkin charging pad would fit in that void......if only Spigen made the same slim fit case for the 6T that they make for the Galaxy S9.