How to disable sleep/battery optimisation? - OnePlus 6T Questions & Answers

We have bike computers which connect to an app on our phone. The app is called Wahoo Elemnt.
I'm having an issue with my wife's bike computer and OP 6t.
She got a new phone, the Oneplus 6T, and after 30 minutes, the phone disconnects from the bike computer, so she can't see incoming calls/messages. The moment she wakes up the phone, it connects instantaneously.
Have checked all the settings, and made sure that there is no 'battery optimisation' set for the Elemnt app. Have even disabled the advanced settings.
On my Note 8, and her previous Oneplus 3, the app would remain connected even thru a 5 hour ride, and the phones don't need to be 'woken up'.
Any other suggestions?

Will this work?
https://forum.xda-developers.com/oneplus-6t/how-to/guide-notification-fix-100-t3865551

@Funk Wizard .. this is 4th or 5th thread for apps not sending notifications or widgets not refreshing and doze has to be disabled for them to work.. is it known issue that OnePlus working on?

ram4ufriends said:
@Funk Wizard .. this is 4th or 5th thread for apps not sending notifications or widgets not refreshing and doze has to be disabled for them to work.. is it known issue that OnePlus working on?
Click to expand...
Click to collapse
Yes it's a known issue with doze being too aggressive. Most of the issues are solved when you turn off advanced optimization and sleep standby, if the issue persists please take logs and submit as feedback, thanks.

Funk Wizard said:
Yes it's a known issue with doze being too aggressive. Most of the issues are solved when you turn off advanced optimization and sleep standby, if the issue persists please take logs and submit as feedback, thanks.
Click to expand...
Click to collapse
I did turn off advanced optimization and sleep stand by..I even made these apps don't optimize in battery settings, still the issue prevails... I didn't have these issues on my Pixel 2 XL or Note8 and I didn't even have to turn off any settings on those phones to get notifications.. I have to execute "adb shell dumpsys deviceidle disable" every time I restart my 6T for the notifications and widgets to work for some apps...

ram4ufriends said:
I did turn off advanced optimization and sleep stand by..I even made these apps don't optimize in battery settings, still the issue prevails... I didn't have these issues on my Pixel 2 XL or Note8 and I didn't even have to turn off any settings on those phones to get notifications.. I have to execute "adb shell dumpsys deviceidle disable" every time I restart my 6T for the notifications and widgets to work for some apps...
Click to expand...
Click to collapse
Have u tried pinning those apps in the recents. I shall be getting the purple one in a couple of days then I can test further.

Yeah, I think that should solve this issue. I had exact the same problem with another app and locking the app in recents solved it.
Funk Wizard said:
Have u tried pinning those apps in the recents. I shall be getting the purple one in a couple of days then I can test further.
Click to expand...
Click to collapse

rmaathuis said:
Yeah, I think that should solve this issue. I had exact the same problem with another app and locking the app in recents solved it.
Click to expand...
Click to collapse
I will dig it up more over the weekend when I test further and share my findings.

Funk Wizard said:
Have u tried pinning those apps in the recents. I shall be getting the purple one in a couple of days then I can test further.
Click to expand...
Click to collapse
I don't see an option to pin the app to 'recents'.
Edit: Got it. Trying it now.

Funk Wizard said:
Yes it's a known issue with doze being too aggressive. Most of the issues are solved when you turn off advanced optimization and sleep standby, if the issue persists please take logs and submit as feedback, thanks.
Click to expand...
Click to collapse
Doze can be aggressive but there is an option to exclude Doze per app under - Apps/Special Access/Battery Optimisation.
Unfortunately Oneplus has disable this option on our devices and have replace it with a one switch called Advanced optimisation.
I am trying to find a way to get this Pie Stock feature back. Any clues?

Funk Wizard said:
Have u tried pinning those apps in the recents. I shall be getting the purple one in a couple of days then I can test further.
Click to expand...
Click to collapse
Just crossed an hour and no disconnection. I think this will work. Huge thanks.
Sent from my SM-N950F using Tapatalk

