yashsingh1/xdaforums huggingface dataset:
[Android General] Portgas D. Ace:
BetterBatteryStats version: 2.1.0.0 -> still not the latest version of BBS from XDA, check this thread for newer versions

Screen On (): 6 m 18 s 1.6% -> try to save the BBS log right after you turn on your screen

BbmPlatform (com.bbm.BBM): 3 m 2 s Count:145 0.8%

BbmPlatformKeepAlive (com.bbm.BBM): 1 m 11 s Count:48 0.3% -> BlackBerry Messenger was running

gtm (com.spotify.music.Spotify): 1 m 52 s Count:1 0.5% -> Spotify was running

Alarm stats are still corrupted. Update BBS and upload another idle log file.

See the reply below. Maybe it is called Experimental in your ROM.

The regex function was introduced to limit wakelocks that contain random numbers, such as the ALARM_WAKEUP one.

ALARM_WAKEUP[0-9]+ means that it will block all alarms that start with ALARM_WAKEUP, followed by a combination of numbers from 0-9. The "+" sign indicates that it will apply for any count of different numbers. So this means that ALARM_WAKEUP1234 (total of four random digits) will be limited the same way as ALARM_WAKEUP54156614 (total of 8 random digits). Easy as that.

This! :good:

qpnp_fg_memaccess (): 6 m 7 s Cnt:(c/wc/ec)197/58/0 1.4% -> check this thread for a possible solution

wlan_rx_wake (): 4 m 37 s Cnt:(c/wc/ec)1821/131/1821 1.0% -> check this thread for a possible solution

Alarms: 4, Intent: com.google.android.gms/.checkin.EventLogService$Receiver -> this one can be limited according to the OP with Amplify

Alarms: 3, Intent: com.google.android.gms.analytics.ANALYTICS_DISPATCH -> limit it to 9999999

Alarms: 2, Intent: com.google.android.gms.analytics.ANALYTICS_DISPATCH -> limit it to 9999999

All other things are okay.
[Android General] Shark5060:
[MENTION=5901790]Portgas D. Ace[/MENTION] I've limited the Lightflow Wakelock, connected via statis ip to my wifi and uninstalled the samsung push notification service and now I'm down to 0.2%/h during the night. Awesome. Thanks a ton for your suggestions.

Oh and I clean flashed the rom+kernel again and switched to F2FS in the process, so that might have something to do with it as well.
[Android General] gothy.gothy:
Here there are 4 of my screenshots.

Any comments?

(Nexus 6)
[Android General] Portgas D. Ace:
0.2% per hour is pretty awesome :)

> 8h Scree-On Time, that's amazing :good:
[Android General] gothy.gothy:
And trying to improve :)
[Android General] Portgas D. Ace:
Then refer to post #6 and post an idle log file.
[Android General] mvlad:
Hello, does the smart doze from MM make power nap redundant?

Sent from my OnePlus 2
[Android General] Snowby123:
Absolutely not. Powernap works very differently from doze
[Android General] xstormli:
my wide guess

my wide guess for the regex would be " android.net.netmon.lingerExpired_[0-9]+_[0-9]+"

the seconds for limiting this try 600 to see if there is any malfunction, and then increases by 2x.

doesn't hurt to give it a try.
[Android General] aaaqhaaa:
Hi i think i upload the wrong one, anyway, i hope i do it correctly this time.

Btw with the bbm running like that event Though, i didn't use a lot, is there anyway i can delay or block the app from running in BG?

Thank you
[Android General] xda26:
Hi evrybody these is good or bad?[/IMG]
[Android General] f0xy:
You've posted this in 2 incorrect threads.

Search for the amplify thread

Edit: you've posted in amplify and received a reply.
[Android General] suaverc118:
Good morning [MENTION=5867207]v7[/MENTION] and everyone. This is probably the worst drain I've had. Battery stats showed no wake locks and my WiFi time on looks like any other time even when I had no battery drain what so ever. The night before I had maybe a 2% drain with same set-up. Thanks fellas
[Android General] Darksite93:
I have the same problem with that alarm "android.net.netmon.lingerExpired _ ### _ ##########" try to block the hand until I saw that generated more. I placed the regex as you say and does not work. at the same time, I realized that I have several "ALARM_WAKEUP ####" that are not being blocked, have 4 and up to 8 digits. I have just placed the "ALARM_WAKEUP [0-9] +" I do not know if you can help me.

