yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] It_ler:
1. Good that you used the Hide tags.

2. Unfortunately you also used the Noparse tags, which prevent all tags to be executed, so please remove the NOPARSE tags from your post.

3. Your battery stats are looking quite fine IMO. You may want to change the Fast Dormancy state on your phone to see, if battery life will be even better without the "secril_fd-interface" wakelock.

To change the Fast Dormancy state, just use Gokhanmoral's Fast Dormancy app from Play store. It works on the SGS2 as well.
[BetterBatteryStats] Markox89:
It used to. No longer with latest modem :(
[BetterBatteryStats] It_ler:
Have you tried to change FD state with system menu?

Dial "*#9900#" then change the FD state.

You have to reboot after changing the FD state, but Fast Dormancy app works fine on my phone (stock-based XWMS2 with XXMS4 modem).
[BetterBatteryStats] Markox89:
Ok, sorry. I never get what broke FD app: newest CyanogenMod or newest modems.

Looks like it's CyanogenMod's fault :angel:
[BetterBatteryStats] deckard0273:
Ok.next time i will win the race:D

I tried few days ago disabling FD through *#9900# menu but nothing seems to change. My carrier (H3G Italy) support FD so i think it should be active.

Finally....thanks a lot for all and for your patience:beer:

Sent from my Samsung Galaxy S2 - GT-I9100 with Tapatalk
[BetterBatteryStats] PM_Petrol:
Is there an option to check partial wakelocks without root?

I had BetterBatteryStats on my HTC One X (dont know what version) and there I could check the partial wakelocks without root.

I'm using the Nexus 5, completely stock. Using BBS version 1.15.0.0 XDA edition.
[BetterBatteryStats] Markox89:
Since Android 4.4, BBS needs to be a system app with root rights to work properly. Thanks Google for this one ;)
[BetterBatteryStats] PM_Petrol:
Dammit, so it's practically useless for me. I dont want to root. Well thanks for your answer by the way.
[BetterBatteryStats] maz_midou:
thx :good:
[BetterBatteryStats] cdzo72:
I'd you're not willing to root you're not too terribly worried about your battery nor do you need to use BBS. Go into application manager and freeze everything you don't use and except for disabling sync that's about all you can do
[BetterBatteryStats] PM_Petrol:
I'm not that worried about my batterylife because I get good results. Screentime is about 4.5h with Wifi and auto brightness.

But still a lot of powermanagerservice.wakelocks are keeping my device from deep sleep. And I want to know what causes that.

Also Google play services keeps my device awake a lot (2h a day). I got the latest version of it 4.1.32.
[BetterBatteryStats] Perseus:
Could be. At the time Android backup was happening, it might have stalled. Once Stalled, the process remains stalled even when signal is re-established.

Are there a lot of other devices on your Wireless Lan ? Can you issue static IP when on Wireless ? Can you use System Tuner and follow [MENTION=4355376]Karpfenhai[/MENTION]'s guide from here ?

Your E-Mail Client does sync pretty frequently. Any chance you could reduce its frequency ? Can you please remove all the CM widgets and what not from the Lock Screen ? Also, typically what apps are giving you the most notifications other than phone calls ? See if you could turn off those ? Any chance you can change to another Kernel that supports Fast Dormancy ?

Another thing, I am not sure if you are comfortable with this. Can you use Trickster mod and switch your Scheduler to ROW ? Ignore this part if you are not comfortable.