geovass said:
Doze can be aggressive but there is an option to exclude Doze per app under - Apps/Special Access/Battery Optimisation.
Unfortunately Oneplus has disable this option on our devices and have replace it with a one switch called Advanced optimisation.
I am trying to find a way to get this Pie Stock feature back. Any clues?
Click to expand...
Click to collapse
did you try this lock to recents method?

nikosrs4 said:
did you try this lock to recents method?
Click to expand...
Click to collapse
Yes i have. The application (a game to be exact) is always killed after a while...

boy, it must be a heavy one

nikosrs4 said:
boy, it must be a heavy one
Click to expand...
Click to collapse
Shouldn't be an issue on a 8GB RAM phone thought

deepakvrao said:
Just crossed an hour and no disconnection. I think this will work. Huge thanks.
Sent from my SM-N950F using Tapatalk
Click to expand...
Click to collapse
Glad i could help :good:

deepakvrao said:
Just crossed an hour and no disconnection. I think this will work. Huge thanks.
Click to expand...
Click to collapse
You have to do that after every restart?

ram4ufriends said:
You have to do that after every restart?
Click to expand...
Click to collapse
I'll do it before every ride. Not a big deal. Or leave it pinned. But, yes, after a restart it will be required.
Sent from my SM-N950F using Tapatalk

Funk Wizard said:
Yes it's a known issue with doze being too aggressive. Most of the issues are solved when you turn off advanced optimization and sleep standby, if the issue persists please take logs and submit as feedback, thanks.
Click to expand...
Click to collapse
The problem for me is that the TMobile version doesn't allow you to turn off advanced optimization and sleep standby, those settings don't even exist, unless they are in a completely different spot than the unlocked version. And I haven't found it

Funk Wizard said:
Glad i could help :good:
Click to expand...
Click to collapse
Pinning apps didn't help in widgets not refreshing data

Related

One-handed operation (Use for all screens) not working

Hi,
My Use for all screens stopped working. Anyone experience this or know how to fix it? It's checked in the One-handed operation option.
Thanks.
aarick said:
Hi,
My Use for all screens stopped working. Anyone experience this or know how to fix it? It's checked in the One-handed operation option.
Thanks.
Click to expand...
Click to collapse
I haven't been able to get mine to work period. I have disabled and enabled the feature multiple time and I just can't get it to work.....
Use it all the time. Might be an issue with a specific version of the phone or if you have modified it somehow.
krelvinaz said:
Use it all the time. Might be an issue with a specific version of the phone or if you have modified it somehow.
Click to expand...
Click to collapse
I tried when my phone was completely stock. Prior to even changing out the launcher. Humph.... I may have to go talk to verizon.
nateilus said:
I tried when my phone was completely stock. Prior to even changing out the launcher. Humph.... I may have to go talk to verizon.
Click to expand...
Click to collapse
I have the T-Mobile version and it worked in the beginning, but now I can't get it to work
A shame since I was just getting used to it and how to gesture it on and off.
This seems to be a Samsung issue rather than a carrier fault.
(mine is unlocked and in use on AT&T)
Would it be advisable to contact Samsung directly?
Go to Settings>Device>Accessibility, and check under "Services". Having apps turned on there can break the one-handed function.
I have NiLS for lockscreen notifications, but it seems to run fine even when the service permission is turned off.
;47334317 said:
Go to Settings>Device>Accessibility, and check under "Services". Having apps turned on there can break the one-handed function.
I have NiLS for lockscreen notifications, but it seems to run fine even when the service permission is turned off.
Click to expand...
Click to collapse
Bingo! Thank You barnabydog!
The good news: It worked! I turned off the offending app and I'm back in business!
The bad news: The offending app was Pebble (smartwatch)
A feature that is more useful to me than the one handed mode . . .
So then is this the sad state of affairs? I have to choose between my Mini-screen mode and my smart watch?
How did you know about this barnabydog?
is there another thread that discusses this issue?
Yes, but I was too lazy to search for it.
barnabydog said:
Go to Settings>Device>Accessibility, and check under "Services". Having apps turned on there can break the one-handed function.
I have NiLS for lockscreen notifications, but it seems to run fine even when the service permission is turned off.
Click to expand...
Click to collapse
Thx I've been struggling trying to figure out why it wasn't working..
Sent from my SM-N900W8 using Tapatalk

