yashsingh1/xdaforums huggingface dataset:
[Android General] ClownShoes:
Hey SoulReaver75, can you do me a favour and see if you get the same behaviour if you have wifi off?

I've been doing some tests due to an unnaturally large drain while on wifi and I realised my battery doesn't stay on 100% like that if I have the wifi off. It's really weird!

---------- Post added at 06:19 PM ---------- Previous post was at 06:12 PM ----------

@vaisakh7

As mentioned above, I'm having a real issue with my wifi that I'm trying to troubleshoot.

My phones sleep time is atrocious. If I leave my wifi on, I get 20% awake time when idle, whereas if I switch off wifi and leave data on (not changing anything else) my awake time is only 4-5%

No idea how to work out what is causing this. Any chance you could help troubleshoot? :(
[Android General] v7:
Do you have an Idle dump?Does anything pop up in BBS stats that seems to keep your device awake?

Tapped from my furious dogo ;)
[Android General] ClownShoes:
There's nothing I can clearly see keeping it awake, but the difference between having wifi on or off is immediate and obvious

I've attached one log with wifi on and one with wifi off

The second log has more stuff amplified on it, however even with my current settings, if I were to switch on wifi now, if I checked back in an hour, my awake time will have skyrocketed

I just can't pinpoint what it is that's blasting the wifi connection and not the data connection
[Android General] v7:
1.Do you have a screenshot of the built in battery stats? What is the top consumer there?

2.BBS doesn't seem to show the culprit.Can you use Gsam and see what it says?

3.Have you tried to connect to a different WiFi AP?I mean in your office or somewhere else?

4.Does this happen only while you follow the Setup in the OP?Have you tried on a fresh start? Clean wipe without my setup?

Tapped from my furious dogo ;)
[Android General] ClownShoes:
1. A screenshot of the built in battery stats doesn't actually help much as this extra awake time isn't causing a significant enough additional drain on the battery to be noticeable unfortunately

2. I'll give GSAM a blast for a few hours this evening

3. any WIFI ap I connect to gives the same result, both at home and at work, on both 2.4ghz and 5ghz connections

4. Yeah, it happens whether or not I am using the setup from the op or not.
[Android General] SoulReaver75:
Ok, but I will not charge it tonight, I'm still at 65% battery.

---------- Post added at 08:54 PM ---------- Previous post was at 08:49 PM ----------

Hi.

I've been gogling and trying, but without result.

I also tried to disable powernap, but it does the same: no phonebook on radio until I switch on the screen on the mobile.

Greenify does not have so many options to look into...
[Android General] zelleb:
Try whitelisting Bluetooth extensions in power nap?
[Android General] dingdong3000:
Here's another BBS stat from last night with Power Nap.. I lost -5.8% on BBS and GSM recorded 0.3% throughout :/ . I think Power Nap has really helped my phone heaps though i'm not too sure why BBS has those statistics haha

Check out the BBS dump and let me know what else can be tweaked but i think its all good no [MENTION=5867207]vaisakh7[/MENTION]?

Cheers!
[Android General] v7:
The stats aren't helpful.You have take the wrong dump.I think you've messed up with References.Read the FAQ.I've explained how to set the reference points before taking the dump.

Tapped from my furious dogo ;)
[Android General] v7:
Can you disable Amplify and try?

Tapped from my furious dogo ;)
[Android General] v7:
Have you tried different ROMs?Just to confirm that this isn't a Kernel issue.

Tapped from my furious dogo ;)
[Android General] gregferns:
Hi [MENTION=5867207]vaisakh7[/MENTION]

Can you please see these BBS stats ??

Advise if anything needs to be done... I think i've carried out all instructions from OP.

Thanks in advance.

Greg
[Android General] v7:
Amplify doesn't seem to limit things.Are you sure you've followed the OP correctly.

Post me a log from the Xposed Installer.

Tapped from my furious dogo ;)
[Android General] gregferns:
Here's the ERROR.LOG from Xposed.