It may be extreme, but just for diagnosis, you could turn on Airplane mode overnight (or at least 4-5 hours) and post that log.
[BetterBatteryStats] cdzo72:
Like I said, without root there's really nothing you can do about either because they are associated with services and triggers that you have to have root to access. So either forget about them or root your phone. As far as Google services, well you have to sign out of a bunch of apps probably, disable all sync and disable location services... it's that simple
[BetterBatteryStats] karvek:
Unfortunately I cannot access the WiFi router nor at work (for obvious reasons) nor at home (I live in a shared flat and my flatmate has a wrong password for the router so I cannot access, let's say that calling Swisscom to get this password is one of the most annoying things I should do so I think I will consider this as one of the last options). So any chance to set static IP.

By the way I already disabled the Media server service, IP Helper, Netbios and anything that should stream on my home wifi-network. In the worst case scenario during the night there is 1 Windows 7, 2 iOS (don't know version) devices and my Android 4.3 connected to the net.

I downloaded Android Tuner (should be the same) and followed the guide and disabled anything signed on the post. I removed battery widget anche camera widget from the lock screen, I'm not able to remove the watch: anytime that I try to delete it, it simply comes back again after a short standby period. I've set my e-mail client to not sync anything (it was already to 'never sync' while now is to 'never sync nothing').

Today only Whatsapp has given to me a couple of Wakelocks (the whole day) and nothing more.

I'm open minded enough to change to another Kernel but to be my honest I don't really know how to move in that jungle. If I put GoggyMax is just because I wanted to get rid of this "kernel wakelock" battery drain and it seems to be the most used by S3 users. Then I discover the 'touch-to-wake' option that is nice, but I really don't use any other tweaks, so, if you have any clue I will try another kernel. For now I've changed the GoggyMax scheduler to row.

By the way if I understood well "Trickster MOD" is simply an app so I should just revert to original sammy kernel and it should work or I got it wrong? If it's another mod to be honest I don't still feel comfortable with dual boot on my android device so I would prefer to stick to other possibilities for now.

In the next hours I will post a dump taken at my place (now I'm at work and the crowded wifi there + lack of phone signal is not a good diagnosis place) and see if things improved.

Thanks for helping
[BetterBatteryStats] Karpfenhai:
Consider creating this script:

It may help too bring down Wi-Fi overhead.

Tapatalked from my Galaxy SII
[BetterBatteryStats] Perseus:
I understand about Wireless. Let that one slide. As to the Trickster, I think your current kernel does have something similar. So ignore that as well.
[BetterBatteryStats] SaintCity86:
Can anyone tell me why in bbs it says Wifi on - 32min , wifi running - 5h 10m

Total time on the phone is 5h10m so Wifi running is at 100 percent. But my wifi wasn't on but for that 30 min only. Even my Android tuner shows that my Wifi was not on for 5h. Just 30 min.

So idk why bbs says it's been running the entire time since I booted

Tapatold from my tricked out TmoGalaxyS4 running: ♧♢dbombROMv3beta♤♡
[BetterBatteryStats] Karpfenhai:
Wireless advanced settings, disable scanning.. lazy guy.. :p

Tapatalked from my Galaxy SII
[BetterBatteryStats] karvek:
Sorry for the late delay, for the sake of reproducibility I've to decided to fully charge the phone again.

I have installed last version of Busybox from the Store, put the script in the folder, given root and rwx permission to the script but I see no log generation, so I assume that this is not helping.

I disabled the "scanning" option ability in the wifi config but nothing seems to change.

I attach now a quick scan, because I'm going to sleep and will post the overnight scan tomorrow morning in airplane mode with wifi on.
[BetterBatteryStats] Karpfenhai:
The script will be executed at reboot only, only once at the time, did you reboot? :D

Tapatalked from my Galaxy SII

---------- Post added at 12:13 AM ---------- Previous post was at 12:10 AM ----------

It's not the roms fault, since I'm using the same, you need to learn how to use bbs first, read the op with care and post another dump.

Try apolo v7 beta 3 with your Rom, set governor / scheduler to Pegasusq + row.

Apply power saving, start with v0 voltages.

Regards.

Tapatalked from my Galaxy SII
[BetterBatteryStats] Perseus:
Make sure you Turn off IPV6 on all the Devices on the wireless network. Also Turn off Always Scanning option to never.
[BetterBatteryStats] Fixoon:
I was a little confused while reading the original post the first times, sorry. So the thing is that I should plug in my charger and unplug it and then wait 1-4 hours without using the phone and then post the dump here, right? In that case I'll return later with a new dump.

How much will changing the kernel to the apolo v7 do? Are we talking maybe half an hour or even a couple of hours+? Also curious about "beta 3" as it says in the apolo v7 thread that beta 2b is the latest for CM?
[BetterBatteryStats] djtiko:
Hey guys

Found my self lately having a really long kernel / Android os wake lock. Hoping someone can help me out.

Thanks
[BetterBatteryStats] Karpfenhai:
Okay, hard one, its a kernel Wakelock made by the kernel for sure ;)

AFAIK its formerly known as MSM_Hsic or MAX89xx, it is the Android implementation for a serial Console (TTY) it emulates per example a com port. Do you use an USB OTG Cable or any device attached to your handset?

I recommend to discuss this with a kernel dev and since its a prettty rare issue, try cleaning your USB Port briefly.

FrancoKernel per exmple may have another implementation.

A logcat can help to identify what is calling this particular wakelock.

Seems to happen only on Qualcomm devices from Samsung.

From header file:

smd_tty driver which provides tty device interface

to 'DS' and 'GPSNMEA' streaming SMD ports.

Hope this helps, regards.
[BetterBatteryStats] karvek:
Slowly improving but still a lot 1.8%/h in standby.

What I realized yesterday is that the "Service Exchange" app simply sucks and then I switched to another one that seems to be doing the job very well. This means that Service Exchange app is now freezed.

According to the network log what tried to connect to internet are CM Clock (and this morning I disabled the autoupdate of the weather every 1 hour and calendar widget), the app CAL (trying to interact with Amazon ip, this is quite strange), Whatsapp that seems to not care at all about the global sync options and the big boys: Google Play Store and Google Search

Assuming that the clock wakelock is now stopped (I think it is reasonable now that I stopped the weather sync) any hint on how to stop these two google apps? For the other two apps (Cal/Whatsapp) I can try a quick freeze to see what's going on.
[BetterBatteryStats] Perseus:
Kernel versions are dependents on what Rom version has the same CM Commits, So choose what's suited for your Rom.

You can post the log after 3-4 hours of Non-usage idle time.

Google Search is very location dependent and thus big hog on the battery. Surprisingly, in your case, I don't see such pattern and it seems to be behaving itself. I assume you have turned off Location service and google location reporting ?

As to Google Play Services, use System Tuner and follow @Karpfenhai's advice. From your log, I see extremely chatty Wireless connection. Can you turn off IPv6 functionality on your phone?

Are you comfortable if you lost reminders from Google Apps such as Calendar and gmail ? If yes use System tuner and then follow this other mod. Does your carrier support Fast Dormancy ? If yes, can you try it ?
[BetterBatteryStats] karvek:
Yes everything was already off, I even erased chronology of positions.

Already followed Karpfenhai example on Android Tuner disabling anything was highlighted in that post (maybe not the ads.xxx thing because I was not able to find it).

Assuming that I would be ok in disabling IPv6 functionality on my phone, how can I do it?

I can try following that guide and disabling some GTalk functionality and see what happens.

My carrier support Fast Dormancy and according to Fast Dormancy Toggle app it is on and working.

Nothing more to say for now.
[BetterBatteryStats] Perseus:
In Terminal Emulator, enter

SYSCTL net.ipv6.conf.default.disable_ipv6
[BetterBatteryStats] zebidybob:
Is it safe to assume that to turn it back on it is

SYSCTL net.ipv6.conf.default.enable_ipv6

?

Sent from my HTC Sensation Z710e using the xda-developers app
[BetterBatteryStats] karvek:
I think that to enable it again, eventually, I must put the same line value to 1

http://xdaforums.com/showpost.php?p=25421160&postcount=6971

By the way I've done it, I will let you know how it works.
[BetterBatteryStats] jayd_zena:
I'm sorry but I can not find "dump file" option. In later versions has been moved to another part of the menu?

The only "dump to file" which I find is when I open the menu "Graphics" (more-> graph-> dump to file) but does not export anything .. someone can explain where the dump file should be please? Thank you.
[BetterBatteryStats] AA1973:
Use the share button
[BetterBatteryStats] Omen of Peace:
Regarding [MENTION=4355376]Karpfenhai[/MENTION]'s now famous post, I have a question:

- in my version of Google Play Services, I see

init.InitializeGmsReceiver (under SET_GMS_ACCOUNT)

gcm.ServiceAutoStarter (under CONNECTIVITY_CHANGE)

I assume I should leave them alone?

Same for mdm.servicesGcmReceiverService?

I also haven't been able to untick the EventLog service from GSF, because I then get an EventLog wakelock that won't go away. I still need to investigate some more however.

Thanks for the help.
[BetterBatteryStats] Karpfenhai:
Can safely be disabled:

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] Perseus:
I would untick gcm.ServiceAutoStarter (under CONNECTIVITY_CHANGE) and observe for a while for any ill effects.
[BetterBatteryStats] matrixzone:
Is this normal to have proximity sensor battery drain? I have used phone heavily for calls
[BetterBatteryStats] Perseus:
That's an indication of being on call. If you really wanted, you can use bluetooth or headset so that screen does not turn on or off automatically when receiving a call.
[BetterBatteryStats] Perseus:
I think you forgot to turn off Location service. KiK Messenger has been waking up a lot but dies down after server ping shortly. Facebook is as usualy the worst offender. Twitter's been syncing but been low key. Sound Cloud been active using network.

Both Facebook and its messenger need to go. any one or more of the Social media app been wanting your location. Removing facebook and freezing Twitter (Temporary diagnostic purpose only) will tell you if RILJ goes away.

Lastly, there is a significant amount of wakelocks related to cell trafic. Can you try another modem or disable H+ altogether ?
[BetterBatteryStats] chamonix:
don't do that
[BetterBatteryStats] karvek:
Now all the time that I reboot the system I have the RILJ wakelock.. any other solution rather than Greenify Phone App?
[BetterBatteryStats] Perseus:
Toggle Airplane mode ?
[BetterBatteryStats] karvek:
If I put Airplane Mode on I get double wakelock RILJ + Connectivity Service while without Airplane mode I get only RILJ.

I'm really thinking of backuping anything, do a wipe with only Carbon and GApps and see what happens to battery.
[BetterBatteryStats] Georgel25:
Hello everyone,

As i mentioned before...i had some problems with some alarms giving me wake locks. I did a internal SD memory format and reinstall the ROM, and after everything was ok (i mean ~ 1% drain/hour) until last charge, since i had again those stupid wake locks, from GCM mostly. How the heck GCM enabled itself now and before not ? i didn't install any other app than Airdroid and Sygic navigation.
[BetterBatteryStats] Perseus:
Connectivity indicates some app desperately wanting to call mothership. RILJ indicates Phone taking to lock on to the tower. Yes sounds like a decent course of action.

Re-installing Rom brings back GCM. You need to [MENTION=4355376]Karpfenhai[/MENTION]'s mod each time you flash.
[BetterBatteryStats] Georgel25:
But that's the strange thing....i never used [MENTION=4355376]Karpfenhai[/MENTION]'s mod. After i wiped internal SD, reinstall ROM and GApps...the battery drain was ok as before ( ~ 1% / hour ). I installed Airdroid, ES File Explorer and Sygic after two battery charges....and since then, the battery drain went up again, without any apparent reason.

I uninstalled Airdroid and now i will let the phone discharge until 5-10 %, turn it off and charge it, so i can see if there is some difference.

Could it be that my battery drain went up because of some calls made and some messages sent and received ? i believe that stupid GCM enables itself when i sent/receive SMS, or something like that :(

EDIT : i forgot one important thing, i believe - when i had normal (for me) battery drain, i was at home and over night it was 6-7 % in 7 hours (checked in the morning)...but at home or in the city i have good signal reception. When i have higher battery drain i am usually at work, where i don't have such a good signal (even if it the signal is at maximum or about, the quality is weaker)
[BetterBatteryStats] Perseus:
When you have bad signal, there are a bunch of wakelocks around Radio interface. They drain like crazy. Try turning off LTE and switch to 2G only when at work.
[BetterBatteryStats] Georgel25:
Another strange thing....i always keep the phone in 2G mode :D so there must something else too...beside weaker signal that makes the phone to use more battery, no ?

BTW, my wakelocks are not related to Radio interface, because they are so few, that they are negligible....my radio interface is ok from this point of view
[BetterBatteryStats] santya95:
I've this wakelock costantly... msm_hsic_host

I'm on 4.4.2 by jamal r.1.1

Kernel alucard qe

Modem ml6

Please help me to fix this.. This wakelock kills my battery!
[BetterBatteryStats] Perseus:
That's a Radio interface wakelock. See if it disappears when you are on a stable wi-fi instead of Data connection.
[BetterBatteryStats] santya95:
there isn't a method to reduce this wakelock? ... it kills my battery!

my phone can't go in deep sleep and this wakelock is running more time than the wakelock 'main'
[BetterBatteryStats] Maniac9331:
Whats this wakelock in alarms? Thanx
[BetterBatteryStats] Perseus:
Change Modem, Toggle airplane mode when in low signal area and so on....

Google Shared Framework wakelock. Discussed too many times on this thread. Even see this or prior page.
[BetterBatteryStats] Maniac9331:
Ok sry this is ma 1st time here:D
[BetterBatteryStats] pickandwhammy:
NLP Wakelock preventing sleep

On PA 4.0 (Beta 3), observed this behaviour for the past two days, both on stock kernel and Franco's: device stays awake throughout the night, BBS reports NLP Wakelock. Attaching logs and screenshot.

Note: Location was on in the morning, so I thought it was the culprit and turned it off, but the wakelock's still active.

EDIT: WiFi is set to only be on during sleep when plugged in, and always scanning is disabled (duh :) )
[BetterBatteryStats] Perseus:
Sounds like a lot of signal issues. Phone's having repeat tries to connect.

Plusone Labs Calendar is waking too much to sync. Please use stock calendar instead. Kik Messenger as well keeps it awake. Please either use another launcher or remove any Google search boxes from your home screen. If you don't have any then freeze Google Search.

I assume Quick Dormancy is enabled ?

Did you reboot after turning off Location ? Noisy chatter on the Wireless network. Please issue a static ip with 24 to 48 hour lease time. Please follow [MENTION=4355376]Karpfenhai[/MENTION]'s Mod I have linked earlier. (this page or last one.)
[BetterBatteryStats] pickandwhammy:
Hadn't rebooted, did it now. Set up static IP as well.

Why will I need a mod to eliminate abnormal behaviour that wasn't prevalent until a couple of days ago? I'd rather figure out what's causing it and fix/get rid of that.
[BetterBatteryStats] whitey.germany:
Hello Karpfenhai,

i have some questions regarding this mod (or maybe mod that use this techniqe).

- I can use Autostarts to achive this also?

- Is there an app (or tasker plugin) which can be used to toggle this settings altogether (on/off with 1 click)?

- Any hints on making a custom app/apk which can toggle this settings?

Thanks and regards

Whitey
[BetterBatteryStats] hellraizerN7:
So since a few days, Android OS / msm_hsic_host is back again on my phone (I don't know if its a coincidence, but ever since play services has been updated to 4.1).

Before it started, I had no issues since updating to 4.4. Didn't change anything, didn't even install many new apps. Even had all location services enabled and running without any significant drain, but now, on Wifi, or on data, location on/off, rebooting on a daily basis - whatever I do, this keeps my phone awake and draining battery like crazy:
[BetterBatteryStats] omdevsinh:
I am new here so please help me

How can I save dump file???
[BetterBatteryStats] Georgel25:
Those Play Services are giving a lot of headaches :( i believe so, that since they update to a newer version....they cause a lot of wakelocks
[BetterBatteryStats] Vodzilla:
May be a stupid question: the items covered with the tapatalk logo (ie gcm.GcmProvisioning, etc), are the also unchecked or are they left alone? :)
[BetterBatteryStats] davevinci:
Hi guys.. Please help.. Been having bad battery life lately with 3rd party 4.4 roms even on airplane mode and idling. I dont have a clue what's causing the drain..... But on my stock LG ROM I have 100-99% percent when idle overnight with airplane mode on so I don't think it's my battery.. Thanks guys

My dump file

https://www.dropbox.com/s/0djh0irf4ckz06s/BetterBatteryStats-2014-01-20_185121071.txt
[BetterBatteryStats] omdevsinh:
Hey guys please help me what can I do ????

Here my dump file https://www.dropbox.com/s/8y7yy048f6m3xxb/BetterBatteryStats-2014-01-25_174713842.txt
[BetterBatteryStats] Karpfenhai:
You know playstore, gms, and play service are auto updating?

So additional drain after some time is normal.

My "mod" persist after flash as long as you don't factory reset.

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] Fixoon:
Plusone Labs Calendar was just a widget for the Google Calendar but that's gone now. Do you know any good loking calendar widgets that's not thats better? Also, what is this Quick Dormancy and what does it do? I have not enanbled it manually however.
[BetterBatteryStats] steveyj91:
Wicked

Really great app, I love the detail it provides as well
[BetterBatteryStats] Karpfenhai:
- I can use Autostarts to achive this also? -> yes

- Is there an app (or tasker plugin) which can be used to toggle this settings altogether (on/off with 1 click)? --> in that case try greenify

- Any hints on making a custom app/apk which can toggle this settings? --> maybe you can freeze it automatically with secure settings and tasker.

Regards

Tapatalked from my Galaxy SII

---------- Post added at 05:34 PM ---------- Previous post was at 05:32 PM ----------

They are unchecked, I think I don't have any checked visible in these screens :D

Tapatalked from my Galaxy SII

---------- Post added at 05:37 PM ---------- Previous post was at 05:34 PM ----------

This drain is to much, even with your screen on time, try a custom kernel, maybe with some undervolting.

Tapatalked from my Galaxy SII
[BetterBatteryStats] yahyoh:
guys what the hell with with exynos5-fb.1 wakelock :eek:

its killing my battery on standby :(
[BetterBatteryStats] Maniac9331:
Pls helpe this is the most hardcore wakelock ever for me,.... What can i do to stop it , tnq
[BetterBatteryStats] Ben36:
+1

I can't find the option either?
[BetterBatteryStats] AA1973:
Click the "share" button

Sent from GALAXY TAB2 P5100 // OmniROM 4.4.2 // Dhollmen Kernel // ART
[BetterBatteryStats] Karpfenhai:
Either you applied the wrong tweaks for play service our you didn't reboot after applying them..

Rework your setup.

Tapatalked from my Galaxy SII
[BetterBatteryStats] Maniac9331:
Solved by doing this:

Went to Google Services Framework ( obvious place to check )

Disabled ( unchecked ) the Checkin.EventLogService$Receiver

Disabled ( unchecked ) the CheckinService$TriggerReceiver

Disabled ( unchecked ) the CheckinService$Receiver

Disabled ( unchecked ) the CheckinService$SecretCodeReceiver