yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] dchinu:
Hum i traced it to

android_device_xiaomi_cancro/rootdir/root/init.qcom.rc

https://github.com/CyanogenMod/android_device_xiaomi_cancro/blob/cm-12.1/rootdir/root/init.qcom.rc#L906

I will forward it to Maintainer. So you basically suggesting i charged it to 100% > Reboot while connected > Unplug when in home screen. Any way i uses Nova Prime not trebuchet.

This is current log, In this order : i rebooted > use the phone till drained > Charged full > Left at home for 6 hours. I will try to get one as suggested next cycle.
[BetterBatteryStats] Perseus:
Please review [MENTION=4355376]Karpfenhai[/MENTION]''s suggestion here.

Essentially, you need to install Android Tuner app to follow those guidelines and essentially uncheck those receivers that have the word GCM in their name. Make sure to do a Nandroid beforehand. After you follow his steps, reboot and then observe BBS Alarms for GCM related alarms.

In addition go to advanced Wireless properties and change "Keep Wireless On" to never.

Good that you don't use Trebuchet. But just this time switch to something else like Apex for ex, Just for testing.

This latest log was an inuse log. So not very helpful to me.
[BetterBatteryStats] caloyzki:
Which is better to install from the OP The RC6 or just the regular bbs?
[BetterBatteryStats] _jis_:
The latest/final version is 2.1.0.0. Versions 2.1.0.0_RCx are release candidates - previous versions of 2.1.0.0.

But if you asked because you have RC6 installed, then is no need to install 2.1.0.0, because there is no changes from RC6 (only version info is different).
[BetterBatteryStats] caloyzki:
Thanks. Which one do you used?
[BetterBatteryStats] _jis_:
2.1.0.0
[BetterBatteryStats] caloyzki:
How come wifi running is 100? I dont even tried to turn on my wifi today. Is that normal?
[BetterBatteryStats] shaggyskunk:
Go to Settings - WiFi - Advanced and turn off Always Scanning ?

Sent From my SM-N910W8 Running SlimRemix V5.3
[BetterBatteryStats] caloyzki:
I dont see that on my phone. I have nexus phone.
[BetterBatteryStats] shaggyskunk:
Ok - Well Turn Off WiFi even During Sleep

Sent From my SM-N910W8 Running SlimRemix V5.3
[BetterBatteryStats] drezz2:
what is the difference between No data connection" and "No or unknown signal" ? set the same value
[BetterBatteryStats] angwar90:
Thanks i guess my problem is solved. Lost only 5% which is totally fine ☺

I had to uninstall Gmail though. It kept giving me "playservice error" and inbox was force closing. Everything else seems to work just fine.
[BetterBatteryStats] Perseus:
Yeah that is to be expected. If you were to reinstall Gmail, it might prompt you to reinstall Google PlayService.

Were you listening to google play music ? If not then you might want to remove it. Burn bit of battery by downloading 1 MB or so.
[BetterBatteryStats] angwar90:
I did listen to some music while it was plugged in but I finished before unplugging. I'm currently subscribed to google play music but I will remove it after that for sure. Thank you for your help and suggestions!
[BetterBatteryStats] Perseus:
You don't have to remove it if you are using it. I was just offering an observation.
[BetterBatteryStats] BarrOff:
Thank you for this great app! It has helped me quite a lot.
[BetterBatteryStats] cdzo72:
Not exactly clear on how to adapt thus guide to work with the Autostarts app. .. any help guys
[BetterBatteryStats] Perseus:
Essentially, you install System Tuner app. Open All startups, look for Google Play Services and Google Shared Framework. Under Receivers, you will see a list of items, checked or unchecked. You are going to uncheck those that [MENTION=4355376]Karpfenhai[/MENTION] suggested.
[BetterBatteryStats] cdzo72:
Thanks for the reply Perseus but the situation is that on all my devices running Lollipop when I install the System Tuner app and enables the "All" switch to show everything the app crashes. That's why I asked if maybe the guide could be updated to reflect newer version of the app or other app altogether
[BetterBatteryStats] azeem40:
Here are my stats. Idk how deep sleep battery stats help in diagnosing battery drain when you're using the phone, but whatever. Any help is appreciated.
[BetterBatteryStats] YLNdroid:
Logcats missing, or not registering?

