yashsingh1/xdaforums huggingface dataset:
[Android General] Mandark-coyg:
Its an internal battery 1 and a half years old... I limited the ones in the OP ... But I've got Cm12 installed...so the major drainage shown in amplify under wake lock is shown :

*alarm*

Activity manager-launch

Vibrator

Mqttlite (Fb)

I have seen a considerable improvement in standby... But there are still something's besides Whatsapp (no incoming activity) that keep my phone awake when the screen is off.
[Android General] v7:
Can you post another dump with dynamic IP?

Just for comparison!

___

v7

XDA Assist
[Android General] v7:
0.3%/hr is really good.

You can limit android.content.syncmanager.SYNC_ALARM to x seconds if you want.Accounts will sync every x seconds.

___

v7

XDA Assist
[Android General] v7:
*alarm* appears on all LP,MM ROMs.They do not drain.

Mqttlite is related to FB push notifications.Limiting them will,delay fb/messenger notifications.

Rest of them are important wakelocks.

___

v7

XDA Assist
[Android General] carlloss:
for me AD need 10-20 min to go on, why?
[Android General] v7:
That's weird.How did you check?

___

v7

XDA Assist
[Android General] Mandark-coyg:
Oh ok....so I guess this is the best I can get from my device.... Time to buy a new phone hahaha ...thank you so much for your help ! :)
[Android General] carlloss:
In greenify doze notification.
[Android General] v7:
Doze notifications comes in late I guess.Can you check in adb?

Connect the device to PC,turn off the screen and type the following in ADB.

IDLE/IDLE_MAINTENANCE will be the output when the device is dozing.

___

v7

XDA Assist
[Android General] carlloss:
I get this

C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell dumpsys deviceidle step

Stepped to: ACTIVE
[Android General] v7:
Try that multiple times.See how much time it takes for the output to be 'IDLE' or 'IDLE_MAINTENANCE'

___

v7

XDA Assist
[Android General] carlloss:
now i get this

C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell dumpsys deviceidle step

Stepped to: IDLE_PENDING

C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell dumpsys deviceidle step

Stepped to: SENSING

C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell dumpsys deviceidle step

Stepped to: LOCATING

C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell dumpsys deviceidle step

Stepped to: IDLE

C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell dumpsys deviceidle step

Stepped to: IDLE_MAINTENANCE
[Android General] v7:
That means the device is dozing.:)

___

v7

XDA Assist
[Android General] carlloss:
yes, but if I leave my phone on the desk and turn of screen doze needs +10 min to work.
[Android General] v7:
It takes like 5-6 minutes at most.I've tested it.AD notification says so.

___

v7

XDA Assist
[Android General] welder73:
I think so too,especially because this battery is 3.5 years old :)

Sent from my Razr XT910
[Android General] ProudRed:
Any chance of limiting these alarms to ensure 0% drop ?
[Android General] ProudRed:
Another phone.. on stock rom Kitkat.. some of the wakelocks/alarms have been shocking. Please help to improve battery life of this device.. it not even 8 months old.
[Android General] v7:
Keep Awake disabled in AppOps?

Will need to clean flash the ROM once.

___

v7

XDA Assist
[Android General] v7:
No!Not safe.

___

v7

XDA Assist
[Android General] ProudRed:
Yes mostly. But not using appopsxposed. But soomeother appops as xposed couldnt be installed properly on this rom as it doesnt have a custom recovery.
[Android General] v7:
KitKat roms don't need a custom recovery to install Xposed.

It's a direct apk installation from http://repo.xposed.info/module/de.robv.android.xposed.installer!

___

v7

XDA Assist
[Android General] wonsky21:
Damn, this guide gets batter and better. Keep up the good work :)
[Android General] cfsr4:
My phone with this chip signal first falling. falls and does not return. Some configuration amplify may have some relationship ?

and chip 2 not connects to 3g, only when I restart . of this happened more than once .

and to search for available networks on chip 1 it is seeking looping .

