yashsingh1/xdaforums huggingface dataset:
[Android General] suaverc118:
Yes. Does the one from the thread work better? I installed play store because after flashing, I lost it and the app in the app drawer said it was not the app but an add on or something. I forget. So I need to keep data on again correct? Sorry I'm not used to leaving it on lol. Like I've said before, I used to have everything off and would get 100% for 7-8 hours. I'll try again. I assume it has to be fully charged again???

---------- Post added at 10:19 AM ---------- Previous post was at 10:18 AM ----------

OK I'm confused. I click your link for BBS and it takes me right to the one I have now
[Android General] v7:
Yeah the latest versions of BBS are in the thread ie the beta editions of the app.The PlayStore edition is old.

I'm asking you to keep data On because most of the alarms and wakelocks are triggered during an active data/WiFi connection.So inorder to see what's draining your battery during Idle,you need to keep the data/l during the test.

You needn't charge the battery again.Set a custom reference in BBS and leave the phone idle.While pulling the dump,make sure the reference is set to "Custom"!

Tapped from my furious dogo ;)
[Android General] suaverc118:
How long of an idle? And I'll try to find it. Search " beta" I assume?
[Android General] v7:
Post and idle dump of atleast 4 hours.>6 hours is recommended.

Here's the latest BBS apk.

Install the app.It'll prompt to Install as System App.Do that and upon reboot, reinstall the apk again on top of the existing installation.Then open BBS and grand Superuser permissions.
[Android General] néonaloj:
Hi

I've just discovered this thread, and hope it will help me get even better battery life. At least I do use most of the OP recommendations, here is what I get now:

(Blissop rom, ak kernel, Oneplus one)
[Android General] v7:
This is awesome :) :victory:

It'll be good if you get me an idle dump so that I can see if there's anything more to tweak.

Read FAQ in post #4 and post me a dump later.

Tapped from my furious dogo ;)
[Android General] néonaloj:
Sorry for my bad english, what's a dump??
[Android General] v7:
It is a text file that contains the BBS stats and info.Read post #4.I've explained how to report logs and dumps.

Tapped from my furious dogo ;)
[Android General] suaverc118:
Wow what are your kernel settings?
[Android General] néonaloj:
I make only light and little tweaks in Synapse. At the time of the idle screenshot one week ago, I even don't had PowerNap module...

But of course I've investigated a lot and I do make use of Greenify, Amplify, Servicely, Privacy guard, Wakelock blocker ... and now I've added Powernap.

Here are the screenshot of my synapse profile:

(Wifi always on, some hours of data on)
[Android General] shsagnik:
Want a quick tip, the recent apps, should I clear them after using the app or let them be like that only?
[Android General] haseogu:
https://www.dropbox.com/s/zyihfqbjtgxmdrg/BetterBatteryStats-2015-07-19_075913546.txt?dl=0

Please check this log vaisakh. This is the best log with only 1.1%

Btw is there any kernel wake lock issue here?

Sent from my X9076
[Android General] v7:
You should always clear the recent apps after using them.

Tapped from my furious dogo ;)
[Android General] v7:
The drain is due to Peeble connection and Bluetooth running.There's nothing much I can do about it.Maybe you can try switch ROMs to see if this bluedroid_timer wakelock count reduces.

From the stats, limit the following:

com.google.android.location.reporting.ACTION_UPDATE_WORLD to 40000 seconds

If you haven't limited com.android.content.syncmanager.SYNC_ALARM,limit it to 7200 seconds or 3600 according to your requirement.

Tapped from my furious dogo ;)
[Android General] agbazinga:
Hi vaisakh

Currently I am getting an idle drain of about 1.1% /h . Could you look at dump file and give some suggestions about how to improve it further.

Also currently I have set wakelocks and alarms of WhatsApp and Facebook to very higher value. So it affects push notifications but on keeping the values lower also notifications are affected and battery drain also increases. I only want to have push notifications from WhatsApp with minimum battery drain, please give some feedback regarding that also .