Hello everyone.

I am currently using the 2.0.0.0 version [XDA Edition] of the app on my Samsung Galaxy Note GT-N7000; which has a custom TouchWiz Ice Cream Sandwich firmware and kernel installed on it. (Attached screenshots 01 and 02)

Within Settings > Advanced;

Debug

and

Private storage

features are enabled, and Settings > Advanced > Sharing options;

Text (Share dumpfile as text)

and

Logcat (Share logcat)

features are also enabled.

However, the folder; com.asksven.betterbatterystats neither exists within sdcard/Android/data, nor within external_sd/Android/data, and as such, I am unable to procure/register a dumpfile or logcat. (Attached screenshots 03 and 04)

I await your suggestions.
[BetterBatteryStats] Mika83AC:
Hey everyone,

is there a recovery zip available for the latest version of BBS which is compatible with Marshmallow? Can't install it as system app so have to flash it via recovery but can't find an up to date zip.

Thx
[BetterBatteryStats] shaggyskunk:
just copy BBS to System Priv-App - Fix Permissions - Reboot - Works perfectly on my Nexus 7 running Octos 6.0 MM

Sent From my SM-N910W8 Running SlimRemix V5.3
[BetterBatteryStats] Mika83AC:
What are the right permissions for this? Thx
[BetterBatteryStats] shaggyskunk:
Sent From my SM-N910W8 Running SlimRemix V5.3
[BetterBatteryStats] leAndroid91:
Nexus 5X some services are killing my battery

Hi guys,

my device is a rooted Nexus 5X with newest google image and ElementalX kernel.

The kernel setting are stock except the speaker volume.

In general i'm ok with the battery performance. But at somepoint (yesterday and today) something called *net_scheduler* is keeping my device awake and draining the battery. In that 32minutes it took 10% of the battery (see BBS dump).

The device becomes warm when the *net_scheduler* is on the top ranking for Wakelocks and it won't stop by itself. I have to reboot my device and a few hours later it again starts to drain my battery.

In addition i'm wondering what is PowerManagerService.WakeLocks.

Is there any way to stop

- com.google.android.gms (): Wakeups: 810 (59,2 / h)

- com.facebook.orca (): Wakeups: 355 (25,9 / h)

- com.facebook.katana (): Wakeups: 350 (25,6 / h)

- com.instagram.android (): Wakeups: 216 (15,8 / h)

- com.whatsapp (): Wakeups: 209 (15,3 / h)

from producing this huge amount of wakelocks without uninstalling/deactivating the app?

I would like to get notifiactions if someone's texting me etc.

Btw. what is com.google.android.gms. It's producing an alarm every minute :eek: and what is *net_scheduler* and how may i stop it?

Please find attached the BBS dump.

Thanks in advance for your support!
[BetterBatteryStats] TNSMANI:
Install Amplify. You have to have Xposed for that. And go through this: http://xdaforums.com/android/general/guide-0-0-hour-idle-battery-drain-stock-t2973588

Limit *net_scheduler* and the others according to the OP.
[BetterBatteryStats] leAndroid91:
Thanks for your reply!

Even with greenify running the *net_scheduler* started to drain my battery again a few moments ago.

It looks like it's running out of control about every 24h.

Reboot is the only way to stop it as far as i know.

I just tried to install the Xposed framework.

But the installer tells me that my device is not compatible due to android sdk 23 or arm63-v8a processor.

May i run the classic installation where /system will be modified directly or is this going to mess up my device?

Thanks again pal! :good:
[BetterBatteryStats] TNSMANI:
This is OT here. Let us discuss this in the Xposed thread.
[BetterBatteryStats] MrDoreth:
need a dutch translation?

If you will PM me if I find some spare time I will get it done
[BetterBatteryStats] xn0live:
only