Help! Notification Access turns off for many apps

I have a number of apps that I give access to Notifications. (Settings > Security > Notification Access). Apps like Google Wear are pretty useless without Notification Access.
For some odd reason all of these apps will lose their check mark and no longer have access to notifications. Makes my Moto 360 a dead weight on my arm. It's not hard to turn notification back on, I just have to go into settings and check mark it. It's that I have no idea that it's turned off until I start missing important notifications on my watch. It's a real pain.
There seems to be no reason for them to become unchecked, they just do. A reboot doesn't cause this. Seems to happen about once a day.
How can I make sure that all of these apps (7 of them) keep their access to notifications?
Nobody else have this issue?
TabGuy said:
Nobody else have this issue?
Click to expand...
Click to collapse
Same issue here on Note 3 (Lollipop). Drives me crazy
Turist said:
Same issue here on Note 3 (Lollipop). Drives me crazy
Click to expand...
Click to collapse
I did a factory reset and the problem went away.
TabGuy said:
I did a factory reset and the problem went away.
Click to expand...
Click to collapse
Thanks for feedback. I thought about it but hoped to find some other solution.
Am also facing the same issue Note 3 (Sm-N900) running Lollipop 5.0. Every after a while, all check marks are removed and only left on GlanceviewMk, i disabled it but it hasn't fixed the problem. Help Please.
masaichris said:
Am also facing the same issue Note 3 (Sm-N900) running Lollipop 5.0. Every after a while, all check marks are removed and only left on GlanceviewMk, i disabled it but it hasn't fixed the problem. Help Please.
Click to expand...
Click to collapse
Me too...
Samsung S4 (i9505) with Albe95 LolliROM v1.0.
After a reboot only GlanceviewMk i selected. I also have Apex Notifier, ExDialer & Light Flow on but these three are disable at every reboot... On 4.4.2 no problem..
Thanks,
Marco
Lyan said:
Me too...
Samsung S4 (i9505) with Albe95 LolliROM v1.0.
After a reboot only GlanceviewMk i selected. I also have Apex Notifier, ExDialer & Light Flow on but these three are disable at every reboot... On 4.4.2 no problem..
Thanks,
Marco
Click to expand...
Click to collapse
masaichris said:
Am also facing the same issue Note 3 (Sm-N900) running Lollipop 5.0. Every after a while, all check marks are removed and only left on GlanceviewMk, i disabled it but it hasn't fixed the problem. Help Please.
Click to expand...
Click to collapse
Turist said:
Thanks for feedback. I thought about it but hoped to find some other solution.
Click to expand...
Click to collapse
Turist said:
Same issue here on Note 3 (Lollipop). Drives me crazy
Click to expand...
Click to collapse
TabGuy said:
Nobody else have this issue?
Click to expand...
Click to collapse
TabGuy said:
I have a number of apps that I give access to Notifications. (Settings > Security > Notification Access). Apps like Google Wear are pretty useless without Notification Access.
For some odd reason all of these apps will lose their check mark and no longer have access to notifications. Makes my Moto 360 a dead weight on my arm. It's not hard to turn notification back on, I just have to go into settings and check mark it. It's that I have no idea that it's turned off until I start missing important notifications on my watch. It's a real pain.
There seems to be no reason for them to become unchecked, they just do. A reboot doesn't cause this. Seems to happen about once a day.
How can I make sure that all of these apps (7 of them) keep their access to notifications?
Click to expand...
Click to collapse
I had this too, and it seems to be fixed now.
Just disable (freeze) glance view mk with titanium backup or any other app. And please let me know if it works for you too
Yes it works!
But I don't exactly know what I've disabled...
What it was for?
Lyan said:
Yes it works!
But I don't exactly know what I've disabled...
What it was for?
Click to expand...
Click to collapse
I thought that it's something related to Ambient display, but it seems that it's working fine, and Quick Glance is not working. Now i'm pretty sure it's Quick Glance
---------- Post added at 10:30 PM ---------- Previous post was at 10:28 PM ----------
Deleted
Lyan said:
Yes it works!
But I don't exactly know what I've disabled...
What it was for?
Click to expand...
Click to collapse
I thought that it's something related to Ambient display, but it seems that it's working fine, and Quick Glance is not working. Now i'm pretty sure it's Quick Glance
Same problem here
Hello, I have the same problem here with Galaxy Note 3 in Lollipop. Everything keeps getting unchecked in Notification Access. I have an Android Wear watch so it's even more annoying, since I stop receiving notifications on my watch.
Any solution to this that does not involve rooting? I did a hard reset (2, actually) but the problem persists. I have a long trip soon and would like my phone to be as stable as possible since I will be depending on it for guides, GPS, etc.
Thanks!