i'm using rom rr 6.0.1
[Android General] xT29c:
My phone seems to basically go into airplane mode after doing this...

Until I get to the lockscreen, the phone won't show me any information from email, or messaging clients. Can someone please look at my log to see if I did something wrong?

I set this up about 2 days ago, and have noticed tremendous battery life, but this kind of renders the phone useless until I look at the phone.

http://pastebin.com/5xXSCsyf
[Android General] molepole:
Hey guys with disabling touch boost, it's a bit confusing. Do you turn it to disable and then turn it on via power button or do you just leave the power button off?
[Android General] dukat0s:
hello [MENTION=5867207]v7[/MENTION] here again from another day / charge phone was used for around 30+ hours with 95% of the usage connected to wifi . your guid is 101% working ! thnx again =) :angel::angel:
[Android General] v7:
Shouldn't be related to the guide.Can you freeze Amplify and see if the issue persists?

___

v7

XDA Assist
[Android General] v7:
Not related to the guide :(

___

v7

XDA Assist
[Android General] v7:
Touch boost?

Wrong thread?

___

v7

XDA Assist
[Android General] v7:
Awesome bud ^_^

I wish I had a 6p :)

___

v7

XDA Assist
[Android General] xT29c:
I added my email, Facebook, WeChat and hangouts to the white list. But still won't recieve any nonfictions until I unlock my phone. Any help? Please
[Android General] ProudRed:
I have installed from APK. But there is some error related to ROM. In the options when I enable 'disable resource hooks' its working perfectly but not supporting all modules.
[Android General] Ajju^:
Please do look at my dump got 5% drain using amplify powernap & greenify. Anything else i can limit??

https://userscloud.com/7fo8cqp2fb33
[Android General] v7:
PowerNap whitelist?
[Android General] xT29c:
Here what I got under PowerNap (v.0.7)
[Android General] v7:
Looks good.No issues :)

___

v7

XDA Assist
[Android General] v7:
Are you on MM?

___

v7

XDA Assist
[Android General] xT29c:
Yes I am. My phone is the Nexsus 6P.
[Android General] cobras3:
What do you think [MENTION=5867207]v7[/MENTION] ? I don't know why is there a level lost from 97 to 95, because the phone charged to 100%. I hope the dump is correct. Back on kitkat, I9300, 3 1/2 Years old stock cell
[Android General] v7:
Try adding those apps in Doze whitelist.Report back if the issue persists.

___

v7

XDA Assist
[Android General] v7:
0.3%/hr drain on a 3 year old cell is excellent!

Nothing to tweak here.:)

___

v7

XDA Assist
[Android General] gilliantpham:
As I have checked in wakelock detector, the wakelock named *alarm* has consumed much more battery. Please kindly help me to solve this problem.
[Android General] v7:
*alarm* appears on all LP and MM ROMs.They don't cause any drain.No need to worry about them.

___

v7

XDA Assist
[Android General] MBurns2:
@v7

why no aggressive doze?

My setup: greenify, root, stock doze values, no exposed.

Any suggestions? Thanks
[Android General] v7:
Limit com.android.internal.telephony.data-stall to 800 seconds.

Aggressive doze should be enabled.Get me a dump of atleast 6hrs idle time.

___

v7

XDA Assist
[Android General] MBurns2:
is there any way to do this without xposed ?