Enviado desde mi Moto MAXX mediante Tapatalk
[Android General] neonkat:
anybody here who has greenified "location services(system)"?is it safe?i use it rarely and its running all the time in background.

*i have a low memory device so trying to greenify system apps.
[Android General] Wesley Eley:
Greenify is appropriate

I will vote for Greenify because it is good and easy-to-use.
[Android General] 'Akira:
Hi. Sorry for this. I just thought that I could reach more people by doing that and maybe get to know about another manner to donate to the dev and unlock the pro features of the app...

I post in those threads because they are, in someway, focused on the use off amplify to extend battery life reducing the drain.
[Android General] fridrik:
New stats today. Can I get better? Limiting some wakelock or disabling a service. Thanks
[Android General] Portgas D. Ace:
Screen On (): 5 m 58 s 1.7% -> did you save the log file right after you turned on your screen or did you use your device for some minutes?

DownloadManager (com.google.android.gm.Gmail): 2 m 32 s Count:111 0.7% -> Gmail has been active, downloading mails/attachements

Alarms: 20, Intent: jp.naver.line.android.legy.SpdyHeartbeatChecker.sendPing

Alarms: 15, Intent: jp.naver.line.android/.alarm.LineAlarmReceiver

Alarms: 7, Intent: jp.naver.line.android.legy.SpdyHeartbeatChecker.check -> Line Messenger has been active, you can limit all three alarms if you do not rely on instant notifications from Line

Alarms: 8, Intent: com.rim.bbm.ACTION_PLATFORM_WAKEUP_ALARM -> BBM-related, same as for Line Messegner (limit it if you don't need instant push)

Well, it depends on your normal usage. If you want help, refer to post #6 and post an idle log file so that we can advice you some battery saving methods.

Wifi On (): 8 h 40 m 24 s 100.0%

Wifi Running (): 17 m 38 s 3.4% -> seems that your WiFi was turned on, but not connected the whole time, thus draining some battery

AudioIn (1013): 25 m 59 s Count:0 5.0% -> this might be related to the media scanner, check this thread for a possible solution

Alarms: 34, Intent: com.google.android.googlequicksearchbox/com.google.android.apps.gsa.sidekick.main.TrafficIntentService -> you can limit this one and check if you lose any functionality related to Google apps

Alarms: 11, Intent: ALARM_WAKEUP86563323 -> use Amplify's regex function to limit this one

Alarms: 1, Intent: com.google.android.gms.analytics.ANALYTICS_DISPATCH -> limit it to 9999999 (if you haven't done so yet)

Screen On (): 3 h 4 m 16 s 65,7% -> refer to post #6 and post an idle log file as a in-use log file is useless for our purpose
[Android General] aaaqhaaa:
Hi portgas,

I went to bbs after i turned on the screen. That is weird only says 5 minutes.

I see how long do you think i should delay for ljne and bbm messenger?

Thank you. I will try to make another dump of you dont mind
[Android General] Portgas D. Ace:
After you turn on your screen, open BBS and save the log file without opening any other app. This way you will receive the best "undisturbed" log file.

I would start limiting the alarms related to BBS and Line to 900 (900 seconds = 15 minutes) and check if it is okay for you. If not, decreaase the limit.
[Android General] fridrik:
I used it for more than 3 hours

Enviado de meu GT-I9505 usando Tapatalk
[Android General] Portgas D. Ace:
Yes, and I have noticed that, too. Check again my reply, you quoted a part from my reply that was meant for another member.
[Android General] topbasework:
[MENTION=1071347]vaisakh[/MENTION] i upload to dropbox

https://www.dropbox.com/s/4lfn6lua343kmdt/BBS dumb and Logcat.zip?dl=0
[Android General] v7:
Disable Google Search Box if you don't use it and Greenify whatsapp.

Now go to BBS->Settings->Advanced->Check "Kernel Wakelock using API.

Post a dump after trying this.

Tapped from my furious dogo ;)
[Android General] topbasework:
Sorry silly Q

How to disable google search box,using wht tool and if greenify whatapp,i still get notified or not?
[Android General] v7:
You can disable from Settings->Apps or using Titanium Backup or with

Other 3rd Party Apps.

Notifications should work after Greenifying if you follow the OP.But users have reported broken push on their devices and that seems to be a Greenify issue.So try and report :)
[Android General] topbasework:
Dont have google search box in my system rom..
[Android General] v7:
Freeze Google APP.
[Android General] topbasework:
Thanks will try n report back..