Screen On (): 1 h 19 m 44 s 4,6%

why? WHoc can checked it please and can help
[BetterBatteryStats] chamonix:
Thanks for wanting to contribute. Please see the OP for details on contributing translations
[BetterBatteryStats] TNSMANI:
Weren't you using the phone?

WhatsApp, kik etc were running and downloading stuff.
[BetterBatteryStats] Perseus:
Net_Scheduler is essentially a network controller for Google Shared Services and now Google Play Service. Its what connected apps are programmed to use for net access. In this case I see Crapbook and 9Gag as the guilty party.
[BetterBatteryStats] RalphieBoyee:
How do I attach the dump file to these post? Is there not an attachment button?
[BetterBatteryStats] mdamaged:
In a new post, scroll down and click Manage Attachments. In an existing post, Edit, Go Advanced, scroll down, Manage Attachments.
[BetterBatteryStats] RalphieBoyee:
Thanks for responding but I do not see manage attachments anywhere. Do I need to change my account setting or something?

I see post icons down below and that's it.
[BetterBatteryStats] mdamaged:
You have to hit the Post Reply button first. It may not appear before 10 posts, in which case, just paste it to pastebin.com then submit it, then post the link, or get 4 more posts. Or you're using that horrible tapatalk crap.
[BetterBatteryStats] RalphieBoyee:
Pardon my ignorance but am new to XDA. I installed Blisspop on my LG G2 and love it but the battery started draining over night pretty radically. I was losing about 2-4% and now it's up to 10-12%. I installed BBS, attempted Amplify but got Xposed errors for install. Can someone please take a look at dump file and help me out?