ty
[Android General] v7:
Nope!Sorry :(

___

v7

XDA Assist
[Android General] MBurns2:
Maybe if i change doze values..for example putting "min time to alarm" to 0 ?
[Android General] v7:
Try my profile here:http://xdaforums.com/showpost.php?p=63839833&postcount=617

___

v7

XDA Assist
[Android General] MBurns2:
with min time to alarm to 0 my problem is solved.

So maybe without xposed is necessary to change stock doze values..thanks
[Android General] Toutatis_:
I guess I'll never understand how reaching 8+ hours or even 6 hours of SOT is possible... 48 hours of use (going from 100% to 1% with screen off most of the time) is definitely something I can achieve as far as I'm concerned, but I can't get over 4 hours of SOT.

I tried several ROM/kernel combos for a few days along with [MENTION=5867207]v7[/MENTION] guide. I always get very solid idle battery drain (mostly between 0.2% and 0.8% per hour), but my SOT is also very similar.

I never play any game, I rarely use location and I never use Bluetooth or NFC. I'm always connected to Wi-Fi, my brightness level is set to 10-15% during the day and about 5% when the sun is down. I don't have a lot of apps, I use a true black CM theme and most of the apps I use also have a true black theme, which allows me to save a bit of juice..

I mainly use my phone for texting / Hangouts / Tapatalk / Twitch, a bit of browsing. I don't use Facebook or Whatsapp.

Would you mind sharing your ROM/Kernel combo as well as the apps you were using during these 8 hours? or perhaps giving a few tips?

Thanks in advance.
[Android General] v7:
Can you enable notifications for Aggressive Doze in Greenify and see what it shows?

___

v7

XDA Assist
[Android General] Ciao600:
Yes I did it and left it on the table from about 3.30 pm.

Here it is a screenshot of the notification.

The "doze idle mode" value in betterbatterystats increased by the same exact amount of time in the notification.

Ps: even with your doze profile it doesn't go into doze mode.
[Android General] v7:
That's super weird!Can you check with other users of the ROM if the same issue appears for them?

___

v7

XDA Assist
[Android General] xT29c:
Which app is that? I don't think I have that installed.

I have Naptime, Amplify, AppOpsXposed,BBS,Greenify,PowerNap.
[Android General] Ciao600:
I checked and no, there isn't any issue with other users using the same rom.

Now I wonder what is the problem. I don't have any app that can cause wakelocks (like Facebook and others) and in fact there isn't any strange behavior, except that the device doesn't go into doze mode and always stays in normal deep sleep mode when the screen is off.
[Android General] 2x4:
anyone been able to follow this thread but keep full functionality of their android wear device?
[Android General] Rakuu:
Don't know if it counts but my pebble has been working fine.
[Android General] 2x4:
most of my watch works OK, just having serious voice control issues. does pebble have voice input?
[Android General] Rakuu:
I think the newer one does, I have the classic though so sorry, can't attest to any of that :/
[Android General] xT29c:
Here's my BBS log too
[Android General] v7:
Update BBS to 2.2.0B5.

Whitelist them in Settings->Battery->Battery Optimization

___

v7

XDA Assist
[Android General] v7:
Connect the device to PC,turn off the screen and after a few minutes,type the following in ADB.

Let me know what's the output.

___

v7

XDA Assist
[Android General] brossovitch:
Uninstalled Naptime.

Using only Amplify & Greenify beta..

Couldn't find wakelock for connectivity manager(cyanogenmod system) that you suggested.

I have white listed (not optimized) in settings Hangouts & Pushbullet. Because I was not getting notifications from either while idle.

I've activated aggressive doze and shallow hibernation as well. The system is smooth and responsive and of course, after 9+ hours idle still 100% battery.

This thread helped a lot on my Tab4 tinning TW tainted KitKat, it extends my normal 4days to about 5-6. I'll post a dump of that later, there's some issue with my battery actually.

This dump is MM 6.0.1
[Android General] senthilrameshjv:
If my understanding is right, doze wouldn't work during charging. Won't connecting to pc is considered charging.

I give the command and I'm getting only active for last ten mins.. Will give it more time.
[Android General] Takinato:
Thanks a bunch loving my note 3. Who needs new phones?
[Android General] v7:
Awesome awesome!! :)

Kernel wakelocks are empty.Please report this in the BetterBatteryStats thread :)

___

v7

XDA Assist
[Android General] arunkafley:
use the command "adb shell dumpsys battery unplug" first and then "adb shell dumpsys deviceidle step"
[Android General] arunkafley:
I had to remove Power Nap. AD does not kick in while Power Nap is running.

View attachment BetterBatteryStats-2016-02-10_094810093(1).txt

