Enabling stock battery saver - P8lite General

I recently started messing around with an app called Activity Launcher (Link: play.google.com/store/apps/details?id=de.szalkowski.activitylauncher ) and found an option to enable the stock battery saver.
Download and open the app
Switch at the top left to "All activites"
Find the "Settings" app
Expand the list and find "Battery saver" "com.android.settings.Settings$BatterySaverSettingsActivity" and tap on it.
Set "Never" to the option of your liking.
I hope this little info helped some of you!
PS: Alternatively, you can also ask Google Assistant to turn it on for you temporarily!

Yeah, but it just turns off UI animations and dims screen a little. Nothing more.

Yes. I have used it for a few weeks.
Sent from my HUAWEI CHM-TL00H using XDA Labs

Related

Disable Stay Awake

To make a short story long, I enabled the "Stay Awake" option when I did the KB1 update. After I was done doing everything I wanted to disable the option, however when I went to /applications/development the option is no longer there. So, now I am stuck with the option "on" and I would like to have the option back in the settings menu so that I can disable it.
I have pulled up the settings.apk and I can see that in the "development_perfs.xml" that there is the entry for the option.
Any ideas on how I can get this option back?
There are a few widgets in the market that toggle the 'stay awake' setting... see if one of them will work.
Sent from my SAMSUNG-SGH-I897 using XDA Premium App
I have seen that there are a couple of apps out there that will do the same thing. I even had seen that there was a settings.apk for the vibrant that had the option in there. I would consider these methods as a last resort.
I'm looking to get the option back in the settings menu, so that I can toggle it from there.
Fix?
You could root and use sqlite to change the database, it is risky except that would disable the setting, just go to settings storage in sqlite and change the value from 1 to 0 that should disable it
I went and checked the /dbdata/databases/com.android.providers.settings/settings.db and found that the stay_on_while_plugged_in value was set to 0. So I rebooted the phone and things seem to be better with it now.
However it would be nice to be able to toggle the option from the settings UI.
Can any one point me in the right direction to get that done?
Check the 6 lockscreen mod thread. I saw the op there saying he had reenabled the setting I believe.
Sent from my MB860 using XDA App
I use the highly customizable "Widgetsoid" widget for toggles for:
Mobile AP
USB Mount
Screen always on
Screen on while charging
Screen brightness (4 level)
(all items buried pretty deep in the menus).
Pretty much anything else is accessible to the Widgetsoid widget, too.
newter55 said:
Check the 6 lockscreen mod thread. I saw the op there saying he had reenabled the setting I believe.
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
Theres a line in the smali files that you comment out to get it back.
Sent from my Captivate using XDA Premium App.

[Q] exiting "app info" screen

I have noticed that when using certain apps (ES File Explorer and Avast! being two examples) that if I enter an "app info" screen from these apps it opens in full screen with no apparent method to exit the screen short of returning to home. Am I missing some gesture? Entering "app info" from default "settings" allows me to back out - but no such option exists in these cases. What is more if I do go to home then restart the guilty app using a shortcut it puts me back to my last location for that app, which of course is stuck in the "app info" screen.
edit: Forgot I'm using Nova launcher
Me to, why does that matter?
Sent from my BNTV600 using xda app-developers app
dbh369 said:
Me to, why does that matter?
Sent from my BNTV600 using xda app-developers app
Click to expand...
Click to collapse
My particular problem was that I would enter the info screen through a misclick, attempt to return to the previous screen, use home to access desktop then end up back inside the same (dead end) info page when I attempted to reopen explorer through the desktop. As a novice to tablet interfaces I found this circular dance at best, unintuitive.
Nuor60 said:
I have noticed that when using certain apps (ES File Explorer and Avast! being two examples) that if I enter an "app info" screen from these apps it opens in full screen with no apparent method to exit the screen short of returning to home. Am I missing some gesture? Entering "app info" from default "settings" allows me to back out - but no such option exists in these cases. What is more if I do go to home then restart the guilty app using a shortcut it puts me back to my last location for that app, which of course is stuck in the "app info" screen.
edit: Forgot I'm using Nova launcher
Click to expand...
Click to collapse
There is a solution. But you have to install an app. It is GMD Gesture Control Lite. It is free but sometimes nags you to buy the full version. I found out about it because another user wanted to hide the status/navigation bars. The app adds the ability to add finger swipe gestures for specific actions. One swipe that comes with the free version is back. So with that installed, just give the pre-defined swipe action and it goes back. And if you buy the full version it adds the swipe to hide or show the status/nav bar. So, if you give it that swipe, the back bar appears. I found I had trouble with the multi-touch tablet swipes, so I configured it for phone so it only took single touch swipes.
I could see where that app would be handy in a lot of situations. I am going to keep it installed. May even recommend it in my tips thread.
Sent from my BNTV600 using Tapatalk
leapinlar said:
GMD Gesture Control Lite.
Click to expand...
Click to collapse
I tried that out but couldn't get consistent behaviour from it. More often than not a gesture wouldn't register.
Ok misunderstood your problem. Yes I've seen that too. Have to kill the app in manage apps
Sent from my BNTV600 using xda app-developers app

