Advanced battery optimization, the Google way! - OnePlus 6T Questions & Answers

All,
Any way of getting the "old" way to access the doze advanced battery optimization menu, which gave the option to select per application state?
Reloading of applications (in ram) is almost constant and yes, I have excluded them from battery optimization. I have also turned off OnePlus's advanced battery optimization but still several apps are reloading.
I've been testing side by side with a Huawei 20 pro running 6GB of ram and the OnePlus is far behind on ram management. Unacceptable based on the latest hw.
Sent from my ONEPLUS A6013 using Tapatalk

I know Greenify has a link to the list you're looking for under Settings -> Aggressive doze -> White list.
This is the only list I can think of that matches your description.

Thanks. I will try that.
Ps. I have just checked. It seems the white list opens the battery optimization menu. Back to square one...
yerger said:
I know Greenify has a link to the list you're looking for under Settings -> Aggressive doze -> White list.
This is the only list I can think of that matches your description.
Click to expand...
Click to collapse
Sent from my ONEPLUS A6013 using Tapatalk

Related

[GUIDE] MIUI Battery & Multi-tasking Fix v4.1 (Updated)

Redmi Note 3 (SD / MTK) Battery & Multi-Tasking Fix v4.1
For MIUI7 & MIUI8
Mediatek & Snapdragon Variants
Global/China & Beta/Stable ROMs​
MIUI is a forked version of Android with plenty of additional features & tweaks not found in stock AOSP ROM. MIUI is very smooth & has a great battery life on the Redmi Note 3. The powerful Snapdragon 650 with its excellent single core performance coupled with dual channel LPDDR3 RAM & eMMC 5.1 flash storage results in blazing fast 1st time app opening speeds.
MIUI by default is very aggressive at killing background apps in the running in the memory, as a result it is unable to keep more than 3-4 apps in the memory while multi-tasking or after waking up the device. Default settings are aimed to keep as much free RAM as possible thats where the problem lies. It kills the apps running in the background to keep most of its RAM free. Apps get killed & have to be reloaded again from the flash storage into the memory, this takes a lot of CPU, I/O cycles & makes the end user experience less enjoyable. Below settings might make your multitasking a bit better at the cost of less free RAM, but that shouldn't matter as RAM is meant to be used not kept free. Always remember "Free RAM is Wasted RAM.
Usage Access Settings
• Settings App > Additional Settings > Privacy > Apps With Usage Access > More > Show System
- Turn off everything except Google Play Services and Play Store
Battery Settings
• Settings App > Battery & Performance > Manage Apps Battery Usage > Power Saving Modes
- Off: All background data & location access of running apps will be enabled, less battery life
- On: Default Setting, more battery life
• Settings App > Battery & Performance > Manage Apps Battery Usage > Choose apps
- From there you can configure the background data & location services for each app.
• Settings App > Additional Settings > Battery & Performance > System Animations
- Hide System Animations: Speeds up device's performance
Memory Settings
To enable Developer Options : Settings App > About Phone > MIUI Version > Keep on tapping till it is enabled.
• Settings App > Additional Settings > Developer Options
- Window Animation Scale: 0.5x or Off
- Transition Animation Scale: 0.5x or Off
- Animator Animation Scale: 0.5x or Off
- Don't Keep Activities : Disabled
- Background Process Limit : Standard Limit
- Memory Optimization : Off
- Show All ANRs : Disabled
- Force-Closed Apps : Disabled
- Turn On MIUI Optimization : Disabled
Security App Settings
• Security App > Settings > Cleaner
- Remind To Clean: Disabled
- Scan App Memory: Disabled
- Update Automatically: Disabled
• Security App > Settings > Blocklist > Disable
• Security App > Settings > Battery Usage
- Turn Off Mobile Data: Never
- Clear Cache: Never
• Security App > Permissions > Autostart
- Disable unnecessary apps, they wont be launched after a reboot
- Keep important apps enabled such as messaging, email apps
Lock Apps In Memory
- You can lock your desired / most frequently used apps in the memory.
- Open your app, let it get fully launched, open the recent apps menu.
- Swipe down the app icon or recent app screen to reveal a lock icon on top left corner.
- Tap on it, this locks the app into the memory & it wont get force killed in the background.
- To unlock the app repeat the same process and tap it again to unlock it from memory.
Important
- After doing the above mentioned changes, restart your device.
- You might have to re-apply these changes after every MIUI OTA update.
- These settings have hardly any effect on the battery life.
- I am getting more or less the same battery backup after using these settings.
Wiki : What does each and every option do?
• Memory Optimization : This option sets the swap file for multi-tasking. Size varies according to the device and RAM configuration.
- High: 767MB to 1GB
- Middle: 767MB to 1GB
- Low: Swap file disabled
- Off: Swap file disabled
• Show All ANRs : This option enables MIUI to show an obtrusive dialogue box after an app fails to stop responding . Setting this off doesnt show the pop-up frequently.
• Force-Closed Apps : This option enables MIUI to show an obtrusive dialogue box after an app force-closes unexpectedly. Setting this off doesnt show the message. It enables after every reboot.
• Turn On MIUI Optimization : This option enables a plethora of MIUI based settings & optimizations as per the guidelines set by the MIUI developers. It helps to load the app and the app data in parallel reducing load times and ensuring snappier user experience. This setting can sometimes cause a variety of issues on non-MIUI based apps such as Google Apps & Apps from Google Playstore. Its better to disable if you rely on Google Playstore for apps & services or use Global Stable or Global Beta MIUI ROMs
With the MIUI Optimization Enabled, some users reported the following issues
- Cannot set third-party launcher like Nova, Apex or Google Now launcher.
- Wallpaper cannot be set using in-built options via custom launchers.
- Occasional lags, stutters or freezes while scrolling web-pages & long lists.
- Custom apps set as default restore to default MIUI apps on reboot. (Only on MIUI China ROMs)
- Cannot set accessibility services on reboot.
- Background apps cannot sync data.
- Music players stop playing after sometime.
- UI Animations are not synced properly.
• After turning off MIUI optimization
- Above issues may get solved.
- Settings > Data Usage > Graph changes to AOSP style.
- Settings > Battery & Performance > Battery Use > Graph changes to AOSP style.
- Settings > Installed Apps > All > Documents > It will not be disabled after every reboot.
- Settings > Additional Settings > Buttons > Settings may get reset.
- No OTA update notifications. Enable it to receive the OTA updates.
Settings App > Additional Settings > Developer Options > Turn On MIUI Optimization : Disabled
Click to expand...
Click to collapse
I would love to know what this option does.
I disabled and i notice that the device is a little smoother. I have one very big folder with all the useless apps, scrolling was always stuttering in there.
Now its smooth.
EDIT
My device is the simple redmi 3, but i still would like to know what is this MIUI optimization.
Settings App > Additional Settings > Developer Options > Memory Optimization : Enabled
only got off,low,middle,high. no enabled. so which one better?
gordito_gr said:
I would love to know what this option does.
I disabled and i notice that the device is a little smoother. I have one very big folder with all the useless apps, scrolling was always stuttering in there.
Now its smooth.
EDIT
My device is the simple redmi 3, but i still would like to know what is this MIUI optimization.
Click to expand...
Click to collapse
It sychronizes the UI thread with the animation time, so by keeping it disabled the clock timer doesnt have to wait for the animation to start/stop. The CPU effortlessly renders the animations without waiting for the MIUI framework to sychronize the animations.
soulz69 said:
Settings App > Additional Settings > Developer Options > Memory Optimization : Enabled
only got off,low,middle,high. no enabled. so which one better?
Click to expand...
Click to collapse
that was a mistake, I edited it. Keep it DISABLED
Still doesn't work for me. It keeps closing my apps,sometimes even when i'm still using them. It closes my apps even when I lock them by swiping down.The ram management is just too aggressive.
Thanks man you fixed it :good:
Much smoother and useful
Thread Updated
same to my with spotify
Hi there.... I have this problem when I play music with SPOTIFY in background. (redmi note 3 pro 16GB - global stable MIUI 7.3.2)
The music stop playing. I can see the app get killed by MIUI. This happen even if the app is locked and is in background. This problem doesn't happen with google play music. When I turn on the screen I can see that is not image and song name just like this
when I turn on the screen this is like this imgur image [o9nTtWD]
Already tried all this recommendation without success.
thanks
EDITED: Now with last correction spotify runs OK, Thanks
Force-Closed Apps : Disabled
Click to expand...
Click to collapse
Why disable this?
I would like to ask to be clear that if i go to customise each app, do i need to turn off the power saving mode or i should put Advanced Mode?
Sent from my Redmi Note 3 using XDA-Developers mobile app
inde_pkv said:
I would like to ask to be clear that if i go to customise each app, do i need to turn off the power saving mode or i should put Advanced Mode?
Sent from my Redmi Note 3 using XDA-Developers mobile app
Click to expand...
Click to collapse
Power Saving Mode : Standard & then customize each app individually.
KaikuHunter said:
Why disable this?
Click to expand...
Click to collapse
This will prevent the SystemUI from showing XYZ app has been force closed for an uninterrupted user experience.
Donwload kernel auditor, go to "Low memory Killer" set to Medium or Aggressive if you have lag (you shouldn't), now the phone can keep around 10 apps in memory.
Thanks. It helped. Was frustrated by apps getting closed
Sent from my Redmi Note 3 using XDA-Developers mobile app
Hi bro please help me fix MiuiSystemUI.apk ..I am decompile success ..Recompile is error "key:code="xxx"
™=--StariusX--=™
MasterUK said:
EDITED: Now with last correction spotify runs OK, Thanks
Click to expand...
Click to collapse
May I know what did you on the 'last correction? I am having problem with spotify (and some radio apps also) on my RN3 Pro with 2GB RAM. Thanks.
ligu said:
May I know what did you on the 'last correction? I am having problem with spotify (and some radio apps also) on my RN3 Pro with 2GB RAM. Thanks.
Click to expand...
Click to collapse
This was the last correction
"Settings App > Additional Settings > Developer Options > Memory Optimization disabled"
Because the original post said another different thing. Also remember keep spotify lock on memory
Open spotify -> press home button -> press menu button -> pull spotify DOWN
Thread Updated With In-Depth Explanation
SharkcpN said:
Thread Updated With In-Depth Explanation
Click to expand...
Click to collapse
I have followed all the steps, and some tips I found on other links (enable apps to autostart), but my apps still get killed randomly. Any more advice?

Question about lockscreen cleaned apps (closed apps)

Usually after i unlock the phone i see a notification that during lockscreen the following apps were cleaned (closed) in order to reduce power consumption. I dont really want to close my chrome or some other apps every time i leave the phone locked for a longer time, but i can't find an option to disable this feature or to whitelist some apps.
Any ideas ? Thanks.
Is this the u or g model? I can't find anything in my u model about this. I would guess that it would be under the power manager settings.
It's the A2017G model. There are a few apps listed under power manager settings but not the ones I want: chrome, photos etc.
Sent from my ZTE A2017G using Tapatalk

✭[Updated : 17/2/17][GUIDE][Discussion] Hacks And Tweaks For Battery Life✭

Hello Folks.
So, everyone is facing battery life problems in our Xperia Devices. And many of you are getting 3-4 hours of SOT. Here are Some of my hacks and tweaks to have a prolonged battery life and approximately 6+ hours of SOT.
- The device used for these tweaks is Xperia Z2 with eXisteZ Rom. These tweaks may differ on different Rom. It can be better it can be worse.
- FAQ's in the #OP2
Let me first show you some results.
1. 100-6% 9hrs and 15 mins of SOT (by me )
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. Here is @cristixperia's 7+ hours SOT after following this thread
Important:
Battery life majorly depends on the battery condition or how old is the battery. So, If your battery is like 1 year old then it will have a less SOT than a new battery with same hacks. So, please see the condition of your battery , which probably gets worsened with time.
Battery life also depends on the thermal conditions of battery. If the battery temperature is hot the drain will be more. The temperature should be around 30-35 or less for good battery life and charging rate. So, make sure you battery is not extremely heated or extremely cold.
I'm adding Priority Levels of each step out of 5. So, it will be easy for you to understand the importance of a step in saving you battery life.
So, Here it Goes. Enjoy.
1. Greenify (Priority:5)
Credits for this app to @oasisfeng
Greenify is the one of the best battery saving apps. It can be used to hibernate the background apps or the apps you use less often. Plus when it is used with Xposed and Donation Package features is saves some real juice.
Download Links:
Greenify
Greenify Donation Package
I'm using version 3.1 build 1 with Donation Package. Here are my settings.
Here is the List of apps to be Greenified :
List 1
List 2
P.S.: GREENIFYING SYSTEM APPS CAN CAUSE SOME SERIOUS PROBLEMS. PLEASE ASK BEFORE HIBERNATING SYSTEM APPS.
2. Fixing the Google Play Services Drain (Priority:5)
Google play services have been draining the juice from our battery from a very long time. >_> with no fix. And they have always benn the top battery drainers. So, apparantly @iXaidyiu and I have found a fix for this drain.
METHOD 1 : Using AppopsXposed
1. Install AppopsXposed from Xposed Installer.
2. Open AppOpsXposed and select Google Play Services and disable the following (see the screenshot).
3. Open AppOpsXposed and select Google Play Store and disable the following (see the screenshot).
4. Open AppOpsXposed and select Google Play Framework and disable the following (see the screenshot).
5. Open AppOpsXposed and select Google App and disable the following (see the screenshot).
After these steps reboot you device and see the google play services drain gone. But that will be gone from the battey(settings) after a full charge or it will show the previos drains.
Thanks to @iXaidyiu for playing with AppOpsXposed and finding this.
METHOD 2 : Using HEBF Optimizer
Credits for this app to @IvsomEmidio
Download Links:
HEBF Optimizer
Follow these steps to get rid of Google Play Services Drain
1. Open HEBF
2. Select Chuck-Norris Type of User(if it is the first time you are opening the app)
3. Select BATTERY from sidebar.
4. Enable GOOGLE PLAY SERVICES DRAIN FIX(Master)
5. Enable all 4 options i.e. Locations Services, Check-IN Services, System Update Services, Usage Report.
6. Reboot and Enjoy.
3. AMPLIFY (Priority:5)
Amplify is a serious battery saver. Amplify can help you to limit some wakelocks, services and alarms for saving battery life. A great tool if used in the right way. It is the best battery saver I've come across and is a must have app if you are running Xposed.
P.S. : How to Set Up Amplify
Or you can use this guide how to use AMPLIFY+ GREENIFY + POWERNAP as combination by @v7 to have the best battery life of your device.
4. Force Doze (Priority:5)
credits for this great app goes to @ssrij
Download Links:
Force Doze
ForceDoze is an app that forces Doze mode right after you turn off your screen. Instead of waiting for the default time period (30 mins), Doze kicks in immediately. ForceDoze also disables motion sensing, so Doze doesn't activate while in your pocket or while the device is moving with screen off, giving far more battery savings than standard Doze functionality.
Here are my Force Doze's Settings.
Apps to be Whitelisted:
ForceDoze doesn't increases your sot but it makes sure your battery remains at the same level you left it. So, technically it increasesyou Screen ON Time. Seriously a great app. But whitelist your instant messengers and the apps you want to get notification from. because force doze can delay notification and can have some serious issues with your phone. use wisely.
For Queries and problems go to the main thread --> here
5. L Speed (Priority:5)
by @Paget96 Thank you brother for this amazing app.
Lspeed is a powerful app with the simplest interface. And can make a serious difference in your screen on time if applied with appropriate settings.
SETTINGS by @iXaidyiu
SETTINGS by @Paget96
Important:
1. Do not use Lspeed And HEBF simultaneously. If you want to use them both at the same time, Make sure you dont enable anything from HEBF except Google Play Services Drain FIX. And change the Lspeed's Apply on Boot time to 20 secs, from settings. JUST TO BE SAFE.
2. If you are using Force Doze then disable Lspeed's Agressive Doze and vice versa. OR Else there will be some conflicts.
6. Disabling Fast Dormancy (Priority:5)
What is Fast Dormancy? In simple terms its a device feature that enables mobile devices to notify the cellular base stations when the radio resource allocated to the device is no longer in use, so that the radio resource could be immediately released other than waiting for a timeout event. For instance lets say you are browsing a webpage using your cellular data plan. You stop at a certain webpage (for example to read this article) the connection is maintained and the device will be registered on the network even if data isn’t received or transmitted (always on) and will remain like that until a timeout event is invoked (as per the network rules as to how much time to wait before connection is terminated due to idle timeout). During this time the device’s battery will be drained needlessly in addition to increased congestion on the cellular network due to numerous idle connections. From a device perspective radio power consumes battery so employing fast dormancy should save battery power and increase its life. This also has an advantage to networks as it reduces congestion. But This doesn’t come without a major disadvantage to the very same cellular networks and operators. The making and breaking of the connections increases the signaling traffic and wastes network resources. The workaround to this was done by Nokia Siemens in collaboration with Qualcomm to employ NCFD or Network Control Fast Dormancy in which the device is put on a battery saving idle state while maintaining its network identity without the need to establish a new connection and request a new identity for the device on the network.
Can Increase your battery life by 30%.
How to Disable Fast Dormancy?
Check out this thread by @mirhl. All credits goes to him. The thread is pretty old but it still works.
But if you have problem in understanding here is a simple guide:-
1. Get you carrier MCC and MNC from Wikipedia.
2. Open youe file manager and go to root/etc/fast-dormancy/fd_custm_conf.txt
3. There you will see two lines ending with MCC and MNC with two zeroes.
4. Change those zeroes to the MCC and MNC code you got from Wikipedia
5. Save it. Reboot And Enjoy.
7. KCAL FLASHABLE MODULE FOR MINIMUM BRIGHTNESS (Priority:4)
The credits for this awesome module goes to sir @venkat kamesh.
Brightness has always been the biggest battery drainer of all time excluding the google play services. This module will help you to achieve lower brightness than the minimum threshhold. There are many other options also grayscale display is my personal favoutite. I was testing this module for like 1 week and the results are great. This can significantly increase your battery life.
After flashing this module, you'll see a COLOR CONTROL app in your app drawer.
1. Go to the app.
2. Enable Set on Boot.
3. Change minimun value from 35 to around 100. And then change the value of red blue green to the minimum value.
4. Now change your minimum value to what suits your eyes. and save. I've personally set it to 140. Set according to what suits your eyes.
5. Also the grayscale display is awesome for the users that like black and white display.
Dont set MINIMUM to 0 or else your screen will go black and you wont be able to see a thing unless you've a Sharingan
P.S. : Battery on point. [emoji14]
8. Stamina Mode (Priority:4)
Okay. So, Most of us use stamina mode after 15-20% only. But i've been using it from 100% for past one week ans the results are amazing. I've set to Device Performance Preferred and still it is working better than no stamina mode.I can assure you it can increase your SOT by almost 1+ hr if you keep it on Always On.
1. Go to Settings < Battery < Stamina Mode.
2. Select Always On.
3. Select Power Saving Level
4. Select Device Performance Preferred.
9. Removing Xposed Modules (the battery drainers) (Priority:4)
So, i've noticied that some of the xposed modules drains battery when activated. so' ll be listing them below. You can also contribute by telling me some of those xposed modules.
-> Flat Style Coloured Bars
-> Flat Style Bar Indicator
-> Google Assistant Enabler
You can also share your experiences with different xposed modules. if you think that a specific xposed module drains battery please post below and it will be added to the OP after some testing.
The Next 3 steps are regarding turning the screen to black for saving battery. These methods work best on Amoled Displays. As our Xperia Devices have LCD displays so these might be not as effective on our Devices. But I've got the 9+ Screen On time using these. And when I swithed back to white the SOT got to almost around 6-7 hrs with the exact same usage. So i'm sharing these methods. (This was for all those people who were saying dont post fake methods or these methos don't work.)
10. Monochrome App (Priority:4)
Download Link:
Monochrome
Monochrome automatically turns on monochrome (or black & white) mode when your battery is low, to further reduce display power consumption when your battery level is low. This means your device will eat less battery. Simple but effective app. With stamina mode combined, after 15% it can give around 1-1.5 hr + SOT.
11. Black Notification Panel And Notification (Priority:3)
(works great with n-ify xposed modules)
Credits to @iXaidyiu for telling this.
Okay. So we all know white color drains more battery than black. This method will turn your notification panel black. Saving some battery and also looking aesthetically good. So my friend or i should say brother, @iXaidyiu found a way to turn the notification panel and the notification black. Saving almost 10-15% battery.
Follow the steps for this type of notifications.
1. Go to settings > eXistenZ >Notification Panel > Notification Settings
2. Enable Custom Notification Color
3. Select the Notification Background Color to #000000 or to black.
if you are using Android N.ify Xposed Module then :-
4.If you are on n-ify, go to N-ify > Notifications
5. Enabe custom actions background color.
6. Select the Actions Background Color To #FF141313 or to Black.
P.S.: THERE IS A BUG WITH THIS METHOD. THAT IF THE MESSAGES ARE MORE THAN 1. YOU'LL NOT BE ABLE TO SEE THEM. BUT IT WORKS FINE.
4. Black Keyboard and Apps (Priority:3)
As i've told earlier black saves a lot of battery and is also good for your eyes. And we people use keyboard for all the purposes. So, having a black keyboard instead of a white one saves some battery.
Use google keyboard and choose a pitch black theme.
The more you use the black color, the more the battery. So, its on You how much battery you want.
use black themes in your apps. DARK WALLPAPERS. and using black color at most of the places will save some serious juice.
12. Miscellaneous Tweaks (Priority:4)
-> Disable wifi and bluetooth scanning from Settings > location > menu > scanning to save some more battery.
-> Facebook and Facebook Messenger are big time battery drainers. So, try switching to another light apps for some battery saving. I use Folio for Facebook. Its night mode is awesome and it has options to refresh notification in a specific interval of time. You can also use some other apps like SlimSocial for Fb or MaterialFB. You'll also see increase in performance of your device after removing Fb and fb messenger.
-> Even if your Wifi is off,your phone searches for Wifi Signals.To switch off this feature,Go to Settings > Wifi > Options(Top right corner) > Advanced >Scanning always available(Off).
-> Do not use Adaptive Brightness. Also try to keep your Brightness to Minimum.
-> Removing unnecessary apps. They keep draining Battery in the background. For this, you can use my DEBLOATER SCRIPT. You'll also see an increase in performance of your Device.
So, this is all. With these methods you can also get 6-7 hrs of SOT. And i'll be posting more methods if I get to know some.
P.S. : I'm not responsible if something happens to your device. Proceed with precaution. Stay Safe.
SPECIAL THANKS TO THESE PEOPLE FOR HELPING THIS THREAD:
1. @iXaidyiu
2. @panzerox123
3. @Davey126
4. @Paget96
This FAQ comes in various sections:
General FAQ over eXistenZ MM ROM (Z2/Z3):
Declaration on the compativitiness of the battery savers and tweaks:
ReadMe over Amplify tweaks:
L Speed
Core Strategies on Achieving Ideal Battery Life
"Mobile Radio Active"!?
--------------------------------------------------------------------------------------------------------
1. General FAQ over eXistenZ MM ROM (Z2/Z3):
1.1 This ROM is DISCONTINUED due to @niaboc79 swapped phone.
1.2 Installation
1.2.1 Install ONLY v5.01 and v5.6.5 in a row will be enough.
1.2.2 If you come from AOSP-M/AOSP-L/AOSPA-M/PACMAN-L/etc..., please perform a clean install by first wiping /system, /data, /cache and /ART in TWRP and then kick start the ROM installation process.
1.2.3 If you are rolling back from AOSP-N/etc... that is based on android N, please first restore stock .FTF via flashtool by androxyde, then wiping /system, /data, /cache and /ART in TWRP and after that kick start the ROM installation process.
1.2.4 If you are switching from other stock based roms, eg Kypotian-M/PureX-M/Mr SL-M/etc..., please first wipe /system, /cache and /ART and then kick start the ROM installation process.
--------------------------------------------------------------------------------------------------------
2. Declaration on the compativitiness of the battery savers and tweaks:
iArvee said:
...
-Greenify's Aggressive doze kicks in 7 minutes after screen off, I don't know why 7 minutes but I'm guessing there's a reason behind it. Well, roughly 5-7 minutes. Since they work together, I guess it's not so bad to have both of them make sure that your phone is on doze.
-It stays in memory, yes but it's inactive. If the app is completely stopped/closed, writing the app to memory again would use more battery. Think of the regular hibernation similar to force closing an app.
-Indeed you are right, it's hard to play with settings like that. May I suggest adding init.d scripts? Or use HEBF/Lspeed? I tried this interactive governor profile tweak on the Z2 months ago and it brought me to at least 5 hours SoT, with 30% brightness (auto) and mobile data on most of the time.
...
Click to expand...
Click to collapse
--------------------------------------------------------------------------------------------------------
3. ReadMe over Amplify tweaks:
The suggested elements to be limited and look after in v7's thread is not Sony specific. So we have to EXPLORE ON OUR OWN to find the best ways to conserve energy using the daemon tool. So what I am suggesting on behalf @Dr. Death is that besides adopting most of the rules listed on v7's thread concerning using Amplify to conserve energy, we should also explore and test setting rules for other wakelockes too. Last but not least, so what I am implying about is that we all have an unique list of installed apps on our phone from each other, therefore there isnt really a must do list for apps' wakelocks and alarms, after all it is up to you to choose from performance and battery. Considering that, me and @Dr, Death WILL NOT provide any further lists for recommendation so as to let you guys explore on your own.
Happy tweaking!
--------------------------------------------------------------------------------------------------------
4. L Speed
Dr. Death said:
1. Lspeed's Performance Governor increases performance but there was a large drain in battery compared to battery governor. And with brightness increased to >30% , the drain increased exponentially. The performance of the phone was increased though (acc. to benchmark scores).
2. Lspeed's Battery Governor makes a big difference in saving your battery. Though, I've also noticed that it also decreases some amount of performance. But I've been using the battery governor and I've not seen a lag or freezing down of any app. You cant even tell there is a decrease in performance without benchmark scores. And the difference in SOT the battery governor can make is almost 30 minutes to 1 hour. So, I'm using it and you people can also use it, if you want more battery
Click to expand...
Click to collapse
--------------------------------------------------------------------------------------------------------
5. Core Strategies on Achieving Ideal Battery Life
Davey126 said:
- stop apps from launching at startup/wake and on network events
- reliance on native doze (w/Doze on the Go enabled on Android 6)
- proactively hibernate misbehaving apps - especially on Android 4/5
- sensible app selection and configuration (avoid the pigs)
- common sense settings for screen brightness, radios and sensors
- minor govonor tunings if needed (eg: delaying jump to max freq)
- primary tools: Greenify, BBS/GSam, AppOpsXposed, SD Maid, MAT
Best guidance: find excellent resources like this thread, read, observe, read some more, react only to items that warrent attention and yield meaningful results with minimal side edfects. Ignore everything else.
Those who love to tinker with their devices should avoid all the above. It's boring, effective and leaves ample time for other activities.
Click to expand...
Click to collapse
Davey126 said:
Agreed. Tuning and measurement are key. That said, some devices do not idle/perform well at low frequencies. A Moto G4 Play (Snapdragon 410/MSM8916) serves as an example. While the stock kernel allows 200Mhz bottoming out at 400Mhz imposes no penality while delivering a better overall experience. Clearly this weakling does not reflect state of the art cpu/chipsets; nor is it an outlier.
Don't get me wrong - I love the idea of underclocking/volting when it can be done easily and yields measurable benefits with no undesirable side effects. Usually other tunings are required to achieve that.
Also recognize there's a cost (albeit minor) associated with regular frequency hopping. Holding the idle frequency steady in the absence of a significant load yields the best results IME.
Click to expand...
Click to collapse
--------------------------------------------------------------------------------------------------------
6. "Mobile Radio Active"!?
Davey126 said:
Radios can be significant drainers in low signal strength conditions as power is ramped to maintain a stable connection. On the mobile front I often find 3G (when available) yields an acceptable compromise, although LTE will typically come out ahead on overall power consumption when signal strengths are moderate/strong provided modem quickly drops into idle mode when not in use. The latter is largely outside user control although custom kernels can sometimes help.
Click to expand...
Click to collapse
--------------------------------------------------------------------------------------------------------
Credits to the followings:
@Dr. Death for leading this tutorial
@iArvee for declaring facts
@Davey126 for providing core tweaking strategies
--------------------------------------------------------------------------------------------------------
Anything I found useful and important in the comments will be pushed up here
CHANGELOG
12/18/16
Added Kcal Module for Minimum Brightness.
Added Additional Methods.
Click to expand...
Click to collapse
12/23/16
FAQ's added by @iXaidyiu.
Click to expand...
Click to collapse
12/28/16
Updated the list of apps to be greenified.
Click to expand...
Click to collapse
2/1/17
Lspeed App
Click to expand...
Click to collapse
17/2/17
1. Updated the whole thread.
2. Added Fast Dormancy.
3. Added HEBF.
4. Added Priority Levels.
5. Added @Paget96's Settings to the thread.
Click to expand...
Click to collapse
Thanks bro ?
Xperia Z2™
This is wonderful. Tomorrow I will flash ExistenZ again and make the proper combinactions I only can't really understand how to use Amplify, but I will give it a try! Thanks again!
manfred18 said:
This is wonderful. Tomorrow I will flash ExistenZ again and make the proper combinactions I only can't really understand how to use Amplify, but I will give it a try! Thanks again!
Click to expand...
Click to collapse
I've attached the thread for amplify. There is a step by step guide. Enjoy your battery life
Dr. Death said:
I've attached the thread for amplify. There is a step by step guide. Enjoy your battery life
Click to expand...
Click to collapse
I didn't know about N-ify, it's great, I've already installed it. Probably there are many mods that I don't know. So I suspect ExistenZ is the best ROM overall for Z2 now?
Nice tutorial
Envoyé de mon F8331 en utilisant Tapatalk
niaboc79 said:
Nice tutorial
Envoyé de mon F8331 en utilisant Tapatalk
Click to expand...
Click to collapse
Tysm. It means a lot to hear it from you.
manfred18 said:
I didn't know about N-ify, it's great, I've already installed it. Probably there are many mods that I don't know. So I suspect ExistenZ is the best ROM overall for Z2 now?
Click to expand...
Click to collapse
Which version you are using for n-ify ?
Yes Indeed existenz is the best rom :')
Dr. Death said:
Which version you are using for n-ify ?
Yes Indeed existenz is the best rom :')
Click to expand...
Click to collapse
I've installed 0,2 probably.
ExistenZ is great, but I have a bit lag somewhere sometimes
But when I installed new drivers from Qualcomm I've got 63000 in Antutu. But lag sometimes exists.
manfred18 said:
I've installed 0,2 probably.
ExistenZ is great, but I have a bit lag somewhere sometimes
But when I installed new drivers from Qualcomm I've got 63000 in Antutu. But lag sometimes exists.
Click to expand...
Click to collapse
Get the latest version of beta n-ify for regular updates from here.
https://ci.paphonb.xyz/jenkins/job/AndroidN-ify/
Installed new drivers how ?63000 is sick? I got Max 57k. Tell me about this I installing drivers.
Dr. Death said:
Get the latest version of beta n-ify for regular updates from here.
https://ci.paphonb.xyz/jenkins/job/AndroidN-ify/
Installed new drivers how ?63000 is sick? I got Max 57k. Tell me about this I installing drivers.
Click to expand...
Click to collapse
http://forum.xda-developers.com/z3/themes-apps/mm-6-0-1-qualcomm-adreno-drivers-june-t3415394 I've got easily 63000. I have screenshots It's for Z3, but you can install safe for z2
I thought the pixels of the screen were off only on AMOLED panels. Our panel is IPS, the black colors drains the same amount of battery as the white colors..
manfred18 said:
http://forum.xda-developers.com/z3/themes-apps/mm-6-0-1-qualcomm-adreno-drivers-june-t3415394 I've got easily 63000. I have screenshots It's for Z3, but you can install safe for z2
Click to expand...
Click to collapse
Tried 2 times still got 59k and 61k ._.
Will test some more. Though ty for this :')
Little Snevil said:
I thought the pixels of the screen were off only on AMOLED panels. Our panel is IPS, the black colors drains the same amount of battery as the white colors..
Click to expand...
Click to collapse
Yes you are right, about the amoled one but even on our screen it saves battery. I've tested. Without the black notifications and black keyboard I used to get 5-6 hr of SoT but after switching it, it has changed significantly.
Dr. Death said:
Yes you are right, about the amoled one but even on our screen it saves battery. I've tested. Without the black notifications and black keyboard I used to get 5-6 hr of SoT but after switching it, it has changed significantly.
Click to expand...
Click to collapse
Oh, that's really impressive. I've loved your tutorial, I'll give it a try after doing a fresh install of EXistenZ. And report. Unfortunately I don't like black backgrounds that much, so I will keep white colors the most.
Btw, my battery is 21 months old, let's see how it works.
Little Snevil said:
Oh, that's really impressive. I've loved your tutorial, I'll give it a try after doing a fresh install of EXistenZ. And report. Unfortunately I don't like black backgrounds that much, so I will keep white colors the most.
Btw, my battery is 21 months old, let's see how it works.
Click to expand...
Click to collapse
Yep, waiting for your report.
Some more methods will be added today or tomorrow :')
Your appreciation is much required :')
Dr. Death said:
Yep, waiting for your report.
Some more methods will be added today or tomorrow :')
Your appreciation is much required :')
Click to expand...
Click to collapse
I'll test your method later, because I decided to gain my warranty of Sony (it's till 17 January), so I will send it to them, for new battery
manfred18 said:
I'll test your method later, because I decided to gain my warranty of Sony (it's till 17 January), so I will send it to them, for new battery
Click to expand...
Click to collapse
Yep, sure.

