Related
Hi all,
ForceDoze allows you to forcefully enable Doze right after you turn off your screen, and on top of that, it also disables motion sensors so Doze stays active even if your device is not stationary while screen off. Doze will only deactivate periodically to execute maintenance jobs (like getting notifications, etc), otherwise it will remain fully active as long as your screen is off. This brings a lot more battery savings than standard Doze functionality, because even with screen off and Doze enabled, Doze is still periodically checking for movement, and disabling motion sensing improves battery life further.
Features:
Force enable Doze right after screen off
Disable motion sensors so Doze doesn't periodically poll the sensors to check if the device is stationary or not. This provides an additional boost to battery life
Whitelist apps so they don't get suspended or disabled when Doze mode is active
Doze battery stats: Shows you all the times your device has entered/exited Doze mode, and how much battery was available during those times. It will only work when ForceDoze service is turned on
Tasker support so you can now send com.suyashsrijan.forcedoze.DISABLE_FORCEDOZE broadcast intent to disable the ForceDoze service, or com.suyashsrijan.forcedoze.ENABLE_FORCEDOZE to enable the ForceDoze service
Tasker support for adding/removing apps from the Doze whitelist, so you can send com.suyashsrijan.forcedoze.ADD_WHITELIST broadcast intent along with packageName as the key and the package name you want to add as the value, in Extras. To remove the app from the whitelist, send the com.suyashsrijan.forcedoze.REMOVE_WHITELIST broadcast intent along with packageName as the key and the package name you want to remove as the value, in Extras. So for example, in Tasker, you can set Action as one of the intents above, and in Extras, add packageName:com.your.packagename and then save the task
Enable Doze mode on your device if your device OEM has disabled it (experimental)
No-root mode so you can use this app without root privileges (Requires you to execute an ADB command from your PC to grant it the android.permission.DUMP permission, instructions inside app and app description on Play Store)
Force Doze is a free & open-source app, so you can grab the app and the source code from:
Play Store: https://play.google.com/store/apps/details?id=com.suyashsrijan.forcedoze
Play Store Beta testing: https://play.google.com/apps/testing/com.suyashsrijan.forcedoze
Latest APK (v1.4.0 rev68): https://www.androidfilehost.com/?fid=457095661767144607
Latest Beta APK: Not available right now #
Github: https://github.com/theblixguy/ForceDoze
Frequently asked questions:
Auto-rotate/brightness doesn't work after turning on the device
Please turn on Auto-rotate/brightness fix in settings and restart the ForceDoze service. If that doesn't work, turn on "Don't disable sensors on screen off" in app Settings instead
I have trouble getting push notifications from apps (ex: GMail)
Only high-priority push notifications are delivered to the app while the device is in Doze mode, normal-priority notifications (ex: from Gmail) are delivered during the Doze maintenance window or when you wake up the device. This is an OS restriction and there's nothing that can be done about it
My device doesn't turn on and I have to restart my device to fix
This is most probably being caused by disabling motion sensors, pretty common on LG devices. To fix, turn on "Don't disable sensors on screen off" in app Settings and restart the ForceDoze service
The app doesn't work properly for some reason
If you're rooted, then make sure SU requests made by the app aren't getting denied by the SU app on your phone. Your SU app will occasionally prompt you to grant or deny SU access to ForceDoze and if you deny or ignore the dialog, then the app will not work properly and will fail to do certain things, like re-enabling sensors after exiting Doze or turning off Doze properly after screen on
Please let me know if you spot any bugs or unwanted behavior, or would like me to add more features to the app!
Gotta try this!
I suppose you have already tested it before?
What are the results?
ceftriaxone said:
Gotta try this!
I suppose you have already tested it before?
What are the results?
Click to expand...
Click to collapse
I am presently running it on my Galaxy S7 Edge and I don't face any issues!
if u want to translate the app, i can help with Pt-Br <3 downloading now
I experience rotation issues after installing your app on nexus 7v2. Excited to test this
Sent from my Nexus 7 using Tapatalk
sensor re enabling
I have posted this on Reddit page..(if you didn't see the issues posted there)
app doesn't ask for su
works even without su or adb(greenify notifies me)
even after sometime screen turned on rotation and auto brightness don't work
enabling sensor service option in app , disables doze on motion
thank you
sorry for my English
Is this the same like Greenify Aggressive Doze?
xk0niR said:
Is this the same like Greenify Aggressive Doze?
Click to expand...
Click to collapse
If I'm correctly interpreting the OP, it isn't. Greenify does use the sensors, while this app isn't.
Installed it 5 minutes ago, will report back after a while of testing.
Edit: I have problems too with brightness not responding anymore, until I uncheck and turn autobrightness back on...
Sent from the Matrix
I've been using this for the past 2 days & it's been great. Reduced my idle drain rate from 3 to 4% per hr to 1.5 to 2% per hr.
Sent from my SM-G935P using Tapatalk
Can we please have a whitelist option. Would love to use this , but still get notifications from Twitter and Snapchat. Thanks!
@ssrij I'm on 1.0.7 and I cant access the Google app store. I keep getting the "check your connection" error. What do I need to whitelist? Something is not waking back up properly. Don't have this issue with Greenify aggressive Doze.
Sent from my SM-G935P using Tapatalk
Donnie Sins said:
If I'm correctly interpreting the OP, it isn't. Greenify does use the sensors, while this app isn't.
Installed it 5 minutes ago, will report back after a while of testing.
Edit: I have problems too with brightness not responding anymore, until I uncheck and turn autobrightness back on...
Sent from the Matrix
Click to expand...
Click to collapse
First, kudos for a great app. Was looking for alternative to greenify since i consider it too aggressive for me. Just wanted to inform i have the same adaptive brightness bug. Must be ticked off and on for it to work.
Sent from my D6603 using XDA-Developers mobile app
JoeFCaputo113 said:
Can we please have a whitelist option. Would love to use this , but still get notifications from Twitter and Snapchat. Thanks!
Click to expand...
Click to collapse
There is. Lol
Sent from my A0001 using Tapatalk
PINki92 said:
I experience rotation issues after installing your app on nexus 7v2. Excited to test this
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Please download the latest APK from the main post, reset ForceDoze from app settings, go to app settings again, turn on Enable Auto-rotate/brightness fix, turn on ForceDoze service and see if it fixes the issue
ajeesh vijayan said:
I have posted this on Reddit page..(if you didn't see the issues posted there)
app doesn't ask for su
works even without su or adb(greenify notifies me)
even after sometime screen turned on rotation and auto brightness don't work
enabling sensor service option in app , disables doze on motion
thank you
sorry for my English
Click to expand...
Click to collapse
Please download the latest APK from the main post, reset ForceDoze from app settings, go to app settings again, turn on Enable Auto-rotate/brightness fix, turn on ForceDoze service and see if it fixes the issue
xk0niR said:
Is this the same like Greenify Aggressive Doze?
Click to expand...
Click to collapse
Donnie Sins said:
If I'm correctly interpreting the OP, it isn't. Greenify does use the sensors, while this app isn't.
Installed it 5 minutes ago, will report back after a while of testing.
Edit: I have problems too with brightness not responding anymore, until I uncheck and turn autobrightness back on...
Sent from the Matrix
Click to expand...
Click to collapse
Please download the latest APK from the main post, reset ForceDoze from app settings, go to app settings again, turn on Enable Auto-rotate/brightness fix, turn on ForceDoze service and see if it fixes the issue
JoeFCaputo113 said:
Can we please have a whitelist option. Would love to use this , but still get notifications from Twitter and Snapchat. Thanks!
Click to expand...
Click to collapse
It's there, go to Menu > Settings > Whitelist apps
YYvo said:
First, kudos for a great app. Was looking for alternative to greenify since i consider it too aggressive for me. Just wanted to inform i have the same adaptive brightness bug. Must be ticked off and on for it to work.
Sent from my D6603 using XDA-Developers mobile app
Click to expand...
Click to collapse
Please download the latest APK from the main post, reset ForceDoze from app settings, go to app settings again, turn on Enable Auto-rotate/brightness fix, turn on ForceDoze service and see if it fixes the issue
optimummind said:
@ssrij I'm on 1.0.7 and I cant access the Google app store. I keep getting the "check your connection" error. What do I need to whitelist? Something is not waking back up properly. Don't have this issue with Greenify aggressive Doze.
Sent from my SM-G935P using Tapatalk
Click to expand...
Click to collapse
I don't think whitelisting Play Store will work, but you can try adding com.android.vending to the app whitelist. I don't know why that happens, try clearing Play Store cache or force stopping it, and make sure your internet connection is active and working, that could also be a reason why
@ssrij I downloaded & installed the 1.0.8 apk. When I open the app, it says 1.0.7.
Do you know when a scrolling list of whitelist apps will be available?
Sent from my SM-G925P using Tapatalk
optimummind said:
@ssrij I downloaded & installed the 1.0.8 apk. When I open the app, it says 1.0.7.
Do you know when a scrolling list of whitelist apps will be available?
Sent from my SM-G925P using Tapatalk
Click to expand...
Click to collapse
I have updated the link, try again now and follow the same steps.
It will be available in next version (1.0.9)
everything fine now .. but
latest build works great..
but still I don't understand.. app didn't request su (fresh installed latest build), I didn't grant dump
but still everything works...
ssrij said:
Please let me know if you spot any bugs or unwanted behavior, or would like me to add more features to the app!
Click to expand...
Click to collapse
Great idea !
But you should take some time to answer those questions about Greenify (difference, are they complementary or we should keep only one..), because we are used to it...
Hello guys. This topic is pretty long and it is hard to read all of it but try to read all of it till end.
Well, let me begin. The main problem of the nougat update is the dramatic increase of battery consumption (for me at least) But why this is happening?
Actually this is a matter of battery managers. Huawei had created a great phone but obviously they messed things up in the software side. Google announced "Doze" feature with Marshmallow. If we could have a brief explanation of "what doze is" is it is basically a battery protection policy created by google. In Android, apps have the ability to use what’s called a “wakelock” to prevent your phone from going into a power-saving deep sleep mode. This deep sleep mode usually kicks in when your phone’s screen is off, but that can get in the way of how some apps work. For example, if you’re using a fitness tracker, you don’t want your phone turning off GPS or your accelerometer just because your phone is in your pocket with the screen turned off.
In principle, this is a good concept. Apps keep your phone awake and working when they need to, and let it sleep when they don’t. This is a problem, though, when every developer thinks their app is important enough to keep your phone on all the time. That’s why apps like Facebook kill your battery, even when you’re not using them.
Doze helps solve this problem by periodically blocking wakelocks and shutting off network access if your phone goes unused for a while. It will then periodically allow apps to check in during “maintenance windows” every so often (these windows occur less frequently the longer you don’t use your device). Here is a graphical explanation of how doze works versus time:
http://itresan.com/wp-content/uploads/2016/05/doze-header.jpg
Doze helps solve this problem by periodically blocking wakelocks and shutting off network access if your phone goes unused for a while. It will then periodically allow apps to check in during “maintenance windows” every so often (these windows occur less frequently the longer you don’t use your device)
If we turn back to the main topic, as I mentioned before, Huawei has some difficulties combining it's own features with google's. Huawei has its own battery manager. That's why you are not receiving some notifications from facebook or whatsapp. That is because that freaking battery manager shuts everything off but still, since it has a very poor approach, the system drains battery. It is basically a matter of doze does not kicking in. As you can see, the battery usage when the screen is turned on is about the same. However, the same thing cannot be seem when the screen is off.
So what to do in order to save some juice?
-There is some workarounds for doze kicking in like these ones:
https://play.google.com/store/apps/details?id=com.yirgalab.dzzz
https://play.google.com/store/apps/details?id=com.suyashsrijan.forcedoze
These two apps have different approaches. I prefer ForceDoze as it seems the google's intended way.
I want to highlight this item because this might be the most important thing in this topic. If you don’t do anything with your phone, Doze will still do its job. It runs almost invisibly in the background. Occasionally you’ll get a few messages at once, rather than spread over a few minutes, but for the most part there’s no noticeable change. In other words this is a bit different from the conventional full deep sleep and you do not have to afraid from doze as you do with the full deep sleep.
-DO NOT CLEAN YOUR RAM TOO OFTEN. This will cause closed apps re-open and hence, more cpu usage.
-No! Cleaners, Task managers and other stuff does not work! As I mention before, they even lead more battery consumptions.
-Huawei has poor google service implementations. Even one or two implementation has some bugs that causing battery drain(for example: google backup). Try to turn them off.
-Know when to reboot your phone. Too frequent reboots may do the same thing as you cleaning your ram. However, rebooting cleans app caches so the system will work smoother. Once a week or two weeks is fine I suppose.
Please hit the "Thanks" button if you like and please point out the missing things and if you see a mistake please warn me for correcting it. I hope you liked the topic.
Have a nice day!
Doze is problem for me. I don't have push notification by the night.
darrr1 said:
Doze is problem for me. I don't have push notification by the night.
Click to expand...
Click to collapse
It's probably not because of the doze but the huawei's power manager itself.
Problem starts when phone is not active longer than 2-3 hours. In root I removed phone manager and it did not help fix the push notification problem
darrr1 said:
Problem starts when phone is not active longer than 2-3 hours. In root I removed phone manager and it did not help fix the push notification problem
Click to expand...
Click to collapse
Assuming that you are on huawei release (not los releases), untick your app from close apps after screen lock. Then go to apps, settings, special access, and make the system ignore battery optimizations for the spesific app you want to get notification from.
I did everything what I can without succes.
furkey said:
Assuming that you are on huawei release (not los releases), untick your app from close apps after screen lock. Then go to apps, settings, special access, and make the system ignore battery optimizations for the spesific app you want to get notification from.
Click to expand...
Click to collapse
first thanks for this tip. i hate it that i dont receive whatsapp messenges all the time, i hope it will work now.
BTP:
I assume huawei did not remove "doze" from our firmware, but maybe they replaced it with theire own battery manager?
Is there a complete source for doze, so we can check if everything is there? If yes it should not be that hard to activate doze and deactivate the huawei one.
But i guess we need at least the kernel sources to clear things up?
xtcislove said:
first thanks for this tip. i hate it that i dont receive whatsapp messenges all the time, i hope it will work now.
BTP:
I assume huawei did not remove "doze" from our firmware, but maybe they replaced it with theire own battery manager?
Is there a complete source for doze, so we can check if everything is there? If yes it should not be that hard to activate doze and deactivate the huawei one.
But i guess we need at least the kernel sources to clear things up?
Click to expand...
Click to collapse
Doze is not on kernel level but it is on software level. Programmatically we can activate what is left from doze or at least simulate it. However, if there is a certain need for doze we should cook a whole new rom and yes, it requires open source too.
But, let's clear a thing here: Huawei did not completely removed doze. Actually, I think they can't do that if they wish to use Android. Just some settings of Huawei conflicts with doze and prevent its functioning.
I'm using the honor 9 with emui 5.1 (android 7.0) and screebl (app used to control how and when screen locks/times out) is constantly getting killed. I have added it to ignore(=allow to run) in battery optimization and it's activated as a device administrator. It is not selected to close (power intensive app prompt) or instructed to close when screen goes off. Yet it repeatedly is getting killed - is there something else I need to do? I can't seem to find anything else I can do to stop it from being killed and it's a major nuisance.
antimatter.web said:
I'm using the honor 9 with emui 5.1 (android 7.0) and screebl (app used to control how and when screen locks/times out) is constantly getting killed. I have added it to ignore(=allow to run) in battery optimization and it's activated as a device administrator. It is not selected to close (power intensive app prompt) or instructed to close when screen goes off. Yet it repeatedly is getting killed - is there something else I need to do? I can't seem to find anything else I can do to stop it from being killed and it's a major nuisance.
Click to expand...
Click to collapse
Could you finally solve this?
I also have and Honor 9, and have the same problem with aplicacition radardroid. Is getting killed, and also have all configured to prevent this...
Try by having both in the Settings
-Battery/Close apps after lock screen (uncheck in the list)
-Apps/Settings gear/Special access/Ignore battery optimization (make it allowed)
Thank szgfg,
Both are already well configured, but still closing the app.
mikicl said:
Thank szgfg,
Both are already well configured, but still closing the app.
Click to expand...
Click to collapse
Check also is not being closed by the automatic cleanup (so add it to clean whitelisted apps) and that is not being closed due to high consumption...disable that on battery settings... Let the advertisement but do not let phone administrator close that apps automatically
Enviado desde mi EVA-L09 mediante Tapatalk
Hi jcalderonv74,
Thanks for your answer. I didn't know about the clean whitelisted apps, was a surprise to find it. But unfortunetly, everything was well configured.
Option to avoid being closed due to high consumption was already OK.
So nothing to change, everything was as it has to be. Seems more a software problem in EMUI 5.0
After some days without touching anything in the phone's configuration, finally observed that everything is working fine. All aplications configured keep opened, and it's only Radardroid aplication that sometimes closes alone (only sporadically after a recent update)
Seems more an error in Radardroid aplication that in telephone's software. So I'm not worring more about that.
Deleted
So I've been browsing for the past 2 hours on wifi and these are my stats.
Battery: 2200 mAh
SoC: Extremely Power Hungry MT6591
Brightness: Adequate
Now at 35%, the phone was being used pretty much constantly (chrome, a movie in mx player, imgur, 2 hours on whatsapp, light CoC)
Here are the results.
19%. And this is the max I could manage. Going to plugin now.
Testing out now...Thanks!!
---------- Post added at 12:10 PM ---------- Previous post was at 12:02 PM ----------
Adithya FRK said:
Blue Blood Modified Battery Profile (SOT) for L Speed + GovTuner
NOTE: This profile and the configurations for GovTuner is entirely based upon the need for more SOT or 'screen-on-time'. Performance improvements are not the 'primary' objective, but there are some.
Name: Sorry but I couldn't make up a better one. LOL.
This profile will try its best to give you a better screen on time taking into consideration there will be some decrease in performance (some visible, some not).
Installation Instructions
Part 1 - L Speed
1. Download the .zip file attached.
2. Open it with any file manager/archiver and you should see the profile file.
3. Goto your SD Card -> LSpeedBackup (create folder if it doesn't exist) and paste the file inside the .zip there.
4. Open L Speed -> Backup -> Restore: Blue Blood.
L Speed's done.
Part 2 - GovTuner
1. Visit GovTuner's XDA thread and download the latest zip file.
2. Flash the zip file and install 'Terminal Emulator' from playstore.
3. Open 'Terminal Emulator', and type 'su' and enter. Grant the SuperSU request and you will now be in a root shell.
4. Now type 'govtuner' and enter.
5. Choose battery profile by typing '1' and touching enter.
6. After activating battery profile, enter 'i' and enter '2' as the value.
7. Now you can press the 'X' on the top right hand corner to close the window.
GovTuner is now all setup.
You are pretty much ready now. Enjoy your extra SOT!!
I SERIOUSLY RECOMMEND USING AppOpsXposed, Greenify, Amplify and Powernap with this to get rid of the idle drain because in the end that too translate to a better SOT. :highfive: (The below results are obtained with the help of those applications too)
My phone which is an extremely battery hungry thing needs to be charged atleast 3 times a day to last from morning to night. With this I've managed to get away with just 1 charge for 14 hours (4-4.5 hours of SOT vs 1-2 hours).
Please do reply back with your experiences. I'm waiting for some happy faces. :fingers-crossed:
Also criticisms. :angel:
Credits: Debuffer (GovTuner), Paget96 (L Speed)
Click to expand...
Click to collapse
Any alternatives to AppOpsXposed, Amplify and Powernap that don't require Xposed?? Already use Greenify and Servicely.
jeraspie28 said:
Testing out now...Thanks!!
---------- Post added at 12:10 PM ---------- Previous post was at 12:02 PM ----------
Any alternatives to AppOpsXposed, Amplify and Powernap that don't require Xposed?? Already use Greenify and Servicely.
Click to expand...
Click to collapse
You can use AppOps from play store which doesn't need xposed. Alternatives to Powernap? Naptime works. Amplify doesn't have an alternative to my knowledge sorry
Hey, thanks for sharing this! Much needed for my phone htc desire 816 (a5dwg) running lineage 7.1.1 and at any rom, it is hungry. I mean literally I've purchased a new original 2600mAh battery for this reason. Still the problem persists. Today only, I've charged the phone to full and kept it on airplane and silent (took the phone to school ), and found that after 3 hours, battery is 20-25% reduced. I'm a little noob that's why I'm asking you that "what are the steps that should be followed / apps to be installed to maintain the battery like yours
Thanks in advance ?
singhjot0020 said:
Hey, thanks for sharing this! Much needed for my phone htc desire 816 (a5dwg) running lineage 7.1.1 and at any rom, it is hungry. I mean literally I've purchased a new original 2600mAh battery for this reason. Still the problem persists. Today only, I've charged the phone to full and kept it on airplane and silent (took the phone to school ), and found that after 3 hours, battery is 20-25% reduced. I'm a little noob that's why I'm asking you that "what are the steps that should be followed / apps to be installed to maintain the battery like yours
Thanks in advance ?
Click to expand...
Click to collapse
Glad I can help. Something is keeping your phone awake all that time that its's not going to deep sleep. That's mostly Google to blame but let's start with the basics
Before that don't call yourself a noob. You got a custom ROM running, most people I know can't even do that.
To fix Idle Drain
First find if you have Idle drain.
Install Better Battery Stats and open it, grant root etc. Now plug the phone to the charger and hit refresh. Now unplug the charger, turn the screen off for a minute or so.
Now turn it on, you should see the device state. If it says Deep Sleep 0%, then the below things can help you.
Disable background Wi-Fi scanning.
Your phone scans for WiFi even when you turn it off. The steps below are based on my Lollipop 5.1, but I believe it's the same on 7.1 too.
Goto Settings -> Wifi -> The three buttons on the top right -> Advanced
There disable 'Network Notifications', 'Scanning Always Available' and 'Keep Wifi awake during sleep'.
Greenify
You must already be using this.
As a rule of thumb, greenify any app which requires an internet connection, those keep waking the system over and over again. Just make sure you don't add any core system apps.
If you have Facebook's app installed, remove it. It's the biggest battery hogging app ever happened (i don't agree that's made) in human history. Use it in chrome. Or any wrapper apps from Play store: Metal, Friendly are a few options.
If you have xposed installed,
Powernap
Set it to endurance mode and that's all. Whitelist amplify, greenify and lspeed. You can whitelist more apps later if you feel the need.
Amplify
This is a must in reducing wakelocks. Unfortunately I can't write the whole procedure here because it's been done before. Check this.
http://forum.xda-developers.com/android/general/guide-extreme-battery-life-t3095884
Still, every phone is unique. After following that thread, IF your device still isn't sleeping (after trying the below too), try blocking more wakelocks. Do a search if you are not sure of a particular wakelock. It will take some time, but it will be worth it.
AppOpsXposed
You can disable some of Google's data collection and analytics whatever stuff using this. Follow this nice thread. It helps massively.
https://forum.xda-developers.com/crossdevice-dev/sony/existenz-hacks-tweaks-battery-life-t3516705
If you have managed to get that deep sleep in BetterBatteryStats almost 90% of the time the screen was off, then congratulations you have fixed your Idle drain.
Reply back with your experiences. :fingers-crossed:
Adithya FRK said:
Glad I can help. Something is keeping your phone awake all that time that its's not going to deep sleep. That's mostly Google to blame but let's start with the basics
Before that don't call yourself a noob. You got a custom ROM running, most people I know can't even do that.
To fix Idle Drain
First find if you have Idle drain.
Install Better Battery Stats and open it, grant root etc. Now plug the phone to the charger and hit refresh. Now unplug the charger, turn the screen off for a minute or so.
Now turn it on, you should see the device state. If it says Deep Sleep 0%, then the below things can help you.
Disable background Wi-Fi scanning.
Your phone scans for WiFi even when you turn it off. The steps below are based on my Lollipop 5.1, but I believe it's the same on 7.1 too.
Goto Settings -> Wifi -> The three buttons on the top right -> Advanced
There disable 'Network Notifications', 'Scanning Always Available' and 'Keep Wifi awake during sleep'.
Greenify
You must already be using this.
As a rule of thumb, greenify any app which requires an internet connection, those keep waking the system over and over again. Just make sure you don't add any core system apps.
If you have Facebook's app installed, remove it. It's the biggest battery hogging app ever happened (i don't agree that's made) in human history. Use it in chrome. Or any wrapper apps from Play store: Metal, Friendly are a few options.
If you have xposed installed,
Powernap
Set it to endurance mode and that's all. You can whitelist apps later if you feel the need.
Amplify
This is a must in reducing wakelocks. Unfortunately I can't write the whole procedure here because it's been done before. Check this.
http://forum.xda-developers.com/android/general/guide-extreme-battery-life-t3095884
Still, every phone is unique. After following that thread, IF your device still isn't sleeping (after trying the below too), try blocking more wakelocks. Do a search if you are not sure of a particular wakelock. It will take some time, but it will be worth it.
AppOpsXposed
You can disable some of Google's data collection and analytics whatever stuff using this. Follow this nice thread. It helps massively.
https://forum.xda-developers.com/crossdevice-dev/sony/existenz-hacks-tweaks-battery-life-t3516705
If you have managed to get that deep sleep in BetterBatteryStats almost 90% of the time the screen was off, then congratulations you have fixed your Idle drain.
Reply back with your experiences. :fingers-crossed:
Click to expand...
Click to collapse
Thankyou so much, will try this surely ?
Adithya FRK said:
Glad I can help. Something is keeping your phone awake all that time that its's not going to deep sleep. That's mostly Google to blame but let's start with the basics
Before that don't call yourself a noob. You got a custom ROM running, most people I know can't even do that.
To fix Idle Drain
First find if you have Idle drain.
Install Better Battery Stats and open it, grant root etc. Now plug the phone to the charger and hit refresh. Now unplug the charger, turn the screen off for a minute or so.
Now turn it on, you should see the device state. If it says Deep Sleep 0%, then the below things can help you.
Disable background Wi-Fi scanning.
Your phone scans for WiFi even when you turn it off. The steps below are based on my Lollipop 5.1, but I believe it's the same on 7.1 too.
Goto Settings -> Wifi -> The three buttons on the top right -> Advanced
There disable 'Network Notifications', 'Scanning Always Available' and 'Keep Wifi awake during sleep'.
Greenify
You must already be using this.
As a rule of thumb, greenify any app which requires an internet connection, those keep waking the system over and over again. Just make sure you don't add any core system apps.
If you have Facebook's app installed, remove it. It's the biggest battery hogging app ever happened (i don't agree that's made) in human history. Use it in chrome. Or any wrapper apps from Play store: Metal, Friendly are a few options.
If you have xposed installed,
Powernap
Set it to endurance mode and that's all. You can whitelist apps later if you feel the need.
Amplify
This is a must in reducing wakelocks. Unfortunately I can't write the whole procedure here because it's been done before. Check this.
http://forum.xda-developers.com/android/general/guide-extreme-battery-life-t3095884
Still, every phone is unique. After following that thread, IF your device still isn't sleeping (after trying the below too), try blocking more wakelocks. Do a search if you are not sure of a particular wakelock. It will take some time, but it will be worth it.
AppOpsXposed
You can disable some of Google's data collection and analytics whatever stuff using this. Follow this nice thread. It helps massively.
https://forum.xda-developers.com/crossdevice-dev/sony/existenz-hacks-tweaks-battery-life-t3516705
If you have managed to get that deep sleep in BetterBatteryStats almost 90% of the time the screen was off, then congratulations you have fixed your Idle drain.
Reply back with your experiences. :fingers-crossed:
Click to expand...
Click to collapse
I've installed "L Speed" and greenify from play store
& I've shred my stats. Pls look and suggest improvements
singhjot0020 said:
I've installed "L Speed" and greenify from play store
& I've shred my stats. Pls look and suggest improvements
Click to expand...
Click to collapse
Can you also post a screenshot of your battery stats
Adithya FRK said:
Can you also post a screenshot of your battery stats
Click to expand...
Click to collapse
Sorry, I've switched to stock to check battery capabilities but still problem persists
Battery droppes from 100 to 83 in 30-35 minutes
in govtuner change the gov to ondemand, i guess u use perfomance.
What can I do, I got a notification that L speed us eating my battery...but if optimized will not work as it should right?
Today update my Rom and got error. Not working because if use 3th party kernel ini.t emulator...but I'm not using one.
Sir_gpm said:
What can I do, I got a notification that L speed us eating my battery...but if optimized will not work as it should right?
Today update my Rom and got error. Not working because if use 3th party kernel ini.t emulator...but I'm not using one.
Click to expand...
Click to collapse
What ROM are you using?
FreedomOS for oneplus 3t.
@Adithya FRK
Choosing battery profile from govtuner is the same as choosing it from Lspeed CPU menu, right? Or is there some significant change between the two?
ninjanmizuki said:
@Adithya FRK
Choosing battery profile from govtuner is the same as choosing it from Lspeed CPU menu, right? Or is there some significant change between the two?
Click to expand...
Click to collapse
Both are the same. See post #2 of GovTuner's official thread here - https://forum.xda-developers.com/an...mod-gov-tuner-project-29th-june-2016-t3407828
But don't enable both of them at the same time.
After 1 whole month of tweaking with various functions of L Speed, finally found a combination to improve the battery even more.
BlueBlood v2.1 (Download link in Post #1)
Tested on L Speed Beta from Play Store.
Adithya FRK said:
After 1 whole month of tweaking with various functions of L Speed, finally found a combination to improve the battery even more.
BlueBlood v2.1 (Download link in Post #1)
Tested on L Speed Beta from Play Store.
Click to expand...
Click to collapse
Sir, can u share your KA settings, such as your govenor, i/o
Sent from my ASUS_Z00A using Tapatalk
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
i heard that the note 20 ultra may not be sleeping cores when screen is off and idle
also i have seen apps that can shut the screen off while forcing sleep at the same time
do not know what to type to find it as i want to test it on my note 20 ultra. anyone know of such apps list them below...
gloege said:
i heard that the note 20 ultra may not be sleeping cores when screen is off and idle
also i have seen apps that can shut the screen off while forcing sleep at the same time
do not know what to type to find it as i want to test it on my note 20 ultra. anyone know of such apps list them below...
Click to expand...
Click to collapse
I use greenify. You don't have to be rooted to use it and there is a setting that puts apps you select to sleep and turn screen off (that might be a root feature tho, I'm not sure, I don't use it, I just have it set to force stop battery draining apps).
pre4speed said:
I use greenify. You don't have to be rooted to use it and there is a setting that puts apps you select to sleep and turn screen off (that might be a root feature tho, I'm not sure, I don't use it, I just have it set to force stop battery draining apps).
Click to expand...
Click to collapse
NO i want a screen on off app that forces the whole phone to sleep every time you use it to turn off screen. like i said know one knows what i am talking about. but i did see it befor
gloege said:
NO i want a screen on off app that forces the whole phone to sleep every time you use it to turn off screen. like i said know one knows what i am talking about. but i did see it befor
Click to expand...
Click to collapse
3rd party power management apps tend to screw things up by creating conflicts. You may find it better to let Android do it without using any other apps except to shutdown apps that are known offenders.
On my load it's Bixby (except Bixby Vision and Bixby Vision Framework) all cloud apps, Samsung Push, Gmail, Google backup Transport and Backup Transport Framework.
All I'm using is PD MDM and Settings changes on my 10+ running on Pie. You will need to -play- with it to optimize it. Most guides and power management apps just drop the ball.
Monitor it. The usage you see is AOD running. After I turned off the screen Android powered all the running Apps down. No trivmcks; in Stand By Apps you can see all are in the Active state, all the time, always but they power down when not in use. So much for buckets... using Samsung Device Manager adaptive power management will toggle those buckets to various states and cause more battery drain eventually.
Use Galaxy Labs>Battery Tracker
It's possible the newer versions of Samsung Device Manager run fine but test by monitoring and always be wary of all 3red party power management apps!
Have you looked into Bixby Routines or an app like Tasker where you can create rules? I can't say this will work (I don't use these apps), but if you haven't looked into using rule setting apps, that may be a solution for you.
still someone mentioned the note 20 ultra may not be sleeping the phones cores that is why battery life is so out of whack. i just wanted an app that when i tape it it will turn off the phone and sleep the cores instantly. someone mentioned it is better then waiting for the time it takes to let the phone do it. this will help me find out if the cores sleep or not buy using the app to see if it will give me better battery life. really no harm will be done. the phone sleeps cores anyway. but if a bug is keeping them awake i want to catch it and report it. so it be nice if i can find an app to shut off screen and sleep the cores as well and it will save my power button from wear
All I would like is an icon on my home screen that I could tap to turn the screen off. I feel I’m wearing out the power button the amount of times I use it to turn screen off. Not found any other way to do it
gloege said:
NO i want a screen on off app that forces the whole phone to sleep every time you use it to turn off screen. like i said know one knows what i am talking about. but i did see it befor
Click to expand...
Click to collapse
g0tch said:
All I would like is an icon on my home screen that I could tap to turn the screen off. I feel I’m wearing out the power button the amount of times I use it to turn screen off. Not found any other way to do it
Click to expand...
Click to collapse
Oh. Why didn't you say so?
Don't think Double Tap* works on 10....
but the Samsung Good Lock family app One Handed Operation Plus does
https://play.google.com/store/apps/...lus&pcampaignid=APPU_1_dXJXX46SK8nEswXYmoWwDQ
https://www.google.com/amp/s/www.sl...tion-good-lock-app-from-samsung-11569355/amp/
This app is why you bought a curved screen Note....
*Double Tap may work on 10; it has a 2x tap on home button off option. No ads, no data usage, very low resource/battery usage. This is one of three screen off/no button options I have enabled.
blackhawk said:
Oh. Why didn't you say so?
Don't think Double Tap* works on 10....
but the Samsung Good Lock family app One Handed Operation Plus does
https://play.google.com/store/apps/details?id=com.samsung.android.sidegesturepad&hl=en_US&referrer=utm_source%3Dgoogle%26utm_medium%3Dorganic%26utm_term%3Done+handed+operation+plus&pcampaignid=APPU_1_dXJXX46SK8nEswXYmoWwDQ
https://www.google.com/amp/s/www.sl...tion-good-lock-app-from-samsung-11569355/amp/
This app is why you bought a curved screen Note....
*Double Tap may work on 10; it has a 2x tap on home button off option. No ads, no data usage, very low resource/battery usage. This is one of three screen off/no button options I have enabled.
Click to expand...
Click to collapse
so will that force the whole phone into immediate sleep when i tap it and the screen goes off
gloege said:
so will that force the whole phone into immediate sleep when i tap it and the screen goes off
Click to expand...
Click to collapse
Mine does but no idea how yours is configured.
The app simple turns off the screen same as hitting the power button.
Apps like Greenify tend to make a mess out of unrooted phones.
blackhawk said:
Mine does but no idea how yours is configured.
The app simple turns off the screen same as hitting the power button.
Apps like Greenify tend to make a mess out of unrooted phones.
Click to expand...
Click to collapse
well i need it to turn off screen and force the phone into sleep the instant the screen goes off i heard of apps like this but never needed one
gloege said:
so will that force the whole phone into immediate sleep when i tap it and the screen goes off
Click to expand...
Click to collapse
gloege said:
well i need it to turn off screen and force the phone into sleep the instant the screen goes off i heard of apps like this but never needed one
Click to expand...
Click to collapse
To what end? I have about 60 apks blocked, no sync running for Gmail, Calendar, etc, no cloud apps, no trash message apps, no FB, Playstore is blocked unless I unblock it and no 3rd party power management*.
My OS "sleeps" within a minute or so of turning the screen off.
Still a lot of stuff running though plus I'm using AOD.
It uses a little under 1% of battery per hour and better with no AOD.
Reboots generally don't fix power issues at all.
*all 3rd party power management apps including Samsung's Device Manager (disabled) cause more problems than they solve and many times cause excessive power consumption as well. All my app buckets show as active in Developer Options.
blackhawk said:
To what end? I have about 60 apks blocked, no sync running for Gmail, Calendar, etc, no cloud apps, no trash message apps, no FB, Playstore is blocked unless I unblock it and no 3rd party power management*.
My OS "sleeps" within a minute or so of turning the screen off.
Still a lot of stuff running though plus I'm using AOD.
It uses a little under 1% of battery per hour and better with no AOD.
Reboots generally don't fix power issues at all.
*all 3rd party power management apps including Samsung's Device Manager (disabled) cause more problems than they solve and many times cause excessive power consumption as well. All my app buckets show as active in Developer Options.
Click to expand...
Click to collapse
i bet, but some have said it is not sleeping cores that may be the same as os sleeping. and why wait a min when you can have an app do it when you tap it. i just want to test if forcing the os/phone into sleep will make a difference and they got apps that can turn off screen and force sleep i just can not find them. i found one in 2015 and lost it forever
blackhawk said:
Oh. Why didn't you say so?
Don't think Double Tap* works on 10....
but the Samsung Good Lock family app One Handed Operation Plus does
https://play.google.com/store/apps/...lus&pcampaignid=APPU_1_dXJXX46SK8nEswXYmoWwDQ
https://www.google.com/amp/s/www.sl...tion-good-lock-app-from-samsung-11569355/amp/
This app is why you bought a curved screen Note....
*Double Tap may work on 10; it has a 2x tap on home button off option. No ads, no data usage, very low resource/battery usage. This is one of three screen off/no button options I have enabled.
Click to expand...
Click to collapse
I did install One Hand Operation +, but for the life of me, I can’t see how to configure it to turn screen off with 2x tap on home button
gloege said:
i heard that the note 20 ultra may not be sleeping cores when screen is off and idle
also i have seen apps that can shut the screen off while forcing sleep at the same time
do not know what to type to find it as i want to test it on my note 20 ultra. anyone know of such apps list them below...
Click to expand...
Click to collapse
I use Nap Time by Francisco Franco the kernel developer for rooted devices from a couple years ago. It will put the phone into a deep doze, which android already has. You will need to do a couple adb commands to get it working on non rooted phones, it's one of the first apps I install on a new phone. The phone can sit 10 hours over night and drop between 3-5%, you can have it turn bluetooth, wifi and data off while in a doze. Here's what Franco says about his app.
This is the real battery saver. No placebo and dumb marketing shenanigans!
Naptime lowers your device's power consumption while the display is off by empowering Android's built-in doze power saving functionality. Faster idle means less power being consumed unecessarily. By default doze can take a while to kick in so Naptime just speeds-up that process automagically for you.
It can also automatically disable W-iFi, mobile data, location & bluetooth as soon as doze kicks in.
Experimental features such as automatic Android Battery Saver, Aggressive Doze timings, Aggressive Doze scheduling times and location detection.
Now you have profiles so you can load them up on demand based on your usage and accessible from Quick Tiles.
Most features work if you're not rooted, but to have the full experience you'll have to root your device.
https://play.google.com/store/apps/details?id=com.franco.doze&hl=en
g0tch said:
I did install One Hand Operation +, but for the life of me, I can’t see how to configure it to turn screen off with 2x tap on home button
Click to expand...
Click to collapse
You can't double tap with that one; set one or more of the slides to turn off the screen. I use that as to kill the screen, navigate and more.
Double Tap is the one that does just that.
blackhawk said:
You can't double tap with that one; set one or more of the slides to turn off the screen. I use that as to kill the screen, navigate and more.
Double Tap is the one that does just that.
Click to expand...
Click to collapse
Many thanks, but I cannot find that setting at all. is my 80 year old brain letting me down, I wonder
g0tch said:
I did install One Hand Operation +, but for the life of me, I can’t see how to configure it to turn screen off with 2x tap on home button
Click to expand...
Click to collapse
g0tch said:
Many thanks, but I cannot find that setting at all. is my 80 year old brain letting me down, I wonder
Click to expand...
Click to collapse
You need to install the app, Double Tap first*
https://play.google.com/store/apps/...apk&pcampaignid=APPU_1_GzNZX_bWNsWosgXA3bmQAw
Give it required permissions/access. A clean app; zero data usage, no ads.
*Sorry if I mislead you. I have a lot of customization apps on this Android; most are Samsung but a few like this one aren't.
blackhawk said:
You need to install the app, Double Tap first*
https://play.google.com/store/apps/...apk&pcampaignid=APPU_1_GzNZX_bWNsWosgXA3bmQAw
Give it required permissions/access. A clean app; zero data usage, no ads.
*Sorry if I mislead you. I have a lot of customization apps on this Android; most are Samsung but a few like this one aren't.
Click to expand...
Click to collapse
does it put the phone in deep sleep or do i have to use them in tandem
gloege said:
does it put the phone in deep sleep or do i have to use them in tandem
Click to expand...
Click to collapse
It turns off the screen. There's always system apks running in the background unless you power off the phone. You can limit what runs to some extent.
If your getting around 1% per hour battery drain when the screen is off I call it done.