Tried the "adb shell dumpsys deviceidle step" command its always active. Once I remove power nap it goes into IDLE/IDLE_MAINTENANCE
[Android General] v7:
I'll test this tonight.I'm having exams this week,so can't find much time to spend here :(

___

v7

XDA Assist
[Android General] urnamese3:
v7 can you give this dump a look? 0.9/hr

http://pastebin.com/1hkKNFte
[Android General] v7:
Which ROM and Kernel?

___

v7

XDA Assist
[Android General] Smittels:
Hi, since updating to MM I have a huge drain over night.

With LL I barely lost 1% in 10h, this night it's been 6% in 7h. I tried different ROMs and different kernels but no improvement at all.

I use Amplify with the same wakelocks/alarms forbidden as on Lollipop and I set Greenify as you stated in the OP.

Over the day my device always goes to deep sleep very fast and I barely loose 1% in 2-3h. So I think that maybe one process starts during the night and then prevents my device from going back to sleep again.

Maybe you can have a look at my dump.

Thank you a lot.

Fulmics 3.1 and Solid Kernel 1.7

Edit: I just saw in Amplify that StartingAlertService gave me 44 minutes of wakelock time this night, even though I allowed this wakelock onky every 44000 seconds...
[Android General] urnamese3:
Boeffla's with ur profile and OOS 2.2

Sent from my quantum computer yëyě
[Android General] v7:
On OOS I'd consider this as a good number.I never got <1%/hr drain on OOS.

Nothing to tweak.Wakelock and alarms are minimal!

___

v7

XDA Assist
[Android General] v7:
Limit *net_scheduler* to 10800 seconds.

10170 (Wifi) (com.whatsapp.WhatsApp): 13.0 MBytes 97,4%

Whatsapp consumed some juice and data!

Update BBS to 2.2.0B5 and get me a dump!
[Android General] Suicidal Chicken:
So I've followed this guide, and only applied some of the tips. I've installed Greenify beta with aggressive doze and finally, Amplify with Xposed. I lost 0% over 6hrs whilst I was sleeping - and I've inspected BBS with no wakelocks present, fantastic.

However, as soon as I started using my phone this morning - the battery life plummeted from 100% - 90% in 20 minutes.

I'm aware this has been a problem for some, any idea as to why?

Great guide btw.
[Android General] v7:
It's a normal behaviour :) Read this!

___

v7

XDA Assist
[Android General] Suicidal Chicken:
Yea, I've read that twice now - and although I understand the theory behind it, the practise on the other hand - I don't.

This is the first time I've witnessed this, on any device and I've gone through a lot of devices. This only happened today, as it's the first time I've been bothered to use Greenify's advanced doze.

I'm off work today, so I'll be able to monitor and see if I'm achieving the same battery drain as I usually do when I'm at home (6-7hrs SOT, off the charger for ~18hrs,) and I'll report back.

I'm not convinced entirely that this is the case, but that's just my findings and my profession taking.

Either way, this guide has done what it's supposed to do - and given me amazing standby drain.
[Android General] brossovitch:
Okay. I've had some good luck with this threads info on my Touchwiz KitKat modded ROM.

I had a 1% drop, but it always drops 1% after unplugging, no matter what I try. But xposed isn't great for battery life on KK so it might be the framework.

Anyhow, here's my dump for a Galaxy Tab4 running a heavily modded stock TW ROM with a custom kernel from XDA built with ubertc with overclocking. Testing it on a conservative profile with ConservitiveX CPU governor.

Thanks again [MENTION=5867207]v7[/MENTION] !
[Android General] jhuff83:
[MENTION=5867207]vaisakh7[/MENTION] For my Android tools and broadcast receivers, are you saying to disable the items that show boot_completed in the description so they don't start at bootup?
[Android General] v7:
By disabling the boot_completed Broadcast Receiver of an app,the app is denied permission to run at boot.
[Android General] jhuff83:
But notifications should still come in for Facebook etc. correct?
[Android General] v7:
Yes it should.
[Android General] mbnaeem:
Noob question: how do I upload a txt file through the xda app? It's only got options for picture/smile/URL
[Android General] v7:
You can't do that with XDA App.Visit the page in a browser,you'll find an option to upload Attachments.

