yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] gaich:
[MENTION=1330150]chamonix[/MENTION]

As we`re a multilanguage community now, don`t you think it`s time to translate Google Play Descriptions? I`ve just updated this for 2.0.0.0

BBS Russian description

BBS Russian what`s new for GPlay

Just one thing - permissions part tells about Google Analytics and Knowledge Base:

- android.permission.INTERNET is required to access the online Knowledge-Base and Google Analytics. If you want to revoke this permission please make sure that the KB and GA are disabled in the preferences
- android.permission.ACCESS_NETWORK_STATE is required for Google Analytics. You can opt-out from GA from the "Advanced Preferences" and revoke this permission

Should we exclude this?:confused:
[BetterBatteryStats] chamonix:
apk for 2.0 final (as in post #2). I am busy in my other life until tomorrow but will push to staged rollout on Friday. As I can't control staged rollout I can not predict when it will hit your device as an update
[BetterBatteryStats] chamonix:
description translations are indeed on my list. About perms: google analytics can be dropped, KB should stay: I have disabled it in the UI but the code is still in so the perm is also still in the manifest
[BetterBatteryStats] exodius48:
v2.0 still not available ats playstore
[BetterBatteryStats] irvy:
Thank you for that. I have downloaded version 2.0.0.0 as well as SuperSU 2.44 and everything is working perfectly. Much obliged.
[BetterBatteryStats] Rinoceros:
Please READ BEFORE you write!

Below is posted just eight minutes

before

you posted this complaint!
[BetterBatteryStats] shaggyskunk:
That and the fact that.....Say what's that apk in the OP..... ?

Sent from my SM-N910W8

Running SlimLP
[BetterBatteryStats] EuEra:
Thankyou :) what about google services framework? And what about things like activities, providers and recievers? As in should i only mess with the services
[BetterBatteryStats] wilson289:
Hey everyone, I'm having trouble dissecting my battery situation. I feel like I get fairly decent battery life, but I keep seeing these random wakelocks. I was hoping a pro could take a look at my dumpfile and see if there is anything out of the ordinary that pops out. I disabled NLP with disable services as well as with App Ops, so this is a little weird. I also took screenshots of BBS for reference. Any advice would be greatly appreciated!
[BetterBatteryStats] nirmitlamed:
Hello to everyone,

I am trying to disable services using disableservice app and according to this guide for better battery.

http://xdaforums.com/showpost.php?p=55211341&postcount=25472

However when i restart my phone, many of the services i disabled, goes on again, for example "checkinservice" or "eventlogservice" which its side effect to keep my device awake and never goes to deep sleep, unless i restore all services back on.

What should i do?

edit:

ok i think now everything is ok. i didn't find how to disable activities and provider from disableservice. found that i need to install another app through the app settings.
[BetterBatteryStats] rfilipoiu:
Possibly somebody already answer to: "what is Cnt: (c/wc/ec) ?", but searching for this leads to "Sorry - no matches. Please try some different terms. "

Will somebody (else) be so kind and answer (again)?

Thank you !
[BetterBatteryStats] mdamaged:
count/wakecount/expire count

Cnt(c/wc/ec)" + getCount() + "/" + m_wakeCount + "/" + m_expireCount

Source: https://github.com/asksven/AndroidC...n/privateapiproxies/NativeKernelWakelock.java
[BetterBatteryStats] rfilipoiu:
Thanks again, I'll study.

There are a lot to be studied about this software. For instance the negative values in the picture. I understand that Wi-fi recharged my phone... wirelesly :))

XDA Free mobile app
[BetterBatteryStats] ChungHung.Chen:
But report : Only half of "Advanced" in settings menu

BetterBatteryStats Version 2.0 - XDA Edition

In settings menu only half of "Advanced" column can been seen, please see attach. My screen resolution is 854x480 (Moto XT910 CM11).
[BetterBatteryStats] Karpfenhai:
Unfortunately this is considered as a bug on cm11, however if you slightly adjust your dpi, it will be gone.

No clue about your device but maybe 20 pixel lower, give it a try.

Regards.
[BetterBatteryStats] davboc:
Samsung galaxy s2 with cyanogenmod 11, nightly from 24 december to now:

experienced an issue with bbs version 2.0.0.0RC5(60), the phone automatically reboot if I try to charge it from power off. I'm not the only user with this problem. The problem disappear after uninstall bbs and wipe cache and dalvik.
[BetterBatteryStats] Beat_Slayer:
That's an old beta version, just update it and you should be fine. ;)
[BetterBatteryStats] davboc:
Sorry, I wrote the wrong version, the version with the bug is 2.0.0.0RC5(60), I only report this because I don't know if it is a knowed bug.

Thanks for reply
[BetterBatteryStats] chamonix:
No it's not. please provide a logcat
[BetterBatteryStats] davboc:
file /proc/last_kmsg is enough? Who do i send it?
[BetterBatteryStats] davboc:
edit.
[BetterBatteryStats] chamonix:
I as you reported BBS causes the crash a dmesg won't help, that's for kernel stuff. I understood that you can reproduce it so the easiest way would to let logcat run and log to a file until the reboot happens.
[BetterBatteryStats] davboc:
please write me the right steps to do this.
[BetterBatteryStats] asdfzz:
Hi, no way to use USB debug trick on L for non root?

Moto g gpe
[BetterBatteryStats] davboc:
ok I've done. This is the logcat after reboot
[BetterBatteryStats] chamonix:
and what would that trick provide?
[BetterBatteryStats] asdfzz:
Sry man my bad..wrong thread :)
[BetterBatteryStats] chamonix:
Well, the log after reboot is not really interesting: at that point the logcat at reboot is what we need to look into.

What I see in this logcat though:

- lots of processes beting killed by ActivityManager: memory leak?

- lots of wakelocks requests not being granted: any wakelock suppressors installed?
[BetterBatteryStats] davboc:
Thanks for reply!

- how I can see if it is a memory leak and what is the problem?

- I use greenify and kitkat privacy option to maximize deep sleep, that now is very good. Is it a problem?

How can I obtain the right logcat? I used the terminal emulator of cyanogenmod to generate that after reboot.
[BetterBatteryStats] antonlab:
Hello,

I've recently been able to reduce my overnight idle drain from about 5%/hour down to 0.5%/hour using the information from valuable resources in xda and google. However, I would really like for an Android Veteran (unlike myself) to take a look at my dumpfile and see if there's anything else I could do to improve my idle drain as I'm still very new to BBS and have trouble understanding stats.

Context:

Phone specs:

Nexus 6

Chroma ROM

Franco Kernel

VomerTweaks (Dual Mode Conservative)

Decrypted

What I've done so far:

Set 'Keep Wi-Fi on during sleep' to 'Never'

Turned 'Scanning always available' OFF

'Network notification' turned OFF

Bluetooth is always OFF unless needed

Cellular data turned OFF when I go to sleep

Disabled NFC

Turned OFF Ambient Display

Turned ON adaptive brightness

'Other sounds' OFF (dial pad tones, screen lock sounds, touch sounds and vibrate on touch)

Location OFF unless needed

Drawing animations all OFF

Greenified all my apps EXCEPT E-mail app (outlook, sync interval set to push), facebook (refresh interval set to never), facebook messenger, snapchat, nova launcher(not sure if i should greenify my launcher?), and my live wallpaper app

Thank you very much for your time!!
[BetterBatteryStats] wilkster:
Looks good, declare success and go do something fun!
[BetterBatteryStats] cAase:
I wouldn't really greenify all your apps, only those who misbehave. Greenifying frequently used apps may be counterproductive since greenify needs to work a lot more.
[BetterBatteryStats] chamonix:
using any tool to revoke permissions from apps (like eg revoking wakelock permissions) will cause erratic behavior, error situation, crashes, etc.
[BetterBatteryStats] EuEra:
I have a strange problem while I was asleep for 7 hours or so my phone was in deep sleep 99%of the time but still drained 9% of battery. I have recently taken WhatsApp out of greenify because I wasnt receiving messages even with the donation package. Before while it was in greenify I would lose only 2% and I had a few wakelocks as well where as last night I obviously had practically 0. Could it be WhatsApp draining my battery even though it wasn't doing anything?
[BetterBatteryStats] vivmar:
strange issue

Phone spec:

1+1 with CM12 based rom

BetterBatteryStats v2.0 final release or RC6

starting from latest 16-01-15 nightly,i can't add widget of BBS on any launcher (nova, action, anyone..)because start with launcher FC even after reboot, and i can't use the launcher until i unistall BBS. If i try open BBS seem work correctly, so is just the widget.

i have tryed to istall fresh BBS,but same problem and even with older version.

any idea?

Hope the attached log can help
[BetterBatteryStats] davboc:
Really? Greenify an app like Twitter can cause this? My phone works perfectly, no lag, no crash and, after uninstall bbs, no reboot. Obviously I don't greenify system app.
[BetterBatteryStats] guido_glx:
I have the same problem, and I'm on latest CM12 nightly as well. It must be something that ROM broke, I don't know if [MENTION=1330150]chamonix[/MENTION] can do something about it...

Enviado desde mi GT-I9300 mediante Tapatalk
[BetterBatteryStats] cdzo72:
I got rid of Green if months ago and since then my phone and I have been much much happier. I'm not a developerand can't explain why... but it's that way and if you read around its becoming more and more evident... Green if doing more harm than good
[BetterBatteryStats] MrinmoyJK:
Which app is this?
[BetterBatteryStats] triathlete66:
http://xdaforums.com/showthread.php?p=55213789
[BetterBatteryStats] davboc:
Thanks for the tip! Onestly I have very different values of deep sleep with or without greenify, and I don't have any collateral effect. Kitkat too have the possibility to deny wakelock at some apps by the privacy settings. However thanks for reply
[BetterBatteryStats] chamonix:
A simple test confirmed that this is no general problem but specific to cm. I will look into the log to see if there is something I could work around.
[BetterBatteryStats] chamonix:
again, tampering with the ability for apps to obtain wakelocks is removing abilities of the contract on how the system will behave. This may cause erratic behaviors
[BetterBatteryStats] elevatorguy:
Thank you both (vivmar& guido_glx) for posting this. I was banging my head against the wall for a few hours on this. Works on an older build of liquid (1-14-15 build), flashed newest version of bliss (1.7) and this problem showed up . I'm on the gps version of app. So glad I'm not going crazy
[BetterBatteryStats] elargento:
9% of drain isnt that bad after 7hs. With a fresh battery i doing 0.4-0.5% per hour.
[BetterBatteryStats] tealc59:
Thanks a lot for this app,

i discovered it recently and it helps me a lot to understand what drains my battery :D
[BetterBatteryStats] usmani:
Can someone have a look at this? I'm having huge PowerManagerService.Display wakelocks.
[BetterBatteryStats] EuEra:
After a reset last night it lost .3% an hour over a 9 hour period im very happy, this is with a 2 year old battery.
[BetterBatteryStats] rpr69:
Does the wakelock time happen to match your screen on time...?
[BetterBatteryStats] Xoib:
For information, on the last CM12 nightly, BBS widget is broken.

It make launcher3 trebuchet and also google now launcher crash in loop.
[BetterBatteryStats] usmani:
Yep. That's the problem. And the other powermanagersevice. Wakelock one. Started on lollipop. Didn't had any on 44s
[BetterBatteryStats] rpr69:
That was my hint. This is normal. When your screen is on, there is a wakelock held to, well, keep the screen on. I've seen the other one as well, not sure what that one is.
[BetterBatteryStats] usmani:
Okay thanks
[BetterBatteryStats] joshtb86:
How do you uninstall after doing system install? Read the raqs and csnt find any information on it.
[BetterBatteryStats] chamonix:
not the widget is broken but cm12 is. Still, I am looking to see I can work around it. May provide a private fix for test as I have no spare device to flash cm12 on
[BetterBatteryStats] chamonix:
look again, the recovery zip is in post #3
[BetterBatteryStats] Xoib:
My bad, that what I meant but I agree I wrote it in an ambiguous way.

Anyway, because I know the Jira ticket system of CM is overloaded, I though that maybe you can find a workaround. I will try to fetch the stacktrace before the weekend. Thanks [MENTION=1330150]chamonix[/MENTION] !
[BetterBatteryStats] xsteven77x:
Alright. So I have done my due diligence with googling and reading, trying my best to solve it on my own. So please don't jump on my ass if this has been answered a 100 times cause I honestly did not see a conclusive answer.

Basically nlpwakelock is out of control. It keeps my phone awake 100% of the time even when the screen has been off for hours. The other day it had a count of 18000+ over just a few hours! I have read it is googles location service. I could shut off location all together which I do not want to do. I could also use xposed modules like greenify or amplify. While I have xposed and use it, I'm not super interested in going that route unless you guys tell me that's the best option.

So if anyone could shed some light on this, I would be super appreciated. Thanks in advance for reading this! Attached is some screen shots and a BBS log.

Edit: for some reason nlpwakelock has it listed as iHeartRadio. That just started today and I feel like maybe its a glitch?
[BetterBatteryStats] Znorfi:
Hey, just bought this app. Seems great but I have one kinda superficial Q: The app is showing in with an all-grey background instead of the gorgeous Material-design in OP and Play-Store :( I'm on CM11 Nightly so I checked with other themes enabled in the theme-engine but all were coming up pretty much the same. Am I missing something? Unfortunately I can't post a screenshot because I have made to few posts so far :/

Also, I get a "Fail"-message everytime I try to install as system-app, anything I can/should try before doing CWM-method? I have given it full root-permission.
[BetterBatteryStats] wilkster:
Do you have HeartRadio installed? It looks to be the culprit here. It could potentially be causing NlpWakeLock wakelocks. Not familiar with it but you can disable/uninstall it to see if the issue goes away. The normal source of NLP related wakeloks is google play services. Also, I would turn off some of the background update settings of HD Widgets to lessen the background impact. It you really want a good analysis then deal with the iHeartRadio app then post a log with the screen off for 99% of the time.
[BetterBatteryStats] xsteven77x:
OK thanks for the advice!!
[BetterBatteryStats] klaust58:
Hello,

i'm using 2.0.0 with CM12. Latest nightly.

When trying to place any BBS-widget to the homescreen, Google-App or Launcher3 aborts.

Edit: sorry, this problem was already reported one previous page.
[BetterBatteryStats] AA1973:
Have a look one page back.

http://xdaforums.com/showthread.php?p=58284538
[BetterBatteryStats] Rimher:
I'm currently unable to see any kernel wakelocks, is that normal? I've installed the app as system and given it root permissions of course.

Do I have to use the SELinuxModeChanger??
[BetterBatteryStats] henry8668:
1.2% per hour isn't too much, but considering that I have almost everything turned off, seems still something going on.

Battery Info

============

Level lost [%]: Bat.: -9%(96% to 87%) [1.2%/h]

Voltage lost [mV]: (4217-4044) [23.0%/h]

===========

Other Usage

===========

Deep Sleep (): 7 h 23 m 10 s 98.1%

Awake (): 8 m 41 s 1.9%

Screen On (): 4 m 32 s 1.0%

Wifi On (): 5 s 0.0%

Wifi Running (): 5 s 0.0%

No Data Connection (): 7 h 31 m 52 s 100.0%

No or Unknown Signal (): 7 h 31 m 52 s 100.0%

Screen dark (): 4 m 32 s 1.0%

BBS log attached. Thank!
[BetterBatteryStats] chamonix:
as 2.0 is currently rolling out you may have gotten 1.16.

About the in-app system app installer: depending on busybox it may fail. You are doing nothing wrong and should install the recovery zip following the link on the dialog (the gplay system app has a different package name that the one from xda)
[BetterBatteryStats] shumo:
hello all

looking at my log in better battery stats , i have configured it to show wake time MINUS screen on

and i have values for google services like for 1 min , 20 seconds , etc , but with counts like 600-900 or even 1500 but as i said the the actual time is for some of them less then 1 minute .

this happened overnight , when the phone was sleeping for 7 hours .

how is this possible ?

should this be a problem ? as these applications were rated at about 0.x% of the total wakelock battery

I am now charging my phone , and after it's done i will put it to sleep for a few hours and i will post the logs later on maybe someone will please help me find the battery drainers when phone is is sleeping .
[BetterBatteryStats] longfeng:
Did you activate air plane mode?
[BetterBatteryStats] shumo:
hello longfeng ,

no , it was not activated

and Wifi , gps were manually set to off and mobile data was stopped by juice defender ultimate which is set to close data during the night
[BetterBatteryStats] s2d4:
Remove juice defender
[BetterBatteryStats] shumo:
oh , so juice defender actually makes things worse ? i thought that i was a good thing to disable the connections when my screen is off beacuse i do not leave myself logged into g talk , latitude or google+

i will try to remove it and test again . my battery will be full in a few mins and i will leave it to sleep for a few hours with juice defender uninstalled and check the result .

Btw i read somewhere about is fast dormancy and that it drains battery if the network provider does not support this feature . Is this correct ? I tried to find out of Orange Romania supports is fast dormancy but i didn't manage to find anything :)

later edit : lol i ment fast dormancy not demonocy :)))
[BetterBatteryStats] CRXed:
Please put your logs as attachment, or in

tags, not as plain text.

Analyses:

Screen On (): 1 h 21 m 31 - You have been using your phone
GTALK_ASYNC_CONN - Still using Google Talk?
*sync* (com.google.android.apps.plus.Google+ - Using G+ ?
GpsLocationProvider - disable GPS if you don't use it.

Anyway, if you don't make a log when your phone is just sleeping, we can't tell what is going on.
[BetterBatteryStats] shumo:
after about 3 hours of sleeping i got the following :

1% battery loss , which i guess is ok right ?

in the partial wakelock log selecting wakelock minus the screen on i got the following :

alarm manager - 2 sec - count 93

activity manager 4 sec - count 20

RiLJ - dialer - 2 sec - count 70

sleep_broadcast ? what is this service ? it has about 10 counts

and other services with 1-2 counts which i did not include

i did not have any application running and i was no logged in g talk , skype, google+ or google reader

using :

galaxy s2

stock unrooted 2.3.5 rom

launcherpro plus

3 full home screens and a few widgets but not for facebook or twiter or something like that cos i don't use these

so what do you think these processes that caused the wakelock mean ?

Also , do you recommend disabling fast dormancy ?

thanks
[BetterBatteryStats] shumo:
i have a few more questions regarding wake locks

1. If during sleep , i receive sms mesages ... the phone will wake and alert me of the new sms but if i don't check them and leave the phone alone is is correct to assume that he phone will go back to deep sleep and not stay in wakelock untill i read the sms ?

2. same for push emails . I do not need my exchange or gmail to be on push so my accounts are set to manually . this way during sleep mode my phone will not stay away for them ?

3. in the google account sync there is an option called background data , next to auto sync . What is background data and what happens if i disable it ?

thanks
[BetterBatteryStats] lanwarrior:
I seems to have TONS of "Wakeup" stuff, per the attached log.

Some I am aware, such as TouchDown (Exchange PIM app), but not sure for things like these:

1). IdleScreen_base:event (com.htc.idlescreen.shortcut.Wallpaper)

I don't even use HTC wallpaper

2). Checkin Service (Google Services): 14 s (14 s) Count:96 0.2%

Is this Lattitude?

3). *vibrator* (Android System): 9 s (9 s) Count:366 0.1%

Vibrator? I don't even have Dildroid installed! :D

4). GOOGLE_C2DM (Google Services): 7 s (7 s) Count:17 0.1%

Huh?

5). "rpc_reply", "rpc_interface" and "rpc_read"

I got HUNDREDS of these...what the heck is this?

6). system (com.android.providers.htcCheckin.htcCheckinService)

What HTC checkin? I don't use Facebook, Tweeter or ANY social networking app, be it from Market or built-in with HTC
[BetterBatteryStats] s2d4:
1. freeze it if you are not using it.

2. culprit seems to be com.android.providers.htcCheckin

3. your phone may be vibrating due to notifications from app or system level, change the setting for the offending app?

4. Pbly the most efficient push method on android, as apps like viber reduced its wakelocks by a factor of 10 after moving to C2DM.

5. read this for rpc http://www.javvin.com/protocolRPC.html

6. likewise with 2, no idea. maybe it's sense checking locations for the pretty weather widget looking thing?

If only other apps like skype would do the same/use it more wisely.
[BetterBatteryStats] longfeng:
try to set to airplane mode before sleeping. you eliminate a big possibility of signal seeking when the phone has no signal. it sucks tons of battery.

then we can zoom into which apps are the problems. ;)
[BetterBatteryStats] ponicpool:
I have taken a fresh reading today after a complete re-charge yesterday.

I have disabled Fast Net Dormancy.
[BetterBatteryStats] kwankl:
What caused battery drain of the phone? Low usage today really but really drop fast.

Wifi On (): 10 h 13 m 3 s (36783 s) Ratio: 88.6%

Awake (): 4 h 38 m 41 s (16721 s) Ratio: 40.3%

Screen On (): 25 m 15 s (1515 s) Ratio: 3.6%

Phone On (): 15 m 8 s (908 s) Ratio: 2.2%

My dump file:

http://db.tt/QOsUKDCW

[KERNEL] SiyahKernel v2.6.7 <--- newly updated

[ROM][XWKK5][2.3.6] CheckROM RevoHD V4

Thanks a lot.
[BetterBatteryStats] tboooe:
Possible to ever get svnet-dromancy to 0 mins?

My biggest kernel wakelock is always svnet-dormancy. According to BBS, I get about 4 mins of svnet-dormancy every hour. The best deep sleep I get is 92-93%. I have disabled any app or widget from automatically updating, turned off location service using wireless, turned off android market update notification, turned of sync, etc. The only nonstock apps I have running are Tasker, Widget Locker and Go Launcher Ex, none of which should be accessing data. I tried stopping Tasker but still see the same amount of svnet-dormancy.

At this point I have no idea what could be still accessing data on my phone. Looking at partial wakelocks, my biggest offenders are in order:

ActivityManager-Sleep (1s, count: 1504)

AlarmManager (49s, count: 1446)

E (1m 6s, count: 1034) this is Tasker

M (13s, count: 893) this is Tasker

WifiService (12s, count: 767)

Checkin Service (2s, count: 666)

ActivityManager-Launch (2m 49s, count: 638)

RILJ (1m 3s, count: 567)

Gtalk_Conn (4s, count: 557)

After that the count and time of partial wakelocks drops off significantly. Any ideas? I am even wondering if it is possible to ever get svnet-dormancy down to 0 mins?
[BetterBatteryStats] Hrithan2020:
I am right now facing a similar issue, with around 3 to 5 mins /hr phone wakeup, with no major culprit. Draining around 2 to 3% battery per hour. But, it must be said, the signal at office especially in 3g mode is very low. Do, maybe that is contributing?
[BetterBatteryStats] tboooe:
Yes, a weak signal will contribute to faster drain though I am not sure if it will manifest itself in higher svnet-dormancy numbers. I have the opposite issue. The signal at my home is strong. I get similar drain overnight.
[BetterBatteryStats] shankai:
thats great. thanks