Quick Access to Battery Stats - Nougat

Since the Nougat update, there doesn't seem to be an easy way to view the battery stats/usage.
Now you have to go to Settings, then Device Maintenance (which wants to load performance information each time), then choose the Battery option, then choose Battery Usage. 4 clicks to get to Battery Usage. There has to be a quicker way I'm missing?
Install quick shortcut maker, search for battery then select either device maintenance/battery or settings/battery usage.
Sent from my SM-G935V using Tapatalk
Thanks. I guess that's one way, but they really should have had a battery option on the shortcuts that you can edit on quick access. Not sure why they wouldn't.
They only have widget for device maintenance. That's it.
Sent from my SM-G935V using Tapatalk
TheIgster said:
Since the Nougat update, there doesn't seem to be an easy way to view the battery stats/usage.
Now you have to go to Settings, then Device Maintenance (which wants to load performance information each time), then choose the Battery option, then choose Battery Usage. 4 clicks to get to Battery Usage. There has to be a quicker way I'm missing?
Click to expand...
Click to collapse
Custom quick settings app has some sweet features. It shows the battery percentage right in QS if you're not a fan of battery % on the status bar (like me, lol). You can also make it so when you click it, it will open the battery settings.
This works on the S6 with Nougat at least: Long click the Power saving mode icon in the quick settings.
Not very intuitive, if you (short) click the icon or the text below you get two other results. And it's not consistent between all other quick settings.
I was searching for Quick Access to Battery Stats Nougat.
In Apex and Nova Launcher there is: touch your home screen for a second.
Add to Home screen > Shortcuts (Apex) or Widgets (Nova Launcher) > Activities > Settings > Battery usage (almost @ the bottom of the list #289)
In Touchwiz I found also a solution by adding a widget called Activity. But I think it's an Apex widget.

Excessive doze and Whatsapp problems

Hi everyone, I really hope that some of you know how to give me some info about it. I am currently using the Lineageos Pie ROM, with Magisk attached, and all without any particular problems and using both Naptime and Servicely for the Doze service. The only problem I have is with Whatsapp notifications. I don't care about the others. ROM is obviously perfectly optimized, so the app is also optimized in the "optimization" section. So I removed the flag up and left the app without optimization, because of this app I want notifications to arrive.
I removed the battery limitations, so the app can act in the background too. On Servicely is obviously the only social app to have permissions from awakening, and despite everything, the Doze affects all the apps without distinction, including Whatsapp. Now, you know, is there any .prop string, or can you give me some suggestions? I really kindly ask you for a hand. Thanks for reading.
You can tune / turn off any battery saving level for every app.
1) Just open the app,
2) after that open app drawer (app switcher)
3) hold your finger on Whatsapp application in. Then click on settings (third icon i think)
4) click battery saver / miui optimalizations
5) select None / turn off battery saver
matrixhaj said:
You can tune / turn off any battery saving level for every app.
1) Just open the app,
2) after that open app drawer (app switcher)
3) hold your finger on Whatsapp application in. Then click on settings (third icon i think)
4) click battery saver / miui optimalizations
5) select None / turn off battery saver
Click to expand...
Click to collapse
thanks for the matrix answer, as I wrote I am already using a custom ROM and no longer MIUI; anyway I had already removed battery saver, but despite this, Whatsapp continues to be afflicted by Doze. I can not understand.
YouKnowAirborne said:
I can not understand.
Click to expand...
Click to collapse
Not only you... Whatsapp Battery Drain/Consumption since the last few updates is just "yack"...
Sending the App into the Background limits notifications in a random manner etc...
LionHeart90 said:
thanks for the matrix answer, as I wrote I am already using a custom ROM and no longer MIUI; anyway I had already removed battery saver, but despite this, Whatsapp continues to be afflicted by Doze. I can not understand.
Click to expand...
Click to collapse
did you restore WhatsApp from a backup (Titanium Backup)? if so, uninstall and reinstall from playstore, it happened to me that I did that and MIUI keeps closing it, till I reinstalled from Playstore and now it stay active

Categories

Resources