Hope it helps....

thanks in advance

Greg
[Android General] v7:
Amplify doesn't seem to work.Make sure Amplify is granted with proper Superuser permissions.Reinstall Amplify, activate the module and Reboot from thr Xposed Installer app.

If it doesnt work,Try the fix mentioned here
[Android General] gregferns:
Ok Thanks.

I'll try that...

On another thought,, i think when i flashed the clean rom, i installed Amplify and then restored its data via TB... so maybe that is what has caused issues...

If it still doesnt work then i will clean install again... (or i'm thinking i;ll just do a clean setup again and this time no restoring backups .... just plain installs on wifi....)

Let me see...

Thanks for your help...

greg
[Android General] v7:
That might be the issue.Clear the data of Amplify.Uninstall and reinstall again.Activate the module,reboot from the Xposed Installer app.

Upon boot,open Amplify and Grant Superuser permissions.

Tapped from my furious dogo ;)
[Android General] duckiee92:
Hi, I've done all of the steps mentioned as far as i can. Here is my battery stats from last night. I'm not sure if I had done it correctly. Thanks a lot for this guide. :)
[Android General] Portgas D. Ace:
Well, 1.1% per hour battery drain is quite high. Limit the following two alarms to 43200:

com.whatsapp.messaging.MessageService.CLIENT_PINGER_ACTION

com.whatsapp.alarm.CLIENT_PING_TIMEOUT
[Android General] dingdong3000:
I don't know why i'm having issues with BBS. The very first stat was fine i thought so dunno what has changed :/

WHoops haven't installed as system app XD
[Android General] Portgas D. Ace:
Yes, BBS has to be installed as system app to access battery stats properly.
[Android General] haseogu:
This is my new dump https://www.dropbox.com/s/hlm7l3gwjhk0qlj/BetterBatteryStats-2015-07-17_105014398.txt?dl=0

Sent from my X9076
[Android General] dingdong3000:
Cheers!

I have several phones and all installed as system app its been that long i totally forgot hahah
[Android General] Portgas D. Ace:
11% battery drain per hour while phone was idle?? :eek: Either you have a **** battery or you have done some real crazy stuff. Did you have had Bluetooth enabled during idle period?
[Android General] duckiee92:
Done! I'll try a battery stat test tonight and post it tomorrow. Thanks!
[Android General] Genericxx:
"com.chrome.beta/com.google.ipc.invalidation.ticl.android2.ticlservice" and "com.chrome.beta/org.chromium.components.invalidation.InvalidationClientService" Services are driving me nuts. Anyone got useful hints if they can be disabled?
[Android General] beany>:
Don't forget there is a BBS flashable zip, so at least you don't need the extra reboot.
[Android General] cisco89:
Can I límit this alarma?? com.android.deskclock.ON_QUARTER_HOUR thanks un advance

Enviado desde mi fnac 3.0 10 Plus 3G mediante Tapatalk
[Android General] Portgas D. Ace:
For sure, you can limit it. But it will definively break functionality, so it is not recommended to do so ;)

It is an intent to be used for checking if a world clock's date has changed. Must be every fifteen minutes because not all time zones are hour-locked.
[Android General] Rix70:
guys i don't find AndroidSystem in tha apps list for add it in the whitelist...

Please, what I do?

Thanks

edit: sistema android...i'm italian :p I found it!!
[Android General] PIRATA!:
I know it's OT, but my BBS it's completely empty and it doesn't show nothing.

I have it installed in priv-app but can't use it.

Maybe that flashable zip fixes this?

Have any links?
[Android General] Portgas D. Ace:
Doesn't a full reboot solve this problem? Normally there are no stats shown until a full reboot after installing BBS as system app.
[Android General] Aroch925:
Heres my stats. Lmk if theres anything I can do to make this better
[Android General] v7:
Do you have any Bluetooth device connected to your phone?Was your Bluetooth ON during the idle time?