Is there an easier way to get to quick settings?

I'm using Apex launcher and I have swipe up to get to quick settings, but it doesn't work. Any other options?
Swipe down from the top with two fingers.
Start swiping down from the right side and hold until the tab switches to quick settings. Then pull down.
Sent from my D5803 using XDA Free mobile app
phantomblu said:
I'm using Apex launcher and I have swipe up to get to quick settings, but it doesn't work. Any other options?
Click to expand...
Click to collapse
Best solution I found for myself is "Power Toggles". That App allows to have quick toggles on the home screen as well as where they used to be prior to Android 4.4.
https://play.google.com/store/apps/details?id=com.painless.pc
Or if you use it a lot, might want to try tasker.
I also use Power Toggles for quick access to a lot of settings, although with KitKat its usefulness has declined because it has to send you to a settings screen for a lot of them rather than just toggling the setting itself.
Tasker is an option, but a very complicated one. I also use AutomateIt (similar to tasker but much more user friendly) to create shortcut icons to change multiple settings at once.

Mobile Hotspot turning itself off after 26A update

I recently upgraded my G2 from 4.2 to 4.4 (26A) and ran the hotspot provision fix and it works great....when its on. It seems like within a few minutes of being on my hotspot turns itself off. I'll wake my phone and the toggle will be off. I checked the settings and don't think its anything in there (like battery saver). Also don't have any battery conservation apps. It worked perfect on the old firmware. I also tried some 3rd party hotspot apps (Open Garden for one) and none have worked properly. Any suggestions for fixing the native app or a 3rd party?
Check to see if you have "Advanced" settings (under the three vertical dot icon) in the Mobile Hotspot app. On my ROM, I have a setting called "Power Management" under "Advanced" which was set to turn the hotspot off after 5 minutes of inactivity by default. After setting this to never, I stopped having issues similar to what you described.
Sent from my VS980 4G using XDA Free mobile app
This was it! So obvious, I swear I looked before. On the 'configure' settings screen I had to hit the menu button to bring up the advanced menu you specified which had the Power Management setting. Many thanks!
indigoataxia said:
This was it! So obvious, I swear I looked before. On the 'configure' settings screen I had to hit the menu button to bring up the advanced menu you specified which had the Power Management setting. Many thanks!
Click to expand...
Click to collapse
Thanks guys! This helped me out a lot! The Advanced menu is kinda hidden. I was looking for one and couldn't find it prior. I feel dumb now. ha ha

Anyone else missing gmail notifications unless screen is on?

