[SOLVED] [Q] What is maximum "sleep after" time? - OnePlus 7 Pro Questions & Answers

Hi guys, one short question for 1+ 7 Pro owners: Could you follow up what is maximum time available in settings, for display to stay turned on without user interaction, on 7 Pro stock ROM?
I mean on System Settings > Display > Sleep After , as on my custom ROM on screenshot attached.
The thing is that I need this info before decide to buy or not this phone for some developing tasks and I have no where to check (need to have even 30 minutes as most of nowadays phones, some phones has this option for 10 minutes max unfortunately).
Many thanks in advance.

I don't think I've got anything enabled that increases this even tho I am rooted.

Just get caffeine. It doesn't even need root, just an adb command. The app tiles on the Play store has it

Thanks guys, this is what I've looking for, I've marked thread as solved.

Related

Keep Screen On

Hello all,
Is there option, under Lollipop 5, to keep the Nexus 5 screen on indefinitely. I see the max in Display settings is 30 minutes. When I am in my car, using the navigation, its a pain to have the screen go to sleep. There used to be a way, using Xposed in 4.4, to do this. Wondering if anyone has found a way to do it in 5.
Thanks,
Steve
stevefxp said:
Hello all,
Is there option, under Lollipop 5, to keep the Nexus 5 screen on indefinitely. I see the max in Display settings is 30 minutes. When I am in my car, using the navigation, its a pain to have the screen go to sleep. There used to be a way, using Xposed in 4.4, to do this. Wondering if anyone has found a way to do it in 5.
Thanks,
Steve
Click to expand...
Click to collapse
In settings -> developer options
you can check Stay awake.
It will keep your phone phone on while charging that is what i use.
qnc said:
In settings -> developer options
you can check Stay awake.
It will keep your phone phone on while charging that is what i use.
Click to expand...
Click to collapse
Perfect...thanks!
You can also install an app called "Screen Timeout Toggle"
very handy

[Completed] issue with background running app (emui)