Tapped from my furious dogo ;)
[Android General] Aroch925:
Yeah I have a pebble that I use all the time
[Android General] v7:
That's the cause of this drain.

Tapped from my furious dogo ;)
[Android General] v7:
There's something wrong about the stats.Did you notice that [MENTION=5901790]orville87[/MENTION]?

The stats are since

8h 6m but the Deep Sleep time is 8h 19m and the Unknown Signal time is 8h 24m.

[MENTION=4863289]haseogu[/MENTION] Anyway,the drain is drastic.Do you have a very bad cell reception at home?Can you share a screenshot of the built-in battery stats page?

Tapped from my furious dogo ;)
[Android General] v7:
Have you greenified Chrome? Try that.

Post me a full dump later.

Tapped from my furious dogo ;)
[Android General] v7:
Is Superuser access granted for BBS?You'll have to install BBS a system app,reboot and install the apk again on top of the first one.It'll work then.

If it doesn't, move the apk to system/priv-app,fix permissions to 644 and Reboot.

Tapped from my furious dogo ;)
[Android General] suaverc118:
Good morning [MENTION=5867207]vaisakh7[/MENTION]! This is my dump from last night with data on. Thanks for all you do good sir!
[Android General] suaverc118:
Oh and my sister sent a stupid FB messenger text in the middle of the night and I didn't see until I got up, so blinking lights probably drained my battery too. But since I woke up and started using my phone, its dropped 7% in less than 20 minutes.
[Android General] v7:
[MENTION=4551715]suaverc118[/MENTION] The stats are clean.Nothing to worry.I'm pretty sure you'll get much better results on WiFi.Cheers :)

Tapped from my furious dogo ;)
[Android General] Genericxx:
Yep, Chrome Beta is greenified. Dump will come tomorrow. Will charge device in the evening and let it idle over night to get useful stats.
[Android General] beeshyams:
[MENTION=6542205]Culateralligator[/MENTION] [MENTION=4503514]LiL_Assassin[/MENTION]

Batteries are designed to do that !!! For their own good. More here http://xdaforums.com/showthread.php?p=9777867
[Android General] sochansam:
Is there a tip in handling the WifiOffDelayIfNotUsed wakelock? It always shows high in the stats.
[Android General] PIRATA!:
No, this is something I have since a few days, and I have made several reboots.
[Android General] v7:
It's a Kernel related wakelock.It cannot be limited/disabled.What device and ROM do you have?Does it cause any drain? Post me a dump.

Tapped from my furious dogo ;)
[Android General] speedy56:
I dont understand why I have such big drain :(

Im using Amplify and Stamina (Sony device, white-listed - Viber, Amplify, Smart Network, Greenify, Xposed).

BBS doesnt show much alarms and wkelocks, in fact, its all pretty clean (just an ordinary Viber Keep_alive_receive; btw - should I limit it to 240s or something like that? :confused:), thats why this "cell standby" doesnt make much sense to me... As you can see in the screenshots atttached, the mobile signal was very good while Wifi was on.

I appreciate any help :o
[Android General] v7:
Read post #2165

Tapped from my furious dogo ;)
[Android General] suaverc118:
Thanks!! What i want is to be able to have my phone sleep 100% at night for 6-8 hours like I used to before LP changed a few months ago. I'm on the latest bliss with Zane's boeffla kernel. I didn't have a lot of your alerts or wake ups mentioned in the OP, but I had quite a bit of alets and wake ups. Anything else I can do? Greenify, amplify and privacy guard. Thanks for your work.
[Android General] v7:
Hmm..that's weird.I think your battery is almost dead.How old is it?

Tapped from my furious dogo ;)
[Android General] v7:
From the stats,there's nothing to tweak.Everything seems perfect.Using WiFi instead of mobile data can definitely reduce the idle drain but being said that you've bad WiFi reception in your room,this is it!