Thanks

https://www.dropbox.com/s/g962hojtgbk8x2x/BetterBatteryStats-2015-07-19_111439433.txt?dl=0
[Android General] v7:
*Limit android.app.backup.intent.RUN to 84000 seconds.

*If you're not using the Google Searchbox,disable it.

*Try to Limit the following two alarms to 40000 seconds:

com.whatsapp.messaging.MessageService.CLIENT_PINGER_ACTION

com.whatsapp.alarm.CLIENT_PING_TIMEOUT

If the notifications are affected,revert the change.

*Do you have good cell reception at home?

Tapped from my furious dogo ;)
[Android General] abdhad96:
Hiii

I tried what you said.... Here is the stats

I'm sorry.. I forgot to turn on WiFi.. I'll do it again if these stats aren't enough
[Android General] v7:
Need a dump with WiFi.Post it later.

Do you have good cell reception at home? How old is your battery?

Tapped from my furious dogo ;)
[Android General] pillopoulos:
I don't know what is happening and why but in the last days I can't reach 3g signal in my area despite a few months now I was having very good. Is it any way I have tweaked something in amplify so affected it? I uninstalled it to see if there was something but it was the same, so I suppose it's not the application...

Στάλθηκε από το 831C μου χρησιμοποιώντας Tapatalk
[Android General] abdhad96:
It's slightly below average.... Because screen was awake only for 1mn...but that no data and no signal has drain 7% of the battery...

Battery I is 20months old.. .. Stock(one with the phone)
[Android General] v7:
It'll be helpful if you post this as a text file.

Tapped from my furious dogo ;)
[Android General] Ikkuh84:
Sorry, here is the dump:

https://www.dropbox.com/s/ao9wfvizvi60ajw/BetterBatteryStats-2015-07-19_105104633.txt?dl=0
[Android General] v7:
Limit the following:

*ConnectivityService to 7200 seconds.

*android.appwidget.action.APPWIDGET_UPDATE to 3600 seconds.(widgets will update every 1 hour)

Tapped from my furious dogo ;)
[Android General] v7:
Mediocre reception can cause much drain.It is a top consumer in your idle time.

Tapped from my furious dogo ;)
[Android General] v7:
It shouldn't be anything related to the Guide.

Tapped from my furious dogo ;)
[Android General] néonaloj:
You asked it, here it is, my dump of last night. 07:33 for a bit more than 1% lost. I'm happy so.
[Android General] suaverc118:
Good morning. So I hope I did this right. I left WiFi and data on. Please let me know where I can gain more battery because I don't see the results others are getting. I even have power nap too. Thanks
[Android General] pillopoulos:
Do you know why when I have the auto sync closed, the sign keeps popping on and off and as soon as I open the auto sync it doesn't stop syncing?
[Android General] suaverc118:
Here are a few screen shots. From 11pm until waking up it kept dropping.
[Android General] agbazinga:
1. Disabled quicksearchbox service in Amplify

2. Increased backup.intent.run to 84600

3. WhatsApp wakelocks that you mentioned were already set at 43200 , and gcm notifications are delayed ( even tried PNF ) ...should I keep reducing these values by trial and error till the point it doesn't affect notifications ??

4. Cell mode was set to 4g, and the reception is not the best (2-3 bars ), so now using Intelli3g to keep cell signal to 2g in idle state.

Currently not using Greenify and Powernap.

If I use Greenify and set auto hibernation , by what amount should I delay its alarm in Amplify ?
[Android General] SiK TL:
So here is mine. Maybe there's something I can tweak a little more to get even better battery life. Thanks in advance.
[Android General] suaverc118:
I don't get how people get this type of battery life. Makes me sad
[Android General] suaverc118:
First 2 pics are of all my alarms the rest of the pics are my wakelocks.
[Android General] v7:
1.Disable the app itself.

3.Un-limit the Whatsapp alarms.