https://drive.google.com/file/d/0B_ui7DE2ukPVR2ZhX2JCR19OTFk/view?usp=sharing
[BetterBatteryStats] mdamaged:
Even though that is not really a dump that is helpful (see the OP on how to provide a proper dump, i.e. fully charge, let device sit for 3-4 hours without using it at all), 1.5%/hr is not terrible, but that is based on a dump of the device while being in use (even though it's only a little use). So, please provide a proper dump, but otherwise the dump tells me you don't have that much of a problem, it could be better, you do have apps which use syncing, you can uninstall those to get better battery life. There's some services you can try to greenify, somewhere in this thread is a how to on which are safe to disable etc.

If possible get on a Marshmallow ROM, the battery life for MM is way better (doze).
[BetterBatteryStats] eddi0:
Ok, about 3 hrs 25 mins post charge no use, any way to squeak out more efficiency?

https://docs.google.com/document/d/1umvBEKvu1GvdCdj64tH33YFP972Gs7sMfxbhkOouvGQ/mobilebasic

Going to do an overnight as it was a lot worse overnight than in the this time period.
[BetterBatteryStats] mdamaged:
"You need permission

Want in? Ask the owner for access, or switch to an account with permission. Learn more"
[BetterBatteryStats] eddi0:
Confused, can you clarify please?
[BetterBatteryStats] mdamaged:
That's what I get when I click on your link.
[BetterBatteryStats] RalphieBoyee:
Sorry about that, here we go...

https://drive.google.com/file/d/0B_ui7DE2ukPVR2ZhX2JCR19OTFk/view?usp=sharing
[BetterBatteryStats] mdamaged:
This is the exact same dump in which I already commented on, where I requested a proper dump. And why am I getting replies from 2 different XDA accounts?
[BetterBatteryStats] PeQuEsan:
Please don't forget this [MENTION=1330150]chamonix[/MENTION]. :)

Thanks a lot.
[BetterBatteryStats] tsiftsism:
I updated my device yesterday to latest CM13 Nighlty and the Android OS drained the battery. From 7:00am-4:00pm the battery level dropped to 56% while for the same period and same phone usage with CM12.1 Nightlies the battery level was almost everyday @82-83%.
[BetterBatteryStats] Perseus:
Typically we aim to reduce Idle Drain so that the drain is what's caused by usage. Hence it is necessary to post an Idle Log. An Idle log is one where you leave the phone alone for at least 5 hours and then pull a log. The one you posted here is an In-Use log. Its difficult to make a determination based on that.

At a high level, I see that Google Fitness is wanting to know your location. Possibly you have set it that way ? This is one of the reasons. Google Account Sync is another one. Weak signal on Data is another reason.
[BetterBatteryStats] tsiftsism:
I'm charging my device right now and see what is going to happen with the same setup tomorrow. In case the behaviour will be the same. i'll post an Idle Log.

Thanks for pointing those three reasons (Fit, Google Account and weak signal), even thought i can't understand this kind of behaviour. Nothing have changed, everything is exactly the same with the settings while i was using CM12.1.

And as for the signal on Data, when i'm on the office the signal seems to be strong! I can't understand why it's looks like it's week.

Thanks a lot for replying.
[BetterBatteryStats] Perseus:
Even if the setup is same, apps get updated and change their behaviour. Those with mothership calls (Fit, Sync) tend to hog especially large volume is to be transferred. Where signal is concerned, it can be deceptive depending on the last Tower Lock you've had. I'd toggle Airplane mode for 2 minutes and then check the signal strength. The wakelock occurs when phone is either struggling with a tower lock (Tower too far fade In/Out).
[BetterBatteryStats] Clark Joseph Kent:
That is called an ooopppsss. But nevertheless, being addressed, the duplicate accounts, as per Forum Rules.
[BetterBatteryStats] Quolli:
I flashed Chroma and the HellsCore kernel on my phone yesterday. Doze looks like it kicks in but I'm still getting awful drain on stand-by. Can anyone spot anything which is giving me this terrible drain? Others have said that on the same setup they get <5% drain overnight (read: 8 hours), but I'm getting 8% loss in 5 which is abysmal!
[BetterBatteryStats] Perseus:
I see Crapbook, Google Sync and Google Fit as the guilty party. I see 1.9 % Drain in your report.
[BetterBatteryStats] bixi:
Hi guys, I've a problem with the installation of this app. I'm on a cm 12.1 with a galaxy s2. I've installed the app with the apk, next when i open the app it ask me to install it as a system app. I confirm the request and next i reboot the phone. When i try to open the app again it tell me "battery_stats granted dump granted this is a companinon app to betterbatterystats...." and there is the button uninstall...how can i do? Thank you
[BetterBatteryStats] IronTechmonkey:
If you research the thread you'll find this described frequently and in greater detail but the short of it is: Install BBS apk, From within BBS install as system app (this seems to be where you stopped), reboot device, install same BBS from same APK as in first step. If this fails and your installation has gotten jumbled you can uninstall the app and use the remove BBs zip in the OP of this thread to clean up the system component and start over.
[BetterBatteryStats] *Zapp*:
Search? (this thread)
[BetterBatteryStats] bixi:
Thank you. Now it work...
[BetterBatteryStats] TNSMANI:
And your mobile signal is awful.
[BetterBatteryStats] Genericxx:
Is it necessary to exclude bbs from marshmallows battery optimization to work properly?
[BetterBatteryStats] paolobacci:
Hello guys,

I've just bought a Moto Maxx and installed BetterBatteryStats to see if the phone is deep sleeping and for my surprise the Awake (Screen off) is much greater than Deep Sleep status. ( right now at work is 1h awake (screen off) and 25min deep sleep)

Since I don't have root, I can't see a lot of options in the app but is it possible to revert this condition without root?

Thank you guys.
[BetterBatteryStats] dpi295:
G4 Idle Drain

Attached is my idle drain dump over for over 6 hours. I lost about 10% battery. I am using Amplify to control alarms and wakelocks, PowerNap to prevent apps from running when the screen is off. The device is an LG G4. Any tips to achieve better idle drain?
[BetterBatteryStats] Lownita:
BBS suddenly works without having to be a system app, why?
[BetterBatteryStats] guhvanoh:
BBS does work without being a system app. It just works better being one. More options.
[BetterBatteryStats] Perseus:
You should always look for the line

Level lost [%]: Bat.: -12%(100% to 88%) [1.8%/h]

Google Photo Sync took >15 minutes and WiFi Scanning probably is on.
[BetterBatteryStats] chamonix:
well, it's not excluded on my device and works fine. As bbs does passive monitoring (ftw) there is nothing to optimize. Maybe a time monitoring from war h dog but that would be really specialized usage.
[BetterBatteryStats] chamonix:
can you define "suddenly works"? does bbs get permissions granted? if yes on what ROM? if no, I what did you not expect that worked nevertheless?
[BetterBatteryStats] Lownita:
Sure, here is what I did: I was on cataclysm rom (Nexus 5, android 6.0), bbs was installed from the playstore, the system app was installed (which is a separate helper app in the system partition afaik).

I then wiped system and cache partitions in twrp, flashed latest cataclysm 6.0.1, supersu 2.6.1 and elementalx kernel. After reboot, bbs was still working flawlessly after granting root permission and without noticing me about installing the system app. I even reinstalled it from the playstore and it still worked.

So since I wiped the system partition before, I was surprised bbs was still working.

Gesendet von iPad mit Tapatalk
[BetterBatteryStats] dpi295:
Okay. Am i getting the most out of my phone already or is there more I could do to reduce idle drain? Idle drain over mobile network just kills my battery.
[BetterBatteryStats] JoeBear1975:
Finally switched back over to CM using RR ROM & Plasma Kernel with Lux Brightness Modifier with a 100000 mah ZeroLemon Battery. So far, this is the best that I've gotten. If I could get Mobile Network to stop killing me, I'll be doing good. The bad thing is that I've got a Sprint Mobile Booster in my house that doesn't help, lol.

GN4 Resurrected With Plasma
[BetterBatteryStats] YassGo:
Hi there,

I didn't find the answer so I'm asking : I don't have the details when hitting the alarms and wakelocks on MM 6.x, just one info per line, is it supposed to be like this on MM ? It was more detailed on L...

Tia
[BetterBatteryStats] celikbasm:
BBS not showing details for alarms. Seems buggy and need to update.
[BetterBatteryStats] shaggyskunk:
What do you mean by "BBS not showing details for alarms"?

Doesn't seem "buggy" to me.

Sent From My SM-N910W8 Running SlimRemix V5.3
[BetterBatteryStats] celikbasm:
Are you on LL or MM? I'm on MM and can't see details when I touched any alarmed app, on LL you can see the details like ALARM_WAKEUP_LOCATOR or stg.
[BetterBatteryStats] shaggyskunk:
I'm running 5.1.1 - I don't see "ALARM_WAKEUP_LOCATOR" or stg

What version of BBS are you using? I'm running 2.1.0.0 from this Thread in the OP.

Sent From My SM-N910W8 Running SlimRemix V5.3
[BetterBatteryStats] Bajanman:
Like this [MENTION=4351374]shaggyskunk[/MENTION] if I'm not mistaken.

That way you can copy what's waking up your device all the time. Then limit it in amplify to save a little better life.

Sent from my SM-N920C
[BetterBatteryStats] celikbasm:
Yes, I'm exactly talking about this. there is no problem for LL but MM not showing details.
[BetterBatteryStats] shaggyskunk:
Yeah I'm not sure how you're getting the information to display as in your screen shot?

I'm not using Xposed

Sent From My SM-N910W8 Running SlimRemix V5.3
[BetterBatteryStats] Bajanman:
Just click on the alarm and it should bring up a pop-up like mine. I'm using version 2.1.0.0 on LP 5.1.1 Tw Rom.

And if I'm not mistaken Xposed don't affect BBS in anyway. I use Xposed for the amplify module to limit my wakelocks and alarms.

Might be that CM Rom your on don't work the same sir. That's my guess at it.

Sent from my SM-N920C
[BetterBatteryStats] shaggyskunk:
I get a pop-up - But it's not like yours - I feel inadequate - lol ?

Could be because I just took my device off the charger - And I'm running a Slim based Rom - SlimRemix (which does have some CM components).

Sent From My SM-N910W8 Running SlimRemix V5.3
[BetterBatteryStats] Bajanman:
You just taking it of the charger is exactly what it is. I'm still on a battery charge from yesterday.

Check that alarm again after a few hours have passed. See if you get more listed in the pop-up.
[BetterBatteryStats] shoryuken_2020:
Hi, I 've been a visitor to this forum for a while and have generally just followed and found answers to my problems. For the past couple of weeks I have had sever battery drain and the phone doesn't seem to go to sleep mode. For the life of me I can't figure out what is going on. It seems to be Google checking in or something. All Sync activities have been disabled in Google Account with the exception of Gmail, calendar, contacts, drive, and chrome.

The battery drain seems to fluctuate between 4 and 8% per hour depending on the day. I've disabled most things and keep things to what few things I need as essential.

Here is the BBS record for this morning with almost 3 hours of not touching the phone. A few weeks back with more apps running in the background I was down to 1.6% per hour.

https://drive.google.com/file/d/0B3xp7L_v0YiJakFNdGZHWTE0ZDg/view?usp=docslist_api

As you'll note, I am using an unlocked Galaxy S3 I747M.

Any help would be greatly appreciated.

Thanks in advance.
[BetterBatteryStats] Mikulec:
Are you on MM? What phone? I am on Nexus6P and 6.0.1 and I dont see the details too, most probably MM does not support it, or BB have to be "tweaked".
[BetterBatteryStats] TNSMANI:
I am on MM on N4 with Chroma and I also don't get the details.
[BetterBatteryStats] Blade2014:
I am on MM,Moto g2. As others have said there are no details available when you tap.

Kindly see the attachment
[BetterBatteryStats] Mikulec:
So different phones but all of them on MM.

[MENTION=1330150]chamonix[/MENTION] - any idea what could be the culprit of the missing alarms details?
[BetterBatteryStats] hazzik:
Can someone help me solve my wakelocks?
[BetterBatteryStats] chamonix:
when 'dumpsys alarms' fails the fallback is the less detailed API data. Reasons for the fail may be (I haven't debugged yet but I will) :

- selinux preventing dumpsys access

- Google has (again) changed the format of dumpsys so that the parser fails

I will look into it at latest next week: #735
[BetterBatteryStats] chirag2718:
my battery on S3 drains a bit fast. is there a motherboard problem or the battery?
[BetterBatteryStats] hazzik:
What is this battery-monitor wakelock?
[BetterBatteryStats] dave il barbaro:
silead-fpsvcrx ?????

I can't find this kind of wakelock!!
[BetterBatteryStats] j1po:
I get high wakelock from BbmPlatformKeepAlive in CM13, someone know how to disable it?

Thanks
[BetterBatteryStats] TNSMANI:
Limit it with Amplify or disable it with MyAndroidTools.

I don't know what the Wakelock is for, so I have no idea about the consequences. Do it at your own peril.
[BetterBatteryStats] Javi22:
I cant install BBS in CM 12.1 with system permissions

With the apk, I press on install, fine, then reboot, but then when I run BBS it only says "this is an installer only bla bla.." but there isnt any other BBS app

With the recovery zip doesnt work neither
[BetterBatteryStats] FernBch:
Install the app a second time.
[BetterBatteryStats] krasCGQ:
BbmPlatformKeepAlive is a BBM's wakelock, maybe to keep BBM awake so it can receive messages when device is slept.

Sent from my GT-I9500
[BetterBatteryStats] Javi22:
Man it worked thanks!!
[BetterBatteryStats] _Sofos_:
Hey guys, is there any "known" solution to this without using xposed?

This specific alarm (heartbeat) is killing my battery in idle mode. Tried restarting the service, stopping some services etc, nothing worked. Disabling the whole gms process stops most of my notifications so I guess is a no go, any other ideas?

I'll upload a full dump once I get off from work today.

Thank you in advance.