Maybe you can try to switch to 2G during night. Cheers :)

Tapped from my furious dogo ;)
[Android General] speedy56:
About a year, the phone is a bit older but the housing, screen and the battery were changed under warranty last year
[Android General] v7:
Not sure if it's related to your Kernel/ROM.Post me a dump in Aeroplane Mode later.Let's see if it's related to your radio or WiFi.

Tapped from my furious dogo ;)
[Android General] haseogu:
Yeah i have Bluetooth enabled for notification from mi band. Also I reboot several time before take the dump stat

Sent from my X9076

---------- Post added at 10:33 PM ---------- Previous post was at 10:30 PM ----------

I think it's because I restart the device several time before leave the phone idle. I also take the dump from unplugged state. I use Bluetooth too for mi band

Sent from my X9076
[Android General] PIRATA!:
I have it in priv-app with that permission, but I installed it the regular way, not copy/past in that folder.

This is what I get:

I assume that underneath the drop-down menu where "Alarms" is selected, there's the "from" drop-down menu, and at its right the "to" drop-down menu.

I case, I don't have any "from" and have only the "Current" in the "to" menu as you can see.
[Android General] v7:
Charge to 100% and post me a dump later.

Tapped from my furious dogo ;)
[Android General] v7:
Uninstall BBS and try to move the app manually as I explained in the last post.

Tapped from my furious dogo ;)
[Android General] suaverc118:
So what do we do about mobile radio active draining battery? I have messenger, Google services, instagram all taking at least 1 hr 50 mins plus each
[Android General] v7:
It's because you've Mobile Data on and those apps have permission to access the Internet.From your dump it is clear that the mentioned apps doesn't drain.

Tapped from my furious dogo ;)
[Android General] SoulReaver75:
That article says the opposite of what happened to me with my last 3 mobiles, my 100% value stays there for looong time, without bump charging.
[Android General] suaverc118:
Would you recommend doing anything to some of these that are very high? They were not mentioned in the OP but are high in wakelocks and time. And if so, what seconds should I try?
[Android General] v7:
Which wakelocks are you mentioning?

Tapped from my furious dogo ;)
[Android General] suaverc118:
Crap I forgot to add a picture. Geez. Ha!
[Android General] v7:
High numbers in Amplify doesn't mean that it drains.Refer BBS to track down the culprits.

From your screenshot,Limit LocationManagerService according to OP.

Tapped from my furious dogo ;)
[Android General] animehawk82:
Help [MENTION=5867207]vaisakh7[/MENTION]

When i try to log in something, be it facebook, yahoo, gmail ill get "unfortunately google play services has stopped working"

Do u have any idea how this is connected to it? I still use myandroidtools so i dont know what i did wrong.

Thanks fr help
[Android General] dingdong3000:
Using 2G with wifi on throughout.

Looks real sweet but just hope I don't stumble to anything that don't work like alarms, bluetooth and such.

Cheers!
[Android General] v7:
What all have you disabled using MyAndroidTools?

Tapped from my furious dogo ;)
[Android General] v7:
Yeah!You're right.It is indeed sweet.No more tweaks needed.Enjoy your battery life.Cheers :)

Tapped from my furious dogo ;)
[Android General] madboymatt:
There are a couple of wakelocks that I'm wondering if I can safely amplify them. And If so, for how long?

Checkin Service

ConnectivityService

DHCP

ProximitySensor

Thanks.
[Android General] v7:
Do they show up in BBS with high counts?

Tapped from my furious dogo ;)
[Android General] madboymatt:
They also show up in amplify, indicating quite a bit of time.
[Android General] v7:
Have you disabled the Keep Awake permission of GooglePlayServices and GoogleServicesFramework in AppOps?

If not,do that and see if the Checkin Service shows up in BBS again.

If already done,disable the following receivers using MyAndroidTools

*com.google.android.gms.checkin.EventLogService$Receiver

*com.google.android.gms.checkin.CheckinService$TriggerReceiver