Tapped from my furious dogo ;)
[Android General] mbnaeem:
Regarding the PowerManagerService.Wakelocks issue I've been experiencing:

After leaving my phone in an idle state overnight I have saved a text dumpfile as advised. I hope this provides an insight on how I can resolve this. Thanks for your help.
[Android General] v7:
Turn off OK Google Hotword detection OR if you don't use Google Searchbox you can disable it completely.

Tapped from my furious dogo ;)
[Android General] mbnaeem:
Wowww that's embarrassing. I am so sure I had that deactivated. Anyway thanks for your help and for this guide. Time for me to experience this extreme battery life.
[Android General] abeloman:
I'm sorry if this not the place, but I would like to ask, how do you install BBS on LP 5.1? I can't get it work on 5.1.1... Every custom ROM I tried had the same problem, it doesn't install on /system... Sorry to ask here, but I'm exhausted :(

Enviado desde mi Moto G mediante Tapatalk
[Android General] v7:
After installing,move the app apk manually to /system/priv-app,fix permissions and reboot :)
[Android General] abeloman:
I'll try and report back :D

Edit: it worked like a charm, thank you so much... Now I'll try to get the dump and post here. I hope you help me with some wakelocks :)

Enviado desde mi Moto G mediante Tapatalk
[Android General] ClownShoes:
[MENTION=5867207]vaisakh7[/MENTION]

Okay buddy, third time lucky...

I've made a few tweaks and here are the results :D
[Android General] Portgas D. Ace:
Awesome stats. 0,0% during > 6h of idle period are terrific :good:
[Android General] ClownShoes:
Ha ha, yeah I was pretty chuffed with that :D
[Android General] Portgas D. Ace:
BTW, did you manage to find the culprit that kept your device awaken the last time?
[Android General] carlitobahsoun:
can u share ur tweak plz??????[emoji7]
[Android General] danigraham:
Here's my idle log & dump from overnight.

Thanks in advance!
[Android General] v7:
Happy for your result mate :)
[Android General] v7:
See OP
[Android General] v7:
10157 (Wifi) (com.pushbullet.android.Pushbullet): 4.0 MBytes 71.3%

Pushbullet consumed some data!

Rest is all good :)

I think you shouldn't worry about that 1%.Isn't it? ;)

___

v7

XDA Assist
[Android General] brossovitch:
Yes, I leave wifi active. I also sent myself some pushes and hangouts messages. To go into the dump and see if I missed any wakelocks.

Both apps send notifications flawlessly even while hibernated in Greenify using KK. But unless whitelisted in MM they won't do anything, even though they aren't hibernated. I believe this to be naptimes aggressive doze mode. But I no longer use it..

And i don't think 1% is a bad drop on a device that I have owned and bricked numerous times for almost 2 years. The battery is probably having issues honestly. It drops 1% within 30 seconds of unplugging, usually.

Thanks again man! You're a godsend! Also, TK, because he mentioned this thread on Xposed Tuesday. Haha.
[Android General] aoleary:
Hi there.

2 questions.

1. Do "Aggressive Doze" in Greenify and the separate Doze Setings Editor app do the same thing?

2. I'm pretty sure I did not touch wifi, however, it keeps going into suspend mode, so I am wondering where I can verify that I didnt mess with that. I only use Greenify and Doze Settings Editor. Dont use Powernap.
[Android General] v7:
1.In addition to letting the phone doze faster,Aggressive Doze in Greenify disables the motion sensing and thus avoids the chance of waking up the phone when with motion.No need of using them together.Greenify with Aggressive Doze is enough.

2."Keep WiFi during sleep enabled in WiFi settings?

___

v7

XDA Assist
[Android General] aoleary:
Hi v7.

Thanks for the info. Have uninstalled Doze Settings Editor.

Regarding wifi, "Keep WiFi during sleep" is enabled in WiFi Advanced Settngs..