Greenify alarm is mentioned in the OP.Limit it to 1800 seconds.

Tapped from my furious dogo ;)
[Android General] v7:
Limit:

*com.google.android.gms/.checkin.EventLogService$Receiver to 84000 seconds.

*com.cyanogenmod.lockclock/.weather.WeatherUpdateService to 7200 seconds.

Tapped from my furious dogo ;)
[Android General] v7:
Reinstall BBS.The alarms stats are empty.Do you have good cell reception at home?Are you on LTE/3G?

Tapped from my furious dogo ;)
[Android General] suaverc118:
I just reinstalled like you mentioned yesterday. I had the play store version and you had me install the one you provided, reboot and reinstall again and accept SU. So I'm not sure why its not showing. Also, do the pics of all my alarms and wakelocks not help? Thanks.
[Android General] néonaloj:
How do you investigate trough your phone? WakeLock Detector is one great tool, wich lets show you what's running and link you directly to Greenify. CPU Spy+ let you see your deep sleep state. BBS of course shows you the different wakelocks you have to stop/limit.

Then (I won't re-write the OP) use the "+" in apps like Greenify (donate version!)/Servicely/.. to see what's running, in Amplify limit or stop what's "safe to limit" and also what you can recognize as your own apps.

PowerNap (wich is new to me) seems to be a great tool too for idle time (don't forget to whitelist Servicely, Greenify, Amplify ...)

Don't forget the first steps, Privacy guards for google play services, Wakelock blocker if you have it in your rom etc...

Good luck!
[Android General] v7:
It happens sometimes.I'm not sure why.Your screenshots are of Amplify.That won't help.
[Android General] agbazinga:
Thanks for the prompt reply (y)

1. Disabled the app.

2. Unlimited WhatsApp alarms .

P.S. Got a lot of WhatsApp alarms as soon as I unlimited it, is completely unlimiting only option to get gcm notifications ?? :(
[Android General] v7:
I'm not sure.Maybe you can try trial and error method to find a safe number to limit them with full functionality.

Tapped from my furious dogo ;)
[Android General] Āçē:
Nice share vaisakh7!

Thnx bro.....did save my phones battery alot.:D
[Android General] PIRATA!:
[MENTION=5867207]vaisakh7[/MENTION] thank you for your advice as I'm having back BBS working correctly.

I'm trying to create a dump for sharing here, but for me it's practically impossible to leave the phone for 6h alone.

The only way is to do that during night.

In case it's ok, should I leave the network state as I use it outside during day usage, or with wi-fi on as I use it while at home??

Tnx.
[Android General] v7:
If you have strong WiFi reception,a dump with WiFi ON will be fine.

Tapped from my furious dogo ;)
[Android General] *Tar*:
Thanks, good Tips, but where can i find "PowerNap"?...... all i found has to do with sleeping well

Gesendet von meinem Nexus 6
[Android General] néonaloj:
Here is the PowerNap thread and how you can get the module.
[Android General] SiK TL:
Quick question. In amplify. Is it really safe to limit all the wakelocks/alarms under safe to limit? Just curious.
[Android General] marbertshere:
I find that without Wifi on my idle drain is about 0.5% per hour. With Wifi on it is over 2%. I tried so many tweaks before I realized this.
[Android General] fideldesu:
Can you list down for Servicely ? I know I can use the list for Amplify at the front post but Servicely dont have a search button to find each one of the service (it's to many in there and need to scroll a lot to find each of it plus the name is diff. and I need to google each of it.)

Or is there any thread or list elsewhere for Servicely ? Thank you.
[Android General] v7:
Yes it should be.But most of them are not major drainers.

Tapped from my furious dogo ;)
[Android General] lebron92:
Please help me check my BBS dump

Hi,

Thanks for such a detailed guide.

Appreciate any advice.

Matt
[Android General] v7:
You've used the phone for about 15 minutes.Next time,post me a complete Idle dump

Limit *android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED to 7200 seconds.

Limit the AnalyticsService of Facebook and Facebook Messenger using Amplify.

Tapped from my furious dogo ;)
[Android General] lebron92:
Sorry about that, I have a question about Amplify though..I know I need to install Xposed but I cannot do a Nandroid backup on my Asus zenfone 2 using either CWM or TWRP. [They cannot find the recovery for my zenfone 2]. Any suggestions there?