Solve notification issue

A very simple way to solve this problem is by giving priority to the notification that does not receive notification
1 go to setting
2 go to application
3 touch the name of that app to open its setting
4 go to notification
5 turn on the priority
That is all
Do you really think nobody else has already tested this?
themissionimpossible said:
Do you really think nobody else has already tested this?
Click to expand...
Click to collapse
i solved my notification issue by his method plus i have locked the concerned apps in background and now i have not lost any notification
Unfortunately this method works only in some cases, and many people can't solve the notification problem in any known way.
In this forum there are already many threads discussing about this problem, it's useless to open new threads on the same subject every time...
themissionimpossible said:
Unfortunately this method works only in some cases, and many people can't solve the notification problem in any known way.
In this forum there are already many threads discussing about this problem, it's useless to open new threads on the same subject every time...
Click to expand...
Click to collapse
I am sorry if this annoyed you.. I am new to Huawei and it is merely to share my ideas with others... Look to it as a brain storming
themissionimpossible said:
Unfortunately this method works only in some cases, and many people can't solve the notification problem in any known way.
In this forum there are already many threads discussing about this problem, it's useless to open new threads on the same subject every time...
Click to expand...
Click to collapse
alethary said:
I am sorry if this annoyed you.. I am new to Huawei and it is merely to share my ideas with others... Look to it as a brain storming
Click to expand...
Click to collapse
There is one method to solve it though it is not permanent as you have to do it every reboot. But the fix is to disable Android's own Doze.
Enable developer options and USB debugging. Then type this adb command:
adb shell dumpsys deviceidle disable
That will fix your push notifications until next reboot where you have to do it again. This way we can still use Huawei's own "Doze" function.
alethary said:
. I am new to Huawei and it is merely to share my ideas with others...
Click to expand...
Click to collapse
This doesn't mean that you are free not to respect the forum rules as the other members.
Maybe this can help you, look carefully...
https://www.youtube.com/watch?v=JmvCpR45LKA
try it.
dannejanne said:
There is one method to solve it though it is not permanent as you have to do it every reboot. But the fix is to disable Android's own Doze.
Enable developer options and USB debugging. Then type this adb command:
adb shell dumpsys deviceidle disable
That will fix your push notifications until next reboot where you have to do it again. This way we can still use Huawei's own "Doze" function.
Click to expand...
Click to collapse
I can confirm, it works like a charm.
alethary said:
A very simple way to solve this problem is by giving priority to the notification that does not receive notification
1 go to setting
2 go to application
3 touch the name of that app to open its setting
4 go to notification
5 turn on the priority
That is all
Click to expand...
Click to collapse
FAIL
Wi-Fi and data always active in battery settings did the work for me on Simple Google Rom
Gmail native app was the problem before that. It might eat more battery, but I still have about 8 hours sot a day, with Bluetooth on 8 hours too and 2 hours talk time. ?
Guys check my post on 100% working solution for Notifications http://forum.xda-developers.com/mat...ues-huawei-t3345380/post66044102#post66044102
themissionimpossible said:
Do you really think nobody else has already tested this?
Click to expand...
Click to collapse
This is the moment that im down to the flor and :crying::crying:
My friend above think that he descover America....
Sorry my friend but this is one of the very first steps that we all have done (incuded so many others) lets hope that the new L29C432B170 has solve the problem with lockscreen on time notifications...I m running it right now, testing it and i think that YES has solve the problems especialy with stock mal app.
Always friendly.
I.also never had any.problems from day one
I have the eu version and I keep seeing all these threads about notification issues. I haven't had any with WhatsApp, snap chat, Skype or any other app. They come through instantly. Even when in deep sleep. What version is everyone having this issue on?
Sent from my HUAWEI NXT-L29 using Tapatalk