*com.google.android.gms.checkin.CheckinService$Receiver

*com.google.android.gms.checkin.CheckinService$ImposedReceiver

*com.google.android.gms.checkin.CheckinService$ActiveReceiver

*com.google.android.gms.config.ConfigFetchService$PackageReceiver

*com.google.android.gms.checkin.CheckinService$SecretCodeReceiver

Limit ConnectivityService to 3600 seconds.If any issues occurs,unlimit it.

Tapped from my furious dogo ;)
[Android General] madboymatt:
What does disabling all those receivers do?

And yes, I have disabled the keep awake on both Google play services and Google service framework.
[Android General] v7:
That'll get rid of the Checkin Service wakelock.

Tapped from my furious dogo ;)
[Android General] beeshyams:
[MENTION=5867207]vaisakh7[/MENTION]

Nearly 13 hours with zero battery drain, yes you read that right

Vaisakh, thanks to your guide and continuous support reached this magic figure. Suggest you put this in OP or some place suitable as a testament of your efforts

Thanks again

Stats here

https://www.dropbox.com/s/dwnwo8rinli5jry/BetterBatteryStats-2015-07-18_074231758.txt?dl=0
[Android General] Ramer:
Did it yesterday!
[Android General] jhuff83:
I'm getting some google play services force closes every now and then. Anyone else?
[Android General] milojoseph:
It happens for s5 some reports says

Sent from my SM-G900T powered by Alliance Rom and ktoonsez kernel
[Android General] v7:
Thank You so much [MENTION=2674887]Ramer[/MENTION] for supporting my work and donating :)

Cheers Bud!

Tapped from my furious dogo ;)
[Android General] adm1jtg:
I get some occasionally as well, its not the amplify changes as i hadnt implemented them till today but got the fc's before. Probably from using powernap and not whitelisting any of the google services
[Android General] v7:
Add GooglePlayServices and GoogleServicesFramework to Power Nap whitelist.

The wakelocks caused by whitelisting these are blocked using Amplify.They work as a great combo.

Tapped from my furious dogo ;)
[Android General] v7:
Why? You don't wanna try Xposed?

Tapped from my furious dogo ;)
[Android General] tuan2195:
Awesome work, OP! Waiting to get approved to the PowerNap testing but so far so good. My question though: I cannot find a lot of the services you mentioned in Amplify, more than half of them are not even there. Should I be worried? Or just deal with it? Thanks a lot!
[Android General] v7:
The mentioned services depends on apps you use.So deal with the ones you have.

Tapped from my furious dogo ;)
[Android General] nostrings:
It's a kludge of a thing, and I like things to be lean and mean.
[Android General] jhuff83:
Did that and still received a couple more. Was getting them before power nap was even installed.
[Android General] v7:
Disabling ads.jam.Negotiationservice causes GooglePlayServices crash on every boot.It has no side effects anyway.
[Android General] nfnb.android:
Those apps have been very useful for me. But I hope app developers design their app to be as battery efficient as possible *cough fb cough*. And it sure would be great if we'd see some improvement in the batteries themselves..
[Android General] v7:
Let's stop hoping and start finding our way to live ;):D

Tapped from my furious dogo ;)
[Android General] v7:
Minor change in OP

Re-enabled Auto Start permission for GooglePlayServices( PlayServices freezing on boot)
[Android General] dave7802:
Beautiful thread and lots of information, I especially like the sound of Power Nap :)

A small question, i attempt to keep monitoring apps to a limit, Purely because it has to run in order to monitor it.

Seems like alot of extra tools, Surly thats going to have an effect on the battery its self is it not.

Currently i run BetterBatteryStats and Greenify.

Detect the wakelock using BatteryStats, Then Resolve or hibernate.

I just have in my head, that the extra tools / app may help shave 15-30% battery, while the extra apps may consume 15% themself.....

Is everyone here using all the apps?

