[GUIDE] Decreasing IDLE consumption on Nougat - Xiaomi Mi 5s Guides, News, & Discussion

This is guide for anyone that is troubled about the IDLE consumption on Nougat being around 1-1,50%/hr or more now that for the most of us Amplify is not working because some problems with xposed.
The reason I'm creating this thread is because we do not have a idle guide here in XDA for Nougat as we had for Lollipop.
This is a guide for people who have ROOTED DEVICES but don't use xposed and want a better idle consumption in their smartphones.
I do not have a deep knowledge on Android or anything and this is not my area of expertisie, I'm just a normal user who want a better idle consumption for my device.
I will not be held responsible for anything that happens to your device. It's your call.
I will not explain how these apps work, you can search it for yourself.
After all that being said, let's go:
After some research I combined the use of 3 apps too achieve a idle around 0,5%/hr or less:
Force Doze
MyAndroidTools PRO
WakeBlock
Force Doze
Here my configuration is very simple*** so i'll just SS then below
{
"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"
}
***Doze App Blocklist is one of the most important parts in force doze, it prevents apps and its background services from running during doze.
But this option have a little bug, if you put an app in that list and then drag the shortcut to the homescreen, when the device enter in doze mode the shortcut will disappear.
I don't know how to solve this, and it's really annoying.
MyAndroidTools PRO
This one is a bit more complicated and may not have all the names that i'll list here depending the ROM that you're using.
1- Open the app go to service/system and then search for Google "Play" Services
1.2 - Now go back and click in Google Play Store and disable these
2 - Go back to the initial menu and go to Broadcast Receiver/System and again search for Google "Play" Services
AccountsChangedReceiver
AnalyticsReceiver
AnalyticsSamplerReceiver
AppMeasurementInstallReferrerReceiver
AppMeasurementeReceiver
CheckinServiceActiveReceiver
CheckinServiceReceiver
CheckinServiceSecretCodeReceiver
CheckinServiceTriggerReceiver
ConnectivityReceiver
EventLogServiceReceiver
GServicesChangedReceiver
NlpNetworkProviderSettingsUpdateReceiver
OneTimeInitializerReceiver
SchedulerInternalReceiver
SchedulerReceiver
ScoreNetworkBroadcastReceiver
1.2 - Now in Google Play Store
AppMeasurementReceiver
ContentFilterUpdatedReceiver
FirebaseInstanceIdInternalReceiver
InstantAppRemoveMonitor
InstantAppsConfigChangeListener
WakeBlock
Service Bound need to be ok for you to use Wakeblock.
After that, go to wakelocks and block the names below with the time(in milliseconds) without spaces
86 000 000
NipWakelock
NipCollectorWakeLock
7 200 000
*Net_scheduler*
Wake:com.whatsapp/.AlarmService
AlarmService#updateNtp
ConnectivityService
3 600 000
wake:com.facebook.katana...........FbPushDataHandlerService
wake:com.facebook.katana...........FbnsLitePushNotificationHandler
DelayedNotificationService
Icing
NfcService:mRoutingWakelock
900 000
RILJ
GCoreFlp
UlrDispSvcFastWL
ULR_BarometerReading_WakeLock
CMWakeLock
NetworkStats
Wakeful StateMachne: GeofencerStateMachine
SyncLoopWakeLock
GCM_CONN_ALARM
LocationManagerService
Block
GOOGLE_C2DM
All "Analytics" stuff
All "Firebase" stuff
If you update your ROM with Dirty Flash or something you'll need to do the MyAndroidsToolsPro and WakeBlock parts again
This is the links of threads that help me to achieve this idle rate. I really recommend that you guys take a look for solutions or more profound knowledge of it.
Shout out for @paivampf for presenting me some useful threads about the subject.
https://forum.xda-developers.com/android/general/guide-0-0-hour-idle-battery-drain-stock-t2973588
https://forum.xda-developers.com/oneplus-3/how-to/guide-stop-google-play-services-t3549760
https://forum.xda-developers.com/ga...hare-myandroidtools-guide-to-disable-t2869119
https://forum.xda-developers.com/android/software/wakeblock-blocking-drain-late-t3526313
https://forum.xda-developers.com/nexus-6p/general/taking-wakeblock-requests-t3583397

where are the photos?

log30 said:
where are the photos?
Click to expand...
Click to collapse
Now it's there, sorry mate
Sent from my MI 5s using Tapatalk

Thanks for the tips. You might also be interested in AKT. I recently got it working on my Mi5S and seems to have a significant improvement in battery without sacrificing performance. Check out details on this thread:
https://forum.xda-developers.com/oneplus-3/how-to/advanced-interactive-governor-tweaks-t3476589