Thanks alot.

P.S: I have searched through the XDA forums but nobody said any regarding zenfone 2 Nandroid backup
[Android General] v7:
Here's the recovery for ZenFone 2.

Tapped from my furious dogo ;)
[Android General] suaverc118:
With the safe to limit ones, what's the best amount of time to limit them at? There are a lot that are not listed in the OP.

Also here is what I have from wake lock detector. I'll provide another dump after tonight, but this is screenshots of my phone at minimal use today.

And I do use privacy guard and turn off awake and keep awake on everything as well.

I use powernap as well and forgot to whitelist greenify. But I did have amplify white listed and I don't use servicely. I use amplify, greenify, power nap and privacy guard. I now have everything white listed.
[Android General] v7:
You're having average/bad signal at times.That's one cause of the drain.Can you post me dump in Aeroplane Mode?

Tapped from my furious dogo ;)
[Android General] v7:
Do you have strong signal at your place?

You got 0.5%/hr with Mobile data on?

Tapped from my furious dogo ;)
[Android General] pillopoulos:
Any suggestion for tweaking here? https://drive.google.com/file/d/0B0pRysLNGzMQT3JGeVNjYzF3RXc/view?usp=docslist_api

Στάλθηκε από το 831C μου χρησιμοποιώντας Tapatalk
[Android General] v7:
Everything's perfect!Enjoy your battery life :) Cheers :highfive:

Tapped from my furious dogo ;)
[Android General] pillopoulos:
Indeed! Thanks! :thumbup:
[Android General] The Lord Vader:
Well, I used to have a good night's deep sleep but not tonight.

https://www.dropbox.com/s/2pmraoif6ga28iv/BetterBatteryStats-2015-07-20_070852757.txt?dl=0

Is this the bad guy? [emoji379]

wlan_wd_wake (): 35 m Cnt:(c/wc/ec)409/28/0 6.6%

Sent from my Note3 running Temasek's ROM.
[Android General] Portgas D. Ace:
Yes, I noticed that. But what was bugging me the most is the fact that WiFi was running less than 4 hours. This means WiFi has been enabled or disabled automatically by some app/profile. And with 8+ hours of No or Unknown Signal this may lead to the fact that either Airplane Mode has been enabled or WiFi was on but not connected. If you have a look at the WiFi stats one can clearly see that WiFi has been connected immediately after it was turned on. So the second possibility seems rather unlikely. So the left possibility is that Airplane Mode AND WiFi were on at the same time. Strange, as Airplane Mode should disable all data connections. But I encountered exactly this strange behaviour once by myself. And as far as I remember, this combination results in a quite high drain. Maybe this is the reason for this high drain. Nevertheless, 11% per hour is way too much.
[Android General] marbertshere:
It's mediocre. You know what I realized after posting that is that I turned Sync off as well as Wifi ☺. So that may have been the reason I had much better battery life. I'm trying to limit everything that has to do with sync. But I will say that cell standby doesn't appear in my battery drain if I have Wifi off.

I have a question for you about reading BBS stats but I gotta get to a computer to post a screen grab.
[Android General] v7:
Yeah!It is the wlan_wd_wake keeping it awake.Try to reset the WiFi router and assign a Static IP for your phone.

Tapped from my furious dogo ;)
[Android General] v7:
Limit the

android.content.syncmanager.SYNC_ALARM to 3600 or 7200 according to your requirement.

Bad Signal can cause drain.It won't show up in battery stats but it actually drains much.