I have no power saving settings on like aggressive doze or close high powered apps.
Ill just let my 3T's screen turn off and send an email to my gmail account from my work email. I will not get a notification unless I turn on the screen.
Yes, I have this issue only with Gmail, Oxygen 4.0.2.
Same here.
It happens with WhatsApp as well but I hadn't had time to troubleshoot it.
worldsoutro said:
I have no power saving settings on like aggressive doze or close high powered apps.
Ill just let my 3T's screen turn off and send an email to my gmail account from my work email. I will not get a notification unless I turn on the screen.
Click to expand...
Click to collapse
Rated R said:
Yes, I have this issue only with Gmail, Oxygen 4.0.2.
Click to expand...
Click to collapse
Gmail/Inbox use normal priority notifications as opposed to high priority, therefore will never bypass Doze. For some odd reason however, selecting Do Not Optimize makes no difference. This issue is not specific to the 3T.
I have noticed this too with whatsapp i can't remember if it started happening on 4.0.2 or when i flashed a different kernel, probably 4.0.2 related
I have exactly the same issue ... mostly with gmail and possibly with other apps like Whatsapp (I need to use my phone more to be sure) but surely and deeply with gmail.
Sometimes I receive push notifications on my OnePlus3T (running OOS 4.0.2 and unrooted) flawlessly, sometimes it takes a delay from one minutes to several, sometimes I need to wake up my phone (with the Jedi move of waving my hand over the proximity sensor) and sometimes I need to open the gmail app and force the update with a slide.
I think I also notice a random delay for the notification even if the screen is on and the phone in use, which seems to exculpate the doze mode but I'm not 100% sure and it is much more rare.
This is really annoying to me as I didn't have this issue with my old Nexus 5 and which I don't have on my work iPhone. I try to convince myself that it is not a big deal but it's not easy ^^.
I tried to contact Google on this but they weren't helpful on that matter.
23Six said:
Gmail/Inbox use normal priority notifications as opposed to high priority, therefore will never bypass Doze. For some odd reason however, selecting Do Not Optimize makes no difference. This issue is not specific to the 3T.
Click to expand...
Click to collapse
There a 120 pages post on the OnePlus forum about this issue on the OnePlus 3, even before OOS 4.
Can you tell me where is the "Do Not Optimize" option you're talking about (despite it is not working, strangely) thanks !
if you are ready to sacrifice a little bit of battery life, you can turn off Doze. You would need to do that in 2 places.
1. Settings -> Battery -> Three dots top right -> Aggressive doze and app hibernation -> Turn off
2. Settings -> About Phone -> Keep taping Build Number until phone marks you as a developer -> Go back one screen -> Developer Options -> Doze mode -> Turn off
I hope this helps.
23Six said:
Gmail/Inbox use normal priority notifications as opposed to high priority, therefore will never bypass Doze. For some odd reason however, selecting Do Not Optimize makes no difference. This issue is not specific to the 3T.
Click to expand...
Click to collapse
jasleen_ss said:
if you are ready to sacrifice a little bit of battery life, you can turn off Doze. You would need to do that in 2 places.
1. Settings -> Battery -> Three dots top right -> Aggressive doze and app hibernation -> Turn off
2. Settings -> About Phone -> Keep taping Build Number until phone marks you as a developer -> Go back one screen -> Developer Options -> Doze mode -> Turn off
I hope this helps.
Click to expand...
Click to collapse
Thanks for the tip.
I will give it a try but read on the OnePlus forum that it was not really a game changer.
I hope people working on Android know about this "feature" and will correct it soon if it has an impact on all Android N users !
I have that same issue.
Everything was working for me perfectly then all of sudden. Notification for Gmail Google plus and WhatsApp stops working no matter I am on mobile network or WiFi.
It work only when I open the app
I am on RR Rom
The easiest fix I found for my work email (Nine), which wasn't getting timely push notifications... was to just turn off battery optimization for this app. That made it perfect and instant notifications again. Presumably it uses more battery in this mode, but I still need it.
dusktrader said:
The easiest fix I found for my work email (Nine), which wasn't getting timely push notifications... was to just turn off battery optimization for this app. That made it perfect and instant notifications again. Presumably it uses more battery in this mode, but I still need it.
Click to expand...
Click to collapse
How exactly does one turn off optimization? I can't find that option. Thanks
Sent from my ONEPLUS A3000 using Tapatalk
I guess this is issue with number of handsets, I am facing this issue in my leeco LE 2 as well. Thinking of upgrading to op3t just for this issue but found this thread, what a bummer.
Sent from my Le X526 using Tapatalk
jaliscojorge said:
How exactly does one turn off optimization? I can't find that option. Thanks
Click to expand...
Click to collapse
It's kindof hidden:
Go to Settings-> Battery-> 3 dots in upper right
Then in Battery Optimization section, select 'All apps' from the pulldown selector at top.
Then find your app and change it to 'not optimized'
dusktrader said:
It's kindof hidden:
Go to Settings-> Battery-> 3 dots in upper right
Then in Battery Optimization section, select 'All apps' from the pulldown selector at top.
Then find your app and change it to 'not optimized'
Click to expand...
Click to collapse
Yes it was kind of like an easter egg but I found it. Notifications are coming in on time so far I hope that's fixed the problem. Thank you
Sent from my ONEPLUS A3000 using Tapatalk
dusktrader said:
It's kindof hidden:
Go to Settings-> Battery-> 3 dots in upper right
Then in Battery Optimization section, select 'All apps' from the pulldown selector at top.
Then find your app and change it to 'not optimized'
Click to expand...
Click to collapse
I dont find Gmail in the listed app?
In the Battery Menu/3 dots I don't have a Battery Optimisation Section but 2 settings (with my own translation from French to English, sorry about that) :
- apps hibernation & doze
- greedy application management
In the first option, there's a selector to activate or not the Apps hibernation & aggressive doze --> I disabled the option (and one can choose the app to optimize or not, but gmail is not on the list)
In the second option, I have a selector to allow to shutdown automatically "greedy" apps --> I disabled the option
However, in the Applications menu, while choosing the wheel then the Special Access Menu, there's an option for "Battery Optimisation" in which one can choose - one by one - the Apps that are optimised or not.
Anyway, for me, disabling the Doze mode in the Developper options seems to solve the problem with Gmail but i still have issues with delayed/lost notifications for other Apps (Twitter, Le Monde, ...).
And I'm running 4.0.3
serafko said:
I dont find Gmail in the listed app?
Click to expand...
Click to collapse
That's weird, I do have Gmail listed in mine. Make sure you set it to show all apps.
Also, I haven't done anything unusual with Gmail, like converted it to a system app, for example. It was flashed as part of Gapps Micro.
FI, just posted a bug report on that issue : https://forums.oneplus.net/threads/random-delay-with-push-notificatio-ns.500958/

Categories

Resources