Derodraaa said:
Thanks for the tips. You might also be interested in AKT. I recently got it working on my Mi5S and seems to have a significant improvement in battery without sacrificing performance. Check out details on this thread:
https://forum.xda-developers.com/oneplus-3/how-to/advanced-interactive-governor-tweaks-t3476589
Click to expand...
Click to collapse
I just didn't' include it here because this was focused on Idle, and we already have another thread that kinda talks about AKT.
Actually I used to have AKT too but it needs a custom kernel for fully work. Guyver was the best one in my use. But right now I'm testing another custom kernel.
Sent from my MI 5s using Tapatalk

Related

Google fit app on L is draining machine.

Look at this.
{
"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"
}
I highly recommend you guys to disable it if you want your battery to be better ?
How was your actual battery life with it on? I've been running Fit on my phone since the first Nexus 6 port was available. While it does hold a wakelock the hit to battery wasn't all that bad considering what the app does. I average maybe 30 minutes or less SOT time with the app turned on from 630 am to 1030 pm. I was impressed as I thought I'd be recharging shortly after lunch.
Will it still drain if I don't use it but have it installed. Somehow I see notifications on my moto 360 from fit.
Use Greenify Dude !!!
thefunkychills said:
Will it still drain if I don't use it but have it installed. Somehow I see notifications on my moto 360 from fit.
Click to expand...
Click to collapse
It working without notification in backgriund. I belive only solution , if You don´t want to use it, is to freeze or uninstall this wih TiBu.
EDIT: looks like it is possible to disable Fit ( maybe ), under settings> Google Fit Data>and turn off Activity detection. I belive then it wont work ay more.
EDIT: nope...still working
Guys, it's not affecting battery. Don't constantly look for issues. I use Google Fit (cause I have a Moto 360) and it doesn't affect normal usage so therefore it's not an issue. If it WAS an issue it'd show in the battery graph and you'd kill your battery in a couple of hours - THAT would be an issue!
EddyOS said:
Guys, it's not affecting battery. Don't constantly look for issues. I use Google Fit (cause I have a Moto 360) and it doesn't affect normal usage so therefore it's not an issue. If it WAS an issue it'd show in the battery graph and you'd kill your battery in a couple of hours - THAT would be an issue!
Click to expand...
Click to collapse
Yeah me too. I don't see any difference with or without Fit.
http://nexus5.wonderhowto.com/how-to/your-nexus-5-has-real-pedometer-built-in-heres-you-use-0151267/
There is not going to be any noticable drain because the app is using the low power core. It's the same core that was supposed to give us always listening Google Now when the phone launched but Google gimped us because of patent bs.
Uh, maybe. I don't know. Maybe because we have pedometer sensor built in so its not draining battery..

[Q] Any good *working* CPU profile apps like Set CPU?

I'm on lollipop so I just noticed but SetCPU hasn't been working for a while.
I need a program where I can say
When screen goes off -> underclock to X, importance 5
When battery at 50% underclock to Y, importance 1
When battery at 35% underclock to Z, importance 2
etc.
I only want it for underclocking. The build in battery control doesn't do much and my battery life is pretty terrible when I use the phone (screen on) a lot. I've tried CPU control pro and it would only allow me to set single profile, not have it changing interactively. If anyone has any good apps they've been using let me know, I need to do something about this.
Thanks!
look4alec said:
I'm on lollipop so I just noticed but SetCPU hasn't been working for a while.
I need a program where I can say
When screen goes off -> underclock to X, importance 5
When battery at 50% underclock to Y, importance 1
When battery at 35% underclock to Z, importance 2
etc.
I only want it for underclocking. The build in battery control doesn't do much and my battery life is pretty terrible when I use the phone (screen on) a lot. I've tried CPU control pro and it would only allow me to set single profile, not have it changing interactively. If anyone has any good apps they've been using let me know, I need to do something about this.
Thanks!
Click to expand...
Click to collapse
Since over/underclocking requires root the answer is there is no such thing for lollipop
Sent from my Note 3 via Tapatalk
donc113 said:
Since over/underclocking requires root the answer is there is no such thing for lollipop
Sent from my Note 3 via Tapatalk
Click to expand...
Click to collapse
I am rooted, on JasmineROM 5.1 (LP 5.0). I just followed the instructions avoiding the OTA and retained root. The CPU control programs I've found work for one setting, just not with profiles.
Let me widen the question out. Does anyone have any good CPU control utilities for LP or KK?
I know there is no going back one you're unrooted on LP although I've heard if you go back to 4.4.4 there is a method.
{
"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"
}

Asus Zenfone 2- Battery Life Imporvment Techniques