looking for help on a certain issue. Related to the following 2 apps:
1) one weather
2) applock
I have one of the widgets my homescreen which displays the weather & the time. On my op3 (and other non huawei/honor devices i've owned) it works fine & the time is always accurate but on my huawei (p9) and honor 7 the time seems to stop keeping track.
i think it must be something to do with what apps are left running when the screen i switched off & the interference with emui.
internet is not required to be on for the time to display correctly a on my op3 it keeps telling the right time even if wifi and data are off but on the huawei/honor devices it only keeps up to date with the time when the screen is off if data/wifi is enabled.
- I have done the following in settings:
advanced > battery manager > protected apps (allow apps to keep running after the screen is turned off) > i have enabled 1 weather so it is allowed to keep running
- auto closing of power intensive apps is disabled
settings > apps > advanced > ignore optimizations > 1 weather is allowed
I can't see any other options from the settings menu that that wold be having an effect.
The fact it runs fine on my op3 (and other android devices) implies it must be sth to do with huawei/honor optimization or doze feature
second app (smart app lock) is a similar issue. it seems to auto disable itself but irregularly. sometimes its when I close all apps (which i tend to do each time i switch off the screen) other times do that & it's fine but when i switch off screen then switch back on again its disabled.
again I dont have the issue with the same app on my op3 so it must be to do with huawei/honor or emui
fyi i previously had a p8 lite and had the exact same issue with the same 2 apps.
anyone any suggestions?
neonflash said:
looking for help on a certain issue. Related to the following 2 apps:
1) one weather
2) applock
I have one of the widgets my homescreen which displays the weather & the time. On my op3 (and other non huawei/honor devices i've owned) it works fine & the time is always accurate but on my huawei (p9) and honor 7 the time seems to stop keeping track.
i think it must be something to do with what apps are left running when the screen i switched off & the interference with emui.
internet is not required to be on for the time to display correctly a on my op3 it keeps telling the right time even if wifi and data are off but on the huawei/honor devices it only keeps up to date with the time when the screen is off if data/wifi is enabled.
- I have done the following in settings:
advanced > battery manager > protected apps (allow apps to keep running after the screen is turned off) > i have enabled 1 weather so it is allowed to keep running
- auto closing of power intensive apps is disabled
settings > apps > advanced > ignore optimizations > 1 weather is allowed
I can't see any other options from the settings menu that that wold be having an effect.
The fact it runs fine on my op3 (and other android devices) implies it must be sth to do with huawei/honor optimization or doze feature
second app (smart app lock) is a similar issue. it seems to auto disable itself but irregularly. sometimes its when I close all apps (which i tend to do each time i switch off the screen) other times do that & it's fine but when i switch off screen then switch back on again its disabled.
again I dont have the issue with the same app on my op3 so it must be to do with huawei/honor or emui
fyi i previously had a p8 lite and had the exact same issue with the same 2 apps.
anyone any suggestions?
Click to expand...
Click to collapse
Greetings and welcome to assist. Unfortunately assist is for guiding new members around the boards only, please try asking your question here
https://forum.xda-developers.com/android/help
Thanks for understanding
Sawdoctor

[Guide] My Battery Optimization Guide for OnePlus 6

Hello everyone,
This guide is for non-rooted, stock-firmware phones. It is geared more towards getting good stand-by times, but of course this will also benefit screen-on time. It has some OnePlus-specific things but also many non-specific to one manufacturer. It does not contain miracle information, but from my experience it can help quite a bit. It assumes that you keep phone, mobile data, Wi-Fi and sync enabled at all times. Those are core features of any phone and are not means to save battery. The optimization steps are listed in the order which I think impacts battery life. You may or may not apply some or all of the things listed, depending on your own needs.
So:
1. Go to Settings->Battery->Battery optimization->[tap on the 3 vertical dots on the upper right corner] and enable the phone's "Advanced Battery Optimization" (aka. Aggressive Doze) feature, while at the same time whitelisting apps from which you need instant notifications, like Whatsapp or Outlook, etc. For other apps notifications may be delayed. Some applications like AdBlock Plus for Samsung browser also need whitelisting to work properly. Just go by trial and error with finding which applications need whitelisting.
2. Enable "Developer Mode" by going to Settings->About Phone and tapping 7 times on the "Build Number". Then go to Settings->Developer Options and enable the "App Wi-Fi Multi/Broadcasting Filter" option. I did not find any app impacted negatively by this, even casting to Chromecast works fine.
3. Go to Settings->Display->Ambient Display and disable the "Lift up display" and "Wake screen on notifications" options (which are useless compared to a true Always-On Display option anyway), and instead put the phone's RGB notification LED to good use. The Light Flow (one of many, but in my opinion the best) app can customize the LED color for different types of notifications, as well as setting a priority or cycling between colors. Since the LED's "always-on" nature, it is actually much more useful than a dead screen that only wakes up when lifted. When I use Light Flow, I set the LED blinking speed to "Always On" and a diffent color for each app. Works much better than any "ambient" mode.
4. Go to Settings->Display->Themes and enable the "Dark Theme". It reduces power consumption for OLED displays such as the one from the OnePlus 6.
5. Social media apps (especially Facebook) are battery hogs because they need to continuously gather your personal data and usage information. If you are only an occasional user, prefer uninstalling those apps and instead using the browser to access your account. This will also benefit you in other areas, like productivity
6. Keep Location off until you need it. This will ensure that the system does not wake up the GPS due to some obscure request from an app that can also work without knowing your location.
7. Go to Settings->Apps->Application list, tap on each app and review permissions. Remove Location permission for apps that you don't want to unknowingly wake up your GPS and draining your battery. I prefer to only allow Location access to Google Maps and Waze but your mileage may vary.
8. Disable Face Unlock. Activating the front camera so often does consume quite a bit of battery, as can be seen in battery stats. And as you may have read, it is not very secure anyway. As the rear-placed fingerprint sensor makes it almost unusable for me (for example I cannot unlock it while in the car cradle or on the desk), I chose to use the Smart Lock features with my Bluetooth smartwatch and my home Wi-Fi network and my phone stays unlocked while my smartwatch is around, which eliminates the necessity for both face unlock and fingerprint reader.
9. Prefer using software from companies that do not live from user data (like Google and Facebook). Collecting as much user information as possible requires wide system access and takes up a lot of battery. I like to replace Gmail with Microsoft Outlook (even for my Gmail addresses) and I use Samsung Internet instead of Chrome. The Samsung browser seems to be the most battery-efficient browser available, way above Firefox. Microsoft Edge may also be a good alternative.
10. Use an ad-blocker if supported by your browser. Animated ads and additional loading of ad-related content contributes quite a bit to the web browsing battery drain.
11. Go to Settings->Accounts->Google and for each Google account, tap on it and then disable syncing for information that you do not need synced. Clicking on a Google account shows you sections of info to be synced. Disable what you don't need. For example, you may only need Contacts syncing for your primary Gooogle account and not all of them. Same with Google Fit data, pictures, etc.
12. Go to Settings->Apps->Special Access->Usage Access and disable this access for OnePlus Switch and Google Play Store (not for Google Play Services, it may have unwanted side effects). This stops these apps from consuming system resources and battery to continuously collect usage data.
13. Go to Settings->Apps->Application list and disable applications that you don't need and can be disabled (some cannot be disabled).
14. Opt out of (do not enable) the "send diagnostic information" checkboxes whenever you are asked for, unless you are really selfless and want to give [a percentage of your battery life] to the community Go from app to app and see if it has this or similar setting (sometimes these settings are sugarcoated into "enhance your experience by sending your data to us"). Disable if found.
15. Do not enter your OnePlus account information. This will activate all kinds of data-sending services that will contribute to the battery drain.
16. Wipe cache after each update, especially if you notice worsened battery drain. To wipe cache, turn off the phone, then hold Power + VolDown buttons continuously until it starts, keep holding until a menu appears. After you enter your phone password you can choose "Wipe Cache/Data" section which brings another menu, choose "Wipe Cache" then after confirmation, choose Reboot.
17. If you are not using the landscape mode a lot, prefer to lock the phone rotation in portrait mode (the toggle is present among the quick toggles) and only unlock the rotation when needed. From what I have read, somehow the auto-rotation seems to unnecessarily cause some activity (even wake-locks), and from my experience I did see a bit of improvement from this tweak, looks like more than placebo.
18. If you already have a OnePlus 6, this does not apply. But if you are after ultimate battery life, keep in mind, less chips means less power draw if all else is equal, and RAM memory needs continuous refresh, so a model with 6GB of RAM may be a bit more power-efficient than one with 8GB RAM, especially given the fact that still-large 6GB of RAM virtually guarantees that there will be no extra overhead related too app reloading.
Hopefully this will help some people.
Below you will find some of my usual stand-by times after the optimization. Since update 5.1.7 battery life seems to be improved even further (see last 2 screenshots - with 5.1.7 and 5.1.8).
Thanks for all this. Most of the things I already did myself, but some of them actually make a lot of sense but I've never thought about it before.
Already very happy with the battery life I'm getting, but very curious if it will be even better now.
Thanks for this nice pice of guide!
All of this means nothing if you have really bad cell reception like me. -105 to -112 dBm at the office. Drains like hell in standby.
Cst79 said:
1. Go to Settings->Battery->Battery optimization->[tap on the 3 vertical dots on the upper right corner] and enable the phone's "Advanced Battery Optimization" (aka. Aggressive Doze) feature, while at the same time whitelisting apps from which you need instant notifications, like Whatsapp or Outlook, etc. For other apps notifications may be delayed. Some applications like AdBlock Plus for Samsung browser also need whitelisting to work properly. Just go by trial and error with finding which applications need whitelisting.
Click to expand...
Click to collapse
By Whitelist you mean changing it to "Not Optimize correct?
mesajoejoe said:
By Whitelist you mean changing it to "Not Optimize correct?
Click to expand...
Click to collapse
Correct !
well done on post [emoji106]
Dumb question, is Advanced Optimization (with some apps not optimized as needed) definitely more efficient than normal, with every app set to optimize as by default (and everything works)?
Why isn't there 3 settings for every app: not optimized, optimized, and advanced optimized?
and i got this today... now charging...
Muntasir Mahmud Saif said:
and i got this today... now charging...
Click to expand...
Click to collapse
Looks pretty great ! Did you use the optimizations from this guide ? Any other tips ?
Cst79 said:
Looks pretty great ! Did you use the optimizations from this guide ? Any other tips ?
Click to expand...
Click to collapse
no bro...i always make my own optimization...no offense though... I'll post the guide later on...
Cst79 said:
15. Do not enter your OnePlus account information. This will activate all kinds of data-sending services that will contribute to the battery drain.
Click to expand...
Click to collapse
Hi Bro,
Sorry that i not so understand what this item 15 means.
xiah1512 said:
Hi Bro,
Sorry that i not so understand what this item 15 means.
Click to expand...
Click to collapse
As you may know, especially if you purchased your phone or accessories from the OnePlus website or accessed the OnePlus forums or support, you can create a OnePlus account online. At phone setup, OnePlus asks you to optionally enter this account for various benefits. Do not enter this information when/if asked. Or, if already entered, you can delete it from Settings->Accounts.
Cst79 said:
As you may know, especially if you purchased your phone or accessories from the OnePlus website or accessed the OnePlus forums or support, you can create a OnePlus account online. At phone setup, OnePlus asks you to optionally enter this account for various benefits. Do not enter this information when/if asked. Or, if already entered, you can delete it from Settings->Accounts.
Click to expand...
Click to collapse
Ok, Thanks bro.
For those suggestions that cut down on network chit-chat, this also serves as a partial data usage optimization guide. Thanks for taking time to enumerate all these suggestions. I found a few slam-dunks in this list.
Cst79 said:
As you may know, especially if you purchased your phone or accessories from the OnePlus website or accessed the OnePlus forums or support, you can create a OnePlus account online. At phone setup, OnePlus asks you to optionally enter this account for various benefits. Do not enter this information when/if asked. Or, if already entered, you can delete it from Settings->Accounts.
Click to expand...
Click to collapse
What does adding that account allow you to do?
Muntasir Mahmud Saif said:
no bro...i always make my own optimization...no offense though... I'll post the guide later on...
Click to expand...
Click to collapse
how did you fix the massive overnight drain eventually?
I'm getting 8% drain overnight, I dont think that's normal.
-marco- said:
how did you fix the massive overnight drain eventually?
I'm getting 8% drain overnight, I dont think that's normal.
Click to expand...
Click to collapse
You are on 5.1.6?
Joyarup said:
You are on 5.1.6?
Click to expand...
Click to collapse
I am, yes.
-marco- said:
I am, yes.
Click to expand...
Click to collapse
I was also facing this weird issue, then I noticed that the phone wasn't deep sleeping for some reasons, I rebooted it before going to sleep and it went to deep sleep fine and the drain was around 2% on LTE standby overnight. I will try different kernels too, currently using EX.

How to keep the phone turned on for as long as possible while in idle mode?

Hey,
i'll go straight to the point.
When I'll lose my phone for example, I can get it's location and acces it via shell using tasker, but all of this is useless when the phone's battery reaches zero.
So I am asking - is it anyhow possible to for example limit CPU to minimum, gpu to minium (using kernel manager) or something and turning everything off just to keep the phone turned on for as long as possible?
I am not asking how to do this in tasker, Il'l do that myself. I am just asking how can I do this?
I am rooted on custom rom with Android 9.
not sure if this app works with android 9 but you can ask for suggestions in support forum of this app
https://forum.xda-developers.com/showthread.php?t=2986129

Display standby time changes automatically

Hi,
I have my OP7pro since 3 months and overall I like it, but there are some things that f*** me up.
One of these things is that the device seem to change the display standby time (time until the display turns off) by itself every few minutes. Default is 15 seconds but I want to set it to 1 minute. I don't know how often I've changed again from 15 seconds to 1 minute again and I don't know what could cause this behavior. Until now my OP7pro is not rooted and I run Oxygen OS 9.5.11 with no modifications.
I have turned off every battery optimization features and RAM booster options I could find but the device keeps changing the settings.
Does anyone know what I could check? Is this OP related or Android 9? This is my first OP phone and also my first phone with Android 9. It is very annoying. There are some other annoying things but this would be another topic.
I would appreciate if some could help.
Thanks.
GP
You could possibly go to the official OnePlus web site and register a bug complaint...which doesn't fix your immediate issue.
You can also try the painful factory reset to see if that helps. Drastic...yes...but sometimes this will clear out many cobwebs in the system and help smooth things out. Otherwise this is the first time I've heard of this issue.
General-Pain-666 said:
Hi,
I have my OP7pro since 3 months and overall I like it, but there are some things that f*** me up.
One of these things is that the device seem to change the display standby time (time until the display turns off) by itself every few minutes. Default is 15 seconds but I want to set it to 1 minute. I don't know how often I've changed again from 15 seconds to 1 minute again and I don't know what could cause this behavior. Until now my OP7pro is not rooted and I run Oxygen OS 9.5.11 with no modifications.
I have turned off every battery optimization features and RAM booster options I could find but the device keeps changing the settings.
Does anyone know what I could check? Is this OP related or Android 9? This is my first OP phone and also my first phone with Android 9. It is very annoying. There are some other annoying things but this would be another topic.
I would appreciate if some could help.
Thanks.
GP
Click to expand...
Click to collapse
Hmm.. do you have any Tasker profiles which might be doing that? I have set it to 30 secs and don't have any issue

Categories

Resources