How to stop ActivityManager killing apps due to "high power cost"???

By now you may have heard about Axon 7 killing music playing app issue, if you haven't experienced it yourself already. For me I'm having a similar or at least related issue. The phone would kill my game when I turn off and on screen. After some investigation, below is my observation
1. Doesn't happen all the time. After a fresh reboot, no killing for a while... but after some time using the phone, it starts to happen
2. Not app-specific: After playing a game heavily for a while, the killing starts... only for that specific game. If I play a different game, then only that new game gets killed.
This have driven me kinda crazy. A look at adb logs reveals this:
12-22 12:45:34.229 I/ActivityManager( 1752): Killing 23881:jp.co.happyelements.toto/u0a122 (adj 0): excessive high power cost :jp.co.happyelements.toto
What the actual f***??? Why would ZTE kill my "excessive high power cost" process *after* I turn on the screen (and not when I turn off screen, which was 5 seconds earlier)??? Has nobody in ZTE thought about that apps that has "high power cost" may not be actually "excessive" but totally within reasons and fall into the category of normal every day use?
And no amount of changing the native "power saving" options stopped this behavior. Back in the days I remember there was some root/xposed module that would whitelist apps from being killed by the OS but I couldn't remember the name. So now I have to ask help on how to deal with this idiocy.
Edit: My apologies... I just noticed I posted in the wrong section... mods please move the thread to Q&A section if possible. Thanks a lot.
is there seriously no solution?
This is intolerable
Turn off smart power lol. Not rocket science my friends
icenight89 said:
Turn off smart power lol. Not rocket science my friends
Click to expand...
Click to collapse
I did. Didn't help.
If it was that easy, then I wouldne be here asking about it would I?
Yep, have the same problem after trying the same things. Several apps (2 of which I use for monitoring blood sugar levels) will randomly stop updating until either re-launched or the phone is rebooted. I have disabled all power manager options to no avail. Whatever power management system ZTE has implemented, it's FAR too aggressive.
Disclaimer - I haven't pulled logcats, but your description of the problem matches mine exactly. Here's hoping for a fix in Nougat and/or a custom ROM, otherwise I'm moving to a different phone. The A7 has great hardware but the stock software is a bloated mess.
B27 does not have this issue (which is why I downgraded to it). Might be a solution for you until the next upgrade releases.
whoiswes said:
Yep, have the same problem after trying the same things. Several apps (2 of which I use for monitoring blood sugar levels) will randomly stop updating until either re-launched or the phone is rebooted. I have disabled all power manager options to no avail. Whatever power management system ZTE has implemented, it's FAR too aggressive.
Disclaimer - I haven't pulled logcats, but your description of the problem matches mine exactly. Here's hoping for a fix in Nougat and/or a custom ROM, otherwise I'm moving to a different phone. The A7 has great hardware but the stock software is a bloated mess.
Click to expand...
Click to collapse
@whoiswes If you are talking about the xdrip app. I too want this app to work with this phone. I tried CM13 and had the app work for hours then at night it stopped working. I only tried it for one night so didn't try different settings. At least this is a positive sign once CM13 becomes more stable or CM14 is released. I heard the app won't work with B27 either.
Found a solution, though it needs root
Code:
pm disable com.zte.powersavemode
then reboot
This totally disables the power saving menu though
phailyoor said:
Found a solution, though it needs root
then reboot
This totally disables the power saving menu though
Click to expand...
Click to collapse
Can you freeze it with TB?
Actually no that didnt help just made it take longer
I have the same issue, ram management is too aggressive.
phailyoor said:
Found a solution, though it needs root
then reboot
This totally disables the power saving menu though
Click to expand...
Click to collapse
Didn't work
:crying::crying::crying:https://forum.xda-developers.com/axon-7/development/xposed-kill-zte-killer-t3532298
phailyoor said:
:crying::crying::crying:https://forum.xda-developers.com/axon-7/development/xposed-kill-zte-killer-t3532298
Click to expand...
Click to collapse
Did this work?
borijess said:
Did this work?
Click to expand...
Click to collapse
No because it has nothing to do with powermanager.
doyou37 said:
No because it has nothing to do with powermanager.
Click to expand...
Click to collapse
Then why was it posts here?
borijess said:
Then why was it posts here?
Click to expand...
Click to collapse
People are desperate
borijess said:
Did this work?
Click to expand...
Click to collapse
Yes
doyou37 said:
No because it has nothing to do with powermanager.
Click to expand...
Click to collapse
Lol did you even look at it?
doyou37 said:
People are desperate
Click to expand...
Click to collapse
I made this xposed module specifically to fix the problem described in OP. If you have the exact problem, including the logcat message, then the module should fix it.
If you dont have the exact problem, including the logcat mesage, then go ****post in another thread.
My solution is to whitelist all apps in:
settings -> energy management -> app energy management -> option button (upper right) -> app protection list -> option button -> set all to off
But the problem is that this setting resets everytime you install/delete an app
Edit: Ok i just tried out manually setting all apps to "off", now it doesn't reset the apps when installing an app but the new app ist automatically allowed to be cleaned. So you still have to disallow cleaning for each installed app manually.
Just an FYI, I updated to the Cyanogenmod/Lineage 13 Beta by UDev and one of my problem apps has been running for 18 hours without a single hiccup. Trying the second problem app later today. Not a solution for this problem but from my perspective it definitely pinpoints Power Manager as the culprit.
@borijess - yeah, Nightwatch and xDrip are the 2 apps that I've had trouble with, and so far Nightwatch is working great on CM13 (1228 build).