I will provide some method to save battery life to an extent
This method is suitable for most of device running Android 4.0.3 or above
Basic Requirements
Xposed Framework
Amplify
Ad Away
Root.Click to read how to rooo your zenfone 2 http://forum.xda-developers.com/general/general/root-zenfone-2-t3142597/post61523207#post61523207
Greenify
Basic things you must notice before starting
Display
Brightness of your phone is a major factor for the draining of tje battery. The more the Display Brightness is the more the battery used. So i suggest you to switch from auto brightness to manual.
Wifi
Even though the wifi is not in use, your phone searches for available wifi networks available.
You can Switch of this feature by going to Wifi>Options(on the top right corner of your phone)>Advanced>Scanning always available(off).
Location
Turn off the Location Service when not in use.You can also set the location to 'Device Only" in settings.
Thses are the basic things for battery saving.
GREENIFY
For using this you need Xposed .
Download:- http://forum.xda-developers.com/showthread.php?t=3034811
Once you have the donation package of greenify with you ,you need to activate the Greenify Xposed Module in Xposed. Then enable boost mode and experimental Features.
{
"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"
}
Some of the apps that i greenified are
[*]Browser
[*]Google+
[*]Messenger
[*]Music
[*]XDA
[*]Album
[*]Calender
[*]Camera
[*]File Commander
[*]MX Player
[*]Maps
:good::good:
Do not Greenify Dialer or Messaging apps
B]AMPLIFY[/B]
It is one of the most useful toll in saving battery.You'll need a donation package to block wakelocks and alarms.
After installing this app you must LIMIT THE FOLLOWING
Alarms(Allow every 600 seconds)
com.android.internal.telephony.data-stall
Alarms(Allow every 7200 seconds)
android.content.syncmanager.SYNC_ALARM
android.net.ConnectivityService.action.PKT_CNT_SAM PLE_INTERVAL_ELAPSED
com.oasisfeng.greenify.CLEAN_NOW
com.facebook.push.mqtt.keepalive.KeepaliveManager. ACTION_INEXACT_ALARM.com.facebook.katana
com.facebook.common.executors.WakingExecutorServic e.ACTION.ALARM.com.facebook.katana
Wakeful StateMachine: GeofencerStateMachine(Updated)
NfcService:mRoutingWakeLock(Updated)
Alarms[LOCATION](Allow every 40000 seconds)
ALARM_WAKEUP_LOCATOR(com.google.android.gms.nlp.AL ARM_WAKEUP_LOCATOR)
ALARM_WAKEUP_CACHE_UPDATER
ALARM_WAKEUP_BURST_COLLECTOR(com.google.android.gm s.nlp.ALARM_WAKEUP_BURST_COLLECTOR)
com.google.android.gms.location.fused.GPS_ALARM_BA LANCED_ACCURACY
ALARM_WAKEUP_ACTIVE_COLLECTOR
ALARM_WAKEUP_PASSIVE_COLLECTOR
ALARM_WAKEUP_BURST_COLLECTION_TRIGGER
Alarm(Allow every 84000 seconds)
android.app.backup.intent.RUN
com.google.android.gms/.checkin.EventLogService$Receiver
com.google.android.gms/.checkinCheckinService%Receiver
Wakelocks(Allow every 800 seconds)
WakefulIntentService[GCoreUlr-LocationReportingService]
RILJ(Updated)
Wakelocks(Allow every 7200 seconds)
[*]*net_scheduler*
[*]GCoreFlp
[*]Icing
Wakelocks(Allow every 40000 seconds)
[*]NlpWakeLock
[*]NlpCollectorWakeLock
[*]LocationManagerService
[*]Config Service Fetch
Services(Block/Deny)
com.google.android.gms/com.google.android.location.internal.AnalyticsSamp lerService
com.google.android.gms/com.google.android.location.internal.AnalyticsSamp lerService
And last but not the least:-
Ad Away
Most of you may face a problem while using internets..ads.. Ads are one of the main factor for the loss of battery. By installing AdAway,you can save battery to an extent.
IF THIS HELPED YOU, PLEASE LIKE MY POST, AND YOU ARE FREE TO ASK ANY QUESTIONS ABOUT THE SAME:good::good::good: :fingers-crossed:
Special thanks to vaisakh7..His original thread is seen here.
Cool specs
This smartphone is so cool. Specs are also great.
anchal joshi said:
This smartphone is so cool. Specs are also great.
Click to expand...
Click to collapse
Yeah,it is a good phone. But many useless apps are running which causes battery loss. I only made this post for helping how to stop such applications
Did you just copy this from another thread ? So you gain lots of like just my opinion peace
Nice post but currently I am using the free version of Amplify and quite satisfied with it.
Sent from my ASUS_Z008D using Tapatalk
pato2015 said:
Did you just copy this from another thread ? So you gain lots of like just my opinion peace
Click to expand...
Click to collapse
Not at all ... I juast tried so many apps and found these. Amplify and greenify are some common apps. But only thing i contributed here is the ways for using amplify. Other steps are some common ones
Thanks for the effort!
I can't seem to find some of the Amplify items.
I'm guessing that they're app-specific though (ie. the .facebook alarms are only because you have the Facebook app installed)?
And I can't find any of the services in order to disable them, do you know what app they're affiliated with?
azthemansays said:
Thanks for the effort!
I can't seem to find some of the Amplify items.
I'm guessing that they're app-specific though (ie. the .facebook alarms are only because you have the Facebook app installed)?
And I can't find any of the services in order to disable them, do you know what app they're affiliated with?
Click to expand...
Click to collapse
Dont worry about all the paths. Id u r unable to find these paths just ignore those. Its based on some apps u download like facebook etc.. only look for what you have
Please dont use light green or blue on white background... but I appreciate the work