Tapped from my furious dogo ;)
[Android General] v7:
His drain has settled down.See his last post.

Tapped from my furious dogo ;)
[Android General] speedy56:
There you go :)

Mind you, Wifi was off (although the graph shows it was on all the time) and I've calibrated the battery in the meantime
[Android General] v7:
Greenify Viber.

Is Greenify whitelisted in PowerNap?

Now post a dump with WiFi ON.

Tapped from my furious dogo ;)
[Android General] speedy56:
Ok, will do it :good:

Yes, I have Amplify, Greenify, Smart Network, Viber and xposed installer whitelisten in Stamina mode (I have Sony device)

I'll leave the phone idleing during the night and post the dump tommorow ;)
[Android General] dingdong3000:
Hi again!

Soz for bit OT but i seem to have issues with BBS.. I've installed it as system app yet it appears to read statistics incorrectly sometimes.

There doesn't seem to be any problems with Gsam though everytime i unplug from full- it reads correctly everytime :/

Under BBS system app its

Battery_Stats granted

Dump granted

SELinux: Permissive

anyone have a clue why?
[Android General] Portgas D. Ace:
This question has been answered several times in the original BBS thread.
[Android General] dingdong3000:
Soz I'll have a look there..
[Android General] suaverc118:
Good morning [MENTION=5867207]vaisakh7[/MENTION]! Hope I did this right. I also hope their are a few other things I can do to improve my battery life. Thank you sir!
[Android General] suaverc118:
Crap, I just saw this post and posted a WiFi dump lol. Damn I need to read before I go to bed. I'll do an airplane mode one tonight. Thanks.
[Android General] Kappa Lamda:
[MENTION=5867207]vaisakh7[/MENTION] or anybody...

I use viber for some messaging.

There seems to be a problem with push notifications from viber when I greenify the app although I have the gcm option ticked.

If I do not access the app, I get no messages (like I'm offline) and when I open the app messages are coming.

Problem is that if I degreenify it, too many alarms(keep alive viber alarm).

I limited(3600) on amplify but I don't know if that messed with push notifications yet.

Anybody tried it already?
[Android General] Portgas D. Ace:
Screen On (): 23 m 14 s 2.5%

Post an appropriate idle dump.
[Android General] PIRATA!:
Do you guys say to use Servicely with conjunction with Greenify??

Tnx.
[Android General] suaverc118:
I give up. I took it after hours of the phone idle. Thanks anyways
[Android General] JanNegron:
Here's mine. Galaxy Note 4 Stock Root. :)

Only running Amplify and Greenify. No PowerNap.
[Android General] Portgas D. Ace:
I guess you have followed the recommended way to report dump files:

1. Open BBS and choose "Unplugged" as a start reference and "Screen On" OR "Current" as stop reference.

2. Charge your device to 100 and unplug the device from the charger approximately 15 minutes after percentage has reached 100%.

3. Leave it idle for at least 6 hours (Do not turn on the screen during this period).

4. Pull a dump file (.txt format) through BBS and upload it here.
[Android General] suaverc118:
I know, but he has mentioned before I can do one not charging all the wat up because I just flashed a custom ROM and want it to run a few battery cycles. He said to hit custom and I thought I did. But over a 6.5 hour period, my phone only dropped 2%. Ill try to kill this battery and charge all the way up and do an unplugged dump.
[Android General] v7:
Awesome :) Is your wear connected?

Limit android.appwidget.action.APPWIDGET_UPDATE to 3600 seconds.

Rest is all good.Cheers :D

Tapped from my furious dogo ;)
[Android General] JanNegron:
Yes, well the Moto was charging, I forgot to disconnect. And the android.appwidget.action.APPWIDGET_UPDATE is limited to that amount of seconds! :) Thank you men!
[Android General] EnderIII:
How does Sony's Stamina Mode stack up to these apps?
[Android General] v7:
PowerNap is Sony Stamina Mode for all OEMs.