Fyi whatapp notify work after greenify

Nice job [MENTION=5867207]vaisakh7[/MENTION]
[Android General] vocalists:
followed the guide exactly as it is. will report back soon

question. what isdevice connection service broker? and is it safe to disable it?
[Android General] AndroGuru:
Version 2.6.2 stable
[Android General] abeloman:
I don't know, but I have disabled without problems...
[Android General] v7:
Try reinstalling Greenify.

Tapped from my furious dogo ;)
[Android General] Looki75:
Galaxy s5 g900f

ROM... _Alexndr BOE6 (Samsung LP 5.0)

At the time I wrote, I was using the deodexed version + xposed. Now I switched back to odexed without xposed... I keep switching back and forth... Seems that xposed generates a bit instability for me...
[Android General] yilun:
Thanks for the guide! ??
[Android General] GjorgiDxc:
What should I leave unblocked if I want locations to work ?
[Android General] v7:
I've labelled them in the OP.

Tapped from my furious dogo ;)
[Android General] usvimal:
After following the guide, I am unable to receive messages when screen is off
[Android General] v7:
Messages from which app?

Whitelist the app in Power Nap.

Tapped from my furious dogo ;)
[Android General] Weetbix:
I had already been doing some stuff mentioned in this guide, but I had picked some tips up (using power nap being a big one).

Over the weekend I went on a camp as a cub scout leader, and I left my phone on the whole time from Friday night. By the time I pulled my phone out on Sunday afternoon it had averaged 0.4% drain per hour. :thumbup:

Thanks :)
[Android General] usvimal:
Thank you so much. One more thing, why do we need to whitelist android system in powernap?
[Android General] Weetbix:
According to the power nap thread a lot of people are reporting the phone screen not waking up. They've reported that whitelisting AndroidSystem fixes this problem.
[Android General] fridrik:
? My mistake, I read the quote from someone else.

In standby is all right 0.5/h. I believe there is not much to change.

Enviado de meu GT-I9505 usando Tapatalk
[Android General] Portgas D. Ace:
0.5% per hour is good. Nevertheless, if you are interested, you can upload an idle log file, maybe something can be tweaked even more.
[Android General] aaaqhaaa:
Hi portgas,

Thanks so much for the tips, will try that and send the dump tomorrow.
[Android General] 12gage:
Hello, I recently flashed a Note 5 port that had Screen Off Memo baked in. It was working fine until I restored Power Nap and all of your settings. I'm sure it's just something that needs to be whitelisted but since it's built into the ROM and part of the Spen system there's no apk called Scene Off Memo, does anyone know which file/app I would exclude? I would ask in the ROM dev's thread but it's been closed, thanks in advance.
[Android General] Hawtpants:
Can you guys help me? I am on CM13 Nightlies + FlareM kernel on my Zenfone 2 and my battery is going by so fast..

Idle overnight log:

View attachment logcat-2016-05-01_095820816.txt

View attachment BetterBatteryStats-2016-05-01_095820766.txt
[Android General] xstormli:
What would be a suitable regex for google *sync*

*sync*/subscribedfeeds/com.google/********************************@gmail.com

11 m Count:830 1,0%

*sync*/com.google.android.location.reporting/com.google/********************************@gmail.com

4 m Count:52 0,3%

these two are draining crazy, what would be a suitable regex to limit these google drainers?

*sync*/subscribedfeeds/com.google/[*]@gmail.com

or

*sync*/[*]/com.google/[*]@gmail.com

what would be something good to put into the brackets? I am not a tech person, frankly CS illiterate XD,

please give the poor guy a hand.
[Android General] Portgas D. Ace:
Statistic Type: Boot to Current -> Set it to "Unplugged to Current", otherwise things get too complicated to analyze

hsic_s3_wlock (): 9 m 13 s Cnt:(c/wc/ec)836/0/0 1.6% -> this kernel wakelock seems to appear on most Asus devices and is considered as the reason why your device is kept awaken, but I haven't found any possible solution for this yet

Alarms: 12, Intent: com.google.android.gms/.checkin.EventLogService$Receiver -> limit it to 86400

Alarms: 92, Intent: com.android.internal.telephony.data-stall -> if you don't rely on WiFi calls, limit this one to 86400

Further I would recommend to try another custom kernel for your device and post another idle log file after following my advices.

I am curious why you want to use a regex function for the *sync* alarms. The regex function can be applied to alarms/wakelocks with a random number/code inside of its name. The *sync* alarms have static names, so you can directly limit them with Amplify without the need of a regex function.
[Android General] xstormli:
There are many things starts with *sync*, I have to go through all of them, and each time, i can only limit one entry with one search, and there is no multiple selection options. This is why I was looking for something neat and easy to get a hold of them all together, so it can save me considerable amount of time.
[Android General] Portgas D. Ace:
I guess it's easier to limit all of them one by one instead of setting up a complicated regex function.

But you could try to use

*sync*/+

and limit it to your preferred value.
[Android General] urnamese3:
What do you think?

http://pastebin.com/D4c9gNUx
[Android General] mestizo19:
Hi guys,

I am using this guide for long time, it gave me very good battery life in my Moto G(2nd).

I am curious why i can't find the Alarms down below in the pic.

I search for them in Amplify but i can't find them.

I am using Minimal OS 5.1.1 with stock Kernel.

[IMG="Amplify"]http://s32.postimg.org/owsl0d6p1/Screenshot_1.png[/IMG]
[Android General] Snowby123:
Looks great. Awake for only four minutes
[Android General] Omega Kaos:
Hi can someone tell me if this is all working correctly as it seems that my alarms, wakelocks are low as should be but doze dosent seem to work like it was previously

I was getting doze running for maybe 4h30m in a five hour period of not using the phone and now it's somewhere close to 10 minutes

Attached zip with logcat and BBS stats w/ screenshots
[Android General] aaaqhaaa:
Hi Portgas, here is my latest dump after limits the Line and BBM. But i didnt turn on the wifi.

Let me know what you think. Thanks a lot.
[Android General] Tony_Starkus:
I'm using a rom based on CM13, i have the Doze and i use greenify. I want to if is necessary use Amplify (just because i have Doze), or is better (for my battery) use the amplify with greenify and Doze ? Sorry my bad english
[Android General] Snowby123:
It is always better to use amplify with doze because amplify stops wake locks, doze does not
[Android General] goran90:
I got note 3 neo n7505. I had many roms, current is Lollipop stock 5.1.1 (Rooted, debloated). Last couple months my battery drains like crazy, especially on idlle. I put phone at 100% when i go to sleep, 5-6 hpurs later battery is 84-85%. Any problem solution to this? Other problem is that i got only 3.5-4 SOT hours(browser , whatsap and other apps, 3h i got on internet). A year ago, i could god a 5-6 SOT with same using, and my battery didnt drain overnight, maybe 4-5% most..
[Android General] xstormli:
thx for the help, chief!

let's try 10800 :D
[Android General] Portgas D. Ace:
Not all alarms and wakelocks show up for every user. It depends on the device's setup. If you have just installed Amplify, wait for some days and check again.

Alarms: 8, Intent: ALARM_WAKEUP3432125 -> use Amplify's regex function as described in post #4 to tame this one

10077 (Wifi) (com.google.android.apps.inbox.Inbox): 801.0 KBytes 46.7% -> Inbox using some data, thus draining some battery

All other things are okay, maybe you can try to use another custom kernel to reduce the idle drain even further.

Level lost [%]: Bat.: -25%(100% to 75%) [4.1%/h] -> that's way too much

Wifi Running (): 6 h 6 m 51 s 100.0% -> seems your WiFi was turned on, but not connected, WiFI searching for network drains some battery

NlpCollectorWakeLock (Google Services): 5 m 49 s Count:12 1.6% -> this one should be limited within Amplify by default, I don't know why this is shown. Please ensure that Amplify is running.

Sensors (): 1 h 23 m 33 s 22.8% -> any sensor (proximity sensor for example) triggered? Or connected to an Android Wear device?

GPSD (): 7 m 36 s Cnt:(c/wc/ec)12/3/0 2.1% -> this is related to your mobile network and is shown when your device is set to 3G. Try setting your network to 2G when screen is off, for example by using Intelli3G from Play Store.

Alarms: 2, Intent: com.google.android.gms.analytics.ANALYTICS_DISPATCH -> limit this one to 9999999

Alarms: 6, Intent: au.com.shiftyjelly.pocketcasts/.ui.RefreshReceiver -> Pocket Casts is waking your device regularly, so if you don't depend on instant push notifications, limit this one to 7200

Please refer to post #6 and post an idle log file so we can have a look at your issue.
[Android General] stefano91av:
Hi, I have on my Samsung S2 latest AICP 11.0-NIGHTLY (Android 6.0.1).

These are my info from BBS now.
[Android General] Portgas D. Ace:
Level lost [%]: Bat.: -57%(100% to 43%) [5,6%/h]

"secril_fmt-interface" (): 10 h 9 m 23 s Cnt:(c/wc/ec)0/0/0 100,0%

"boot_hsic" (): 10 h 9 m 23 s Cnt:(c/wc/ec)0/0/0 100,0% -> I have no idea, what those two kernel wakelocks are, but they seem to be the main issue for your huge drain. Try to re-flash your ROM (clean flash recommended) and flash another custom kernel.

Alarms: 1, Intent: com.google.android.gms.analytics.ANALYTICS_DISPATCH -> limit this one to 9999999
[Android General] stefano91av:
Thanks for the quick reply. :)

I was going on the same kernel problem wakelocks on CM12.1 .

Basically I use my S2 without SIM Card , just wifi .

When I don't have the sim card is the problem with " secril_fmt -interface " and " boot_hsic " .

Reading on XDA seems to be a modem problem, yet I put the last ( I9100XXMS4 ) ... the best at what they say .
[Android General] belloni:
Anything else I should do?
[Android General] rdoane:
[MENTION=5901790]Portgas D. Ace[/MENTION], I've been getting awful idle drain recently. I did upgrade to the new 6.0.1 build, MTC19T. I've attached a log from last night. I was on hotel wifi in case that might be the issue. Thanks as always.
[Android General] Portgas D. Ace:
BetterBatteryStats version: 2.1.0.0 -> please update to the latest version of BBS (2.2.0.0B6), can be found here on XDA; your alarm stats are corrupted

Wifi On (): 7 h 51 m 9 s 100.0%

Wifi Running (): 32 m 35 s 6.9% -> WiFi was turned on, but not connected the whole time, thus draining some battery

ssp_wake_lock (): 8 m 16 s Cnt:(c/wc/ec)154/82/149 1.8% -> as far as I have seen, this is related to the proximity sensor

10175 (Wifi) (com.whatsapp.WhatsApp): 11.0 MBytes 96.7% -> Whatsapp using data, thus draining some battery

Sensors (): 7 h 14 m 52 s 100.0% -> one of the sensors was active the whole time, but it is impossible to say which one

wlan_rx_wake (): 1 h 43 m 23 s Cnt:(c/wc/ec)36860/22267/36859 23.8% -> check this thread for a possible solution

qpnp_fg_memaccess (): 44 m 13 s Cnt:(c/wc/ec)2063/873/0 10.2%

qpnp_fg_update_temp (): 33 m 20 s Cnt:(c/wc/ec)1561/669/0 7.7%

qpnp_fg_update_sram (): 12 m 29 s Cnt:(c/wc/ec)562/242/0 2.9% -> those three kernel wakelocks seem to be present in most ROMs for the Nexus 6, see this thread