Some new finding on app behavior after the 146MB update.

The battery improvement is significant for sure after the update, I also found that using samsung package disabler to freeze some of the app is not causing the battery drain any more. (My personal experience before the update was disabling app using package disabler actually causing some of the battery drain). I will attach the one I disabled right now. So far there doesn't seem to be any effect on battery life. I didn't disable the knox or samsung pay function as I use them quite often. I'm also try to be less aggressive with the app I disable. App that could making the communication in the background I try to avoid disabling them.
Also, I found greenify's aggressive doze function seems to working for me. At least, help extend battery a little bit when not in use. I only open the aggressive doze function and never force it to hibernate app. I also exclude many of my frequently used app from hibernation list.
The apps I have freezed using package disabler
https://drive.google.com/file/d/0B5iHdAT2Mw5lRjYzUHlXS0FuUmc/view?usp=sharing
I will upload some result tonight.
Hope I can hear more tips from other users. I keep getting about 60% or more left after the update with about 2 hour of sot when I go to sleep compare to maybe 30% to 40% left before the update. I don't use dark theme as I like lighter color. Also, I use chrome browser and listen to a lot of pod cast when I'm drove home. I also try to close the screen when using GPS to save power but my location is always set at high accuracy, I tried GPS only mode but don't think that effect battery life of the phone. I want to use the phone as normal as possible. Different people have different usage, If you using GPS all the time and turn off the screen while using it. The screen on time probably pretty low but still have high battery usage. Therefore, I believe SOT to be highly subjective.
I also read that the best way to protect battery is not let it fall below 40% or 50%. So after some more testing, if I found the battery report seems to be stable after this update. I will just using wireless charger to top it off during work time.
0verdaflow said:
which apps did u freeze ?
{
"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"
}
Click to expand...
Click to collapse
I attached the link which contain the app I freeze. You can also download it and import through package disabler.

Wakelock - ActivityManager-Sleep

Getting ridiculous wakelock . Better Battery stats shows ActivityManager-Sleep
Googling this literally provides very little information.
I am on Uberstock + Chadś kernel
I greenified all my apps as well to see if it that helps but to no avail. Iḿ not achieving deep sleep.
Help please, I want to get off this iphone but not before i resolve this wakelock
These are the apps installed
Here's my list of apps.
23andme
adaway
airbnb
alarm clock xtreme
amazon
Better battery stats
busybox on rails
camera NX
GoPro Capture
Chrome
Drive
Dropbox
Ex Kernel Manager
Facebook (no notifications enabled and greenified)
Foap
Foldersync
Gmail
Greenify
LA Fitness
Grumpy Weather
Magisk Manager
LinkedIn
MMRemote
Money Mailer
Nova Launcher (root enabled for nova)
Offerup
onedrive
Opera VPN
Overdrive
Pocket
pushbullet
quizup
reddit
roadie
Signal
spotify
Substratum and themes
T-Mobile tuesdays
Tapatalk pro
TiBu
Tunein
Venmo
Google Voice
Wells fargo
whats app
{
"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"
}
@masri1987
Hi... I'm not a wakelock specialist. But I would start by uninstalling all apps and try reinstalling one by one to see if the problem still occurs. Otherwise your best option is to post in the official BBS thread here:
https://forum.xda-developers.com/showthread.php?t=1179809
From the screenshots, it seems like an app is preventing your phone from sleeping.
Just an idea.. Seeing your awake time ~7h and WiFi ~7h... Do you have wifi scanning enabled?
Settings>location>3 dot menu>scanning> wifi scanning. See if it's enabled. If yes, turn it off and see if it reduces the wakelock...
Hoping that helps
it appeared to be my kernel.
Iḿ testing with another rom\kernel combo today
I'm seeing exactly the same wakelock using Chad's Fastest v1.7 kernel and latest Uber ROM.
I've tried changing to Flash kernel and seeing the same.
Did switching kernels fix the issue for you?
You might want to try Franco's Servicely or Nap Time. The former shows which apps can wake up your phone and allows you to kill their background activity and the latter puts your phone in Deep Doze as soon as the screen goes off. It's so deep music apps don't work with the screen off unless you exempt them from power saving.

Categories

Resources