I'll do a logcat when it wakes up, so maybe by doing that I can find a link to what suspends wifi..
[Android General] Fir3lordZuk0:
Hi @v7,

So i have captured logs on 2 different days:

1. With Wifi and Data ON

2. With Wifi & Data OFF

Kindly see the logs and screenshots and let me know what i can do now. I have limited the Alarms you asked me to in previous post. But i still have battery drain of 1.3%/h.

Excuse me for so many attachments.
[Android General] v7:
How old is the cell?

Did you enable Aggressive doze in Greenify?

___

v7

XDA Assist
[Android General] Fir3lordZuk0:
Cell is 3 years old. But battery is new.

Yes i enabled aggressive Doze in Greenify. I am also using Naptime. It is ok to use both rt?
[Android General] Aakash Kaushal:
Can i limit this alarm?

Actually i dont use calenders and also can i limit other calender alarms/wakelocks also?
[Android General] v7:
Greenify is enough.Remove Naptime.

Is any other MM ROM available?Or a custom kernel?

___

v7

XDA Assist
[Android General] v7:
Limit it to 41400 seconds if you don't use reminders or events.

___

v7

XDA Assist
[Android General] Fir3lordZuk0:
Cool i will do that.

naosp is the most stable MM as of now. Other guys using it have confirmed good battery output.
[Android General] v7:
So I guess it's the battery.Can you post me a dump on Aeroplane mode?

___

v7

XDA Assist
[Android General] welder73:
What about this HEARTBEAT_ALARM?

Is it safe to limit it?

Everything else is fine :)

Sent from my Razr XT910
[Android General] v7:
No!Will delay notifications.

___

v7

XDA Assist
[Android General] supermedo:
What is *alarm* wake lock from android system? it's the main culprit on my phone. Can I amplify it?
[Android General] v7:
*alarm* appears on all LP and MM ROMs.They doesn't cause any drain.No need to limit it.

___

v7

XDA Assist
[Android General] shark3112:
What is with step idle state?
[Android General] v7:
There are several steps before the device goes dozing.(Like sensing,locating).I guess the alarm is related to it :)

___

v7

XDA Assist
[Android General] MBurns2:
Unfortunately aggressive greenify make the sensor crazy.. Look at my screeshot :)

Any solutions? Ty

Inviato dal mio A0001 utilizzando Tapatalk
[Android General] v7:
But I don't find any unusual drain from it.

Can you turn off Aggressive Doze and check if the issue persists?

___

v7

XDA Assist
[Android General] RASanchez007:
sorry this is sorta unrelated, but I tried joining the Power Nap Alpha google+ group, to download Power Nap, but I haven't but added to the google+ group yet. Been over a week since I requested to join too.

Is there other way of downloading the Power Nap?
[Android General] gaosphappy:
A search with Google will get you the result you require. I believe it's also been posted in this thread couple or so pages back.

Good luck.

[MENTION=5867207]v7[/MENTION] would you be so kind as to cast your eye over this dump and tell me what's wrong/what I've missed. Have aggressive doze enabled but still 1.9%/h. TIA.
[Android General] v7:
Can't find the file!

___

v7

XDA Assist
[Android General] gaosphappy:
sorry 5am and no coffee yet... TIA
[Android General] v7:
Limit *net_scheduler* to 10800 seconds.

No details for alarms.Can you enable 'Alarms using API' in,BBS advanced settings?

How old is the cell?

___

v7

XDA Assist
[Android General] gaosphappy:
Thanks for the reply. I've both these done already (see screen shots)

Think I'll uninstall BBS at try again. All was a bit wonky when I installed it... Cell is about 2yr old was considering replacement. Will come back with another dump with alarms included. TIA
[Android General] dipro.tanvir:
https://drive.google.com/file/d/0B2WHuQwqeHO_S3hTMFExd1ZZOGs/view?usp=docslist_api

Please take a look at my stats! Thanks
[Android General] v7:
Screen On (): 15 m 54 s 4.0%

Read FAQ in post #6 and post a dump.

___

v7

XDA Assist