Am still going to give it a whirl the OP has spent far too much time with notes and links to not give it a try.

Just airing my thoughts out aloud.
[Android General] klmiciano:
Can I use WSM Tools for this? I'm on MIUI V5 and Xposed Installer is not compatible with this current OS. Waiting for your reply
[Android General] ansaziz777:
This issue is due to Google service framework issue,

Method. 1:

Install Google PLAY services,restart and check

Method 2 : Root Required

Copy Google play services and Google framework to /system/App and Give permission -rw-r-r-

Method 3: Root Required (This is not your prob,for future reference)

Delete the host file from /system/etc
[Android General] HAVOK83:
Great info. Thanks
[Android General] v7:
This is insane!

Even though the data was off,13 hours without losing a single % of the battery is awesome.

Cheers :victory: :highfive: ;)

Tapped from my furious dogo ;)
[Android General] beeshyams:
That's probably because you keep the phone on charge for a while after being fully charged. This results in phone getting trickle charged like some apps do

If you disconnect charger once it is fully charged, you should expect different neighbour behavior

Let me know if I am correct. Thanks
[Android General] madboymatt:
Fair enough, but is that a wakelock that I need? Will I lose any function?

Thanks.
[Android General] v7:
It shouldn't break anything.

Tapped from my furious dogo ;)
[Android General] madboymatt:
Beauty! Thanks.
[Android General] animehawk82:
http://xdaforums.com/showthread.php?p=61338261
[Android General] abdhad96:
Hi

Okay...so i charged my phone till 100....

Then powered off for around 8.5 hours....then when I turn it on...its 95%

Meaning I am losing close to 1% each hour...which I think is bad..

Is my battery bad? Its 18months old has it got anything to with battery life .

And also I am running cm12.1 ROM on Smn900 maybe the bootup took charge? I don't know..

But my friends followed your guide with same ROM same device...gets 22days more remaining in battery..

Help mee :((
[Android General] v7:
You gotta be kidding me :what:

If all the services are disabled then what is the use of the phone?

This is clearly overkilling.Disabling the wrong services can cause more issues than with it running.

Revert all changes made and Keep my setup from the OP.

Tapped from my furious dogo ;)
[Android General] v7:
Read the FAQ in post #4 on how to report logs.

You shouldn't turn off the device after charging to 100%.Leave it untouched for atleast 6 hours.Keep WiFi/mobile data Active during the idle period.

Post me a dump according to the FAQ.

Tapped from my furious dogo ;)
[Android General] animehawk82:
Haha.. Ok I will.

You are the expert:D

Edit: The issue was solved. Thanks
[Android General] speedy56:
I left the phone on airplane mode during the night, this is the result

Thank you for your help :good:
[Android General] v7:
You seem to charge the phone in between and your WiFi was running.

Charge to 100%.Leave the phone in Aeroplane Mode for atleast 4 hours.Keep WiFi off.Post me a dump later.

Tapped from my furious dogo ;)
[Android General] v7:
[MENTION=6285129]beeshyams[/MENTION] donated me for a second time.I'm overwhelmed by the support you people give me.Many thanks to you bud!

I doubt if I deserve this :) Thanks again :)

Tapped from my furious dogo ;)
[Android General] beeshyams:
Of course you deserve [MENTION=5867207]vaisakh7[/MENTION]
[Android General] SoulReaver75:
Yes, you're right. ;)
[Android General] beeshyams:
Thanks for confirming
[Android General] pillopoulos:
I see that my kernel keeps my device from not getting into deep sleep. What could I do about that?
[Android General] v7:
How about posting a full BBS dump here.

Tapped from my furious dogo ;)
[Android General] suaverc118:
Flashed an updated blisspop and wanted to post a new dump. Lost 5% over 6.5 hours I believe. Thank you sir
[Android General] v7:
Reinstall BBS from the XDA thread.

Stats seems fine.Data Connection was off right?

Tapped from my furious dogo ;)