WhatsApp location sharing problem

Hi all
I use my share location sometimes on way home from work, but it doesn't work, as soon as I open the app again it starts to work again?
Seems the app has to be open and running and on to be working.
Not an issue on previous phones, is there a way to allow it to remain running? Seems silly to need to have it on?
Try to not optimize the battery usage on WhatsApp. That may solve the issue. I have experienced delay in notifications with WhatsApp, so I removed that optimization. Normally this solves the 90% of the issues with location, notifications or background processes
WhatsApp location permission setting change from only when app is running to always allow?
hjin said:
WhatsApp location permission setting change from only when app is running to always allow?
Click to expand...
Click to collapse
Take a look, there is no option.
WeedBilbao said:
Try to not optimize the battery usage on WhatsApp. That may solve the issue. I have experienced delay in notifications with WhatsApp, so I removed that optimization. Normally this solves the 90% of the issues with location, notifications or background processes
Click to expand...
Click to collapse
That makes sense, cheers will give it a whirl.
Disabled it, let's see how it goes, there really is no option to leave it constantly on, how crap is that.
dladz said:
Take a look, there is no option.
Click to expand...
Click to collapse
Never noticed that wasn't an option for Whatsapp. Thats an option with most other apps, but found this
https://android.stackexchange.com/q...-all-the-time-location-permission-to-whatsapp
hjin said:
Never noticed that wasn't an option for Whatsapp. Thats an option with most other apps, but found this
https://android.stackexchange.com/q...-all-the-time-location-permission-to-whatsapp
Click to expand...
Click to collapse
Nice find, glad to see it wasn't just me either

Categories

Resources