Although PowerNap doesn't block data connection,it doesn't allow the apps to access any resources in the phone.The whitelisted apps are able to access data and run the services.

I was running Stamina Mode along with the rest of the Setup while I was on the stock LP on my dogo.

Tapped from my furious dogo ;)
[Android General] mvlad:
Is there a way to still block the messenger app without ruining gcm push?

Sent from my GT-I9105P using RR ROM
[Android General] mvlad:
It was greenefied when I sent the last bbs, yet it still opened a lot.

Sent from my GT-I9105P using RR ROM

Check out my work at: http://madalinvlad.net
[Android General] suaverc118:
So stamina mode is on when endurance is not checked correct? And whats the difference between the 2?
[Android General] v7:
Try to Limit the following to 40000 seconds:

*com.facebook.push.mqtt.keepalive.KeepaliveManager.ACTION_INEXACT_ALARM.com.facebook.katana

*com.facebook.common.executors.WakingExecutorService.ACTION.ALARM.com.facebook.katana.Mqtt_Wakeup

*com.facebook.common.executors.WakingExecutorService.ACTION.ALARM.com.facebook.katana

Tapped from my furious dogo ;)
[Android General] v7:
Use either Stamina Mode or PowerNap.There's no need to run both together as both of them serve the same purposen

Tapped from my furious dogo ;)
[Android General] suaverc118:
Well damn I didn't know that... I've been running both. Will results change if I keep power nap and use stamina mode?
[Android General] v7:
Use PowerNap and turn off Stamina Mode.

Tapped from my furious dogo ;)
[Android General] suaverc118:
Is this how it should look while using powernap? I have nothing that says stamina mode
[Android General] v7:
Hey,I'm talking about the feature of Stock Sony ROMs-Stamina Mode.

It has nothing to do with Power Nap.It is a stock mode available for Sony Devices only.

Tapped from my furious dogo ;)
[Android General] suaverc118:
Got it... I think. So should I click mine back to endurance then? I'm a little confused
[Android General] v7:
Yes!Set Endurance Mode ON.

Tapped from my furious dogo ;)
[Android General] lammpat:
Thank you for the detailed information.. trying different combinations, will post back feedback soon. :)
[Android General] néonaloj:
Under "Actions", you can find all the apps/services running on your phone, then it's up to you to decide if you can disable it or not. You must try and test, one by one!

The "servicely" thread.

I do use both.
[Android General] Culateralligator:
When I use the GPS with Google Maps the following message ( The Google Play Services application has stopped) appears about 10 times and I have to pick "Accept" each time to dismiss the message. After these 10 times does not reappear on the whole trip. Just when I change the address where to go they come again.

Driving by car it's very annoying because I have to press Mobile's screen a lot of times instead of having eyes on the road.

What should I change to avoid this?

Enviado desde mi GTi8160 KK AOSP
[Android General] jrbmed08:
Thank you for this very helpful thread!

I am using a Moto X 2014, and battery life is improving quite a bit. However, something I did with this has broken the camera and flashlight gestures. I've whitelisted almost all of the Motorola apps in Power Nap, so I think it's probably something in Amplify. Any ideas?

Edit: Tried disabling Amplify by unchecking it within the Xposed framework, rebooting, and it didn't fix my camera gesture. Same with Power Nap.

Edit 2: Went into the Moto app and disabled/re-enabled the gestures and now they work. Weird.
[Android General] lebron92:
Hi I have left my phone overnight and this time didn't use it. Are there any new problems I have to fix?

Appreciate it. Cheers

Matt
[Android General] v7:
Have you blocked any Location "Services" in Amplify or MyAndroidTools?

Tapped from my furious dogo ;)
[Android General] v7:
Have you limited the alarm I mentioned in the last post to you?

If so,Amplify isn't blocking things.Reset all alarms and wakelocks in Amplify and reinstall it.

Next time when you take dump,keep Wifi running during the idle period.

Tapped from my furious dogo ;)