sh2ap_wakelock (): 11 m 38 s Cnt:(c/wc/ec)6342/4200/0 2.7% -> haven't seen this one before and did not find any good information about it

Alarms: 11, Intent: com.ninefolders.hd3.intent.action.TRIGGER_ACCOUNT_WAKEUP -> related to Nine, if you rely on instant push from this app, don't limit it, otherwise try 7200

Maybe try another custom kernel or another custom ROM. Your device was awaken for nearly 70% of the time, resulting in 3.7% per hour drain.
[Android General] wonsky21:
Nothing new to the guide? :)
[Android General] Portgas D. Ace:
Depends on your understanding of "nothing new" ;) v7 is busy with exams, he will be back in some days.
[Android General] stefano91av:
And me? :)
[Android General] wonsky21:
I meant that guide is dated 07-02-2016, and today is 04-05-2016 :)
[Android General] Rakuu:
It was updated on the 7th, I don't understand the confusion, v7 has things outside of this and will update it if it needs updating, what are you asking?
[Android General] gothy.gothy:
maybe a daily update :D:D:D:D:D:D like CM :D:D:D:D
[Android General] wonsky21:
I'm not asking for anything.

I'm just wondering if there is something new for the guide. For example "apps to be whitelisted in doze" :)
[Android General] Snowby123:
By default, Google play services is not optimized in doze. If you think others should be white listed go ahead and try it yourself. Personally I have tried white listing a few apps and battery performance remains unchanged.
[Android General] 12gage:
I've been having a problem with Power Nap killing Wear Notifications when the screen is off in my pocket. I tried deactivating PN and they came back. I whitelisted Android Wear, the Watch Face I'm using, and ZenWatch Manager (just in case it was related) with no luck. Does anyone have any other suggestions? I'd like to continue using Power Nap because I think it is helping with battery life, but no Wear alerts kind of defeats the purpose for having it.
[Android General] Portgas D. Ace:
Maybe whitelist all things that are related to Bluetooth. If Bluetooth isn't allowed to run while your device's screen is off, then there might be no notification on your Wear.
[Android General] goran90:
Dump file

Here is my dump file. I left it 6h durring the night, battery drops from 100 to 85%, over 2.5%/h, if someone can help..
[Android General] gothy.gothy:
Hi guys,

Do you have any idea if hangouts_rsus could be limited?

Thanks
[Android General] fridrik:
Can someone explain this to me. I sleep and the battery was at 57%, when I wake up it is 62%?
[Android General] gothy.gothy:
The tooth fairy plugged your charger a little bit...
[Android General] fridrik:
I never liked to leave charging the phone while I sleep.

Enviado de meu GT-I9505 usando Tapatalk
[Android General] gothy.gothy:
Why? Are you afraid to find it charged in the morning?
[Android General] goran90:
Someone?
[Android General] fridrik:
To me it does not change much. I prefer to leave the cell charging in the morning or afternoon

Enviado de meu GT-I9505 usando Tapatalk
[Android General] 12gage:
Here's my dump file, is there anything I could be doing better?
[Android General] TNSMANI:
Update BBS to 2.2.0.0B6 and post another idle dump.

In your present dump, times are not recorded properly.
[Android General] rdoane:
Has anyone had anyone else limited the Window:StatusBar wakelock? If so, any ill effects? What did you limit it to?

Also, what about the LockboxAlarmReciever alarm and LockboxService service?

Finally, any experience with the QcrilMsgTunnelSocket wakelock?

Thanks in advance.
[Android General] ElementRn:
May I post a log tonight? Don't know if it's possible to improve this. Already using amplify, Greenify and power nap.

Have a great day?
[Android General] goran90:
Here is my 6hours idle dump stat. From 100 to 85% in 6 hours of idle. Any help?
[Android General] 12gage:
Here you go, I hope I did it right this time
[Android General] ryanallaire:
I have a bunch of ALARM_WAKEUP followed by 5-9 numbers, anyone know what those are?
[Android General] vagkoun83:
read the guide in OP about regex