yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] thegios:
Overnight discharge

I am having problem with overnight discharge.

I have a rooted Sony Xperia Z1 with KK 4.4.4

I have always on: google now, location, wifi, 3G/LTE, sync

With JB 4.4.2 I would leave the phone at 100% and after 8h untouched during sleep, I would get 99%

With KK 4.4. I now get 92%

I attach better battery stats screenshot: I do not see anything strange
[BetterBatteryStats] jonneymendoza:
Kernel wake locks Does not work on my rooted note 4 device running stock rom. Any suggestions?
[BetterBatteryStats] Smultie:
I have the exact same problem.
[BetterBatteryStats] Aerowinder:
Try setting location mode to Device only and turning off Google Now for a night.

I suspect the issue is with Google services, this is how we confirm that.
[BetterBatteryStats] thegios:
I will try, but still: with all on on JB 4.4.2 I didn't have this problem...

I still would like to know if anyone sees anything strange from my screenshots
[BetterBatteryStats] chamonix:
alogcat or it didn't happen
[BetterBatteryStats] chamonix:
This is a bug of CM / derived ROMs, not of BBS
[BetterBatteryStats] chamonix:
Thank you very much: #639
[BetterBatteryStats] jonneymendoza:
uhh? in english please? when i view karnel wakelocks on batterstats, nothing appears
[BetterBatteryStats] Alexey71:
Hmm bbs 1.1.16.0 - 2.0.0.0B1 normal
[BetterBatteryStats] jonneymendoza:
Look mate no wake locks
[BetterBatteryStats] henry8668:
AbstractStartSIMService?

Lenovo K910, last night 1.9% per hour on standby. What is this AbstractStartSIMService and how to fix it? See attached screenshot. Thank you!
[BetterBatteryStats] chamonix:
b1 and previous version did not use appcompat and fragments for prefs, the later betas and rcs do
[BetterBatteryStats] xavihernandez:
[MENTION=1330150]chamonix[/MENTION] Just created pull request for French translation #640.
[BetterBatteryStats] chamonix:
Thanks / merci!

Will be in b5 / je vais l'incorporer dans la version b5

And yes I confirm: French is about 70% more than English. I reminds me of my time at University, comparing book page numbers between French and English :)
[BetterBatteryStats] chamonix:
I may be here tomorrow morning but still, time zones and all.....

I wish you guys merry Christmas. Enjoy the time with your families and/or dear ones!!!
[BetterBatteryStats] Karpfenhai:
I was just about to write the same [emoji2]

Best wishes to all of you guys, even if you don't celebrate Christmas in your religion, bless you all!

Regards
[BetterBatteryStats] xavihernandez:
Yep English is shorter.

You seem to have good rest in French :)

Merry Christmas Eve to you and everyone here.
[BetterBatteryStats] chamonix:
Could you please PM me your details so that I can add you to the credits?
[BetterBatteryStats] seky2205:
You didn't put me in first post. Only app ?
[BetterBatteryStats] chamonix:
Sorry for that, I didn't mean to forget you. Fixed!
[BetterBatteryStats] ballmead:
Does anyone know what a kernel wake lock called "sensor_ind" is related to? It seems to be keeping my phone awake.

Sent from my Nexus 5
[BetterBatteryStats] Karpfenhai:
Let me guess.. nexus 6 ?

Disable video chat service in hangouts and you should be set, reboot afterwards.

Regards
[BetterBatteryStats] Smultie:
The "sent from my Nexus 5" signature could lead you into a certain direction!
[BetterBatteryStats] ballmead:
Nexus 5, running 5.0.1.

It seems to be gone after a reboot.

Sent from my Nexus 5
[BetterBatteryStats] Celestial Fury:
The screenshots show NLP wakelocks. I also have Z1 with 4.4 and these are common. See my sig for comparison and how to fix them.
[BetterBatteryStats] Smultie:
Yeah, great. Not very useful on Lollipop though ...
[BetterBatteryStats] Celestial Fury:
Well, you did say exact same problem. . .

I can't help with Lolipop.	[Battery Drain] [Lollipop] [LRX21O] .
[BetterBatteryStats] thegios:
Thanks will try...

I am sure must be NLP wakelocks that were low on .108 ROM but do not remember how I did it...
[BetterBatteryStats] chamonix:
2.0RC5 has been committed with some minor tweaks and more I18N. Please update your translations, I will build and push tonight.
[BetterBatteryStats] Karpfenhai:
Sven.. it's Christmas time. .. have a break... [emoji319] [emoji318] [emoji320]
[BetterBatteryStats] Spaulding89:
+1

Sent from my lollipopped Bacon with loaded AK Kernel
[BetterBatteryStats] :
Have a KitKat :D

Sorry couldn't resist [emoji14]

Merry Christmas all, especially to Sven, Karpfen, Itler and all others who were, and still are, helping users in this thread.
[BetterBatteryStats] baherkilani:
Dear [MENTION=1330150]chamonix[/MENTION]

kindly note v2 RC5 not including your attachment?

the one has the #639

advice please
[BetterBatteryStats] chamonix:
because it is not release yet
[BetterBatteryStats] xavihernandez:
I'll try to update tonight as I am not at home. I have to locally sync repos at home as I have only did at work.
[BetterBatteryStats] chamonix:
No hurry, the release can wait until tomorrow
[BetterBatteryStats] code010101:
BTW it would be possible to have a grid in the battery graph, as in the 1.x versions?

* OneX+ Tapatalk4 *
[BetterBatteryStats] Spartan199:
Hi. Can anyone tell me what is the cause for the exynos5-fb.1 wakelock .
[BetterBatteryStats] thegios:
It is even worst now!!!!

And I paid for the app...
[BetterBatteryStats] triathlete66:
+1

and a higher percentage Y-axis for battery graph
[BetterBatteryStats] chamonix:
#649
[BetterBatteryStats] seky2205:
Install xposed if you are not on lollipop and in xposed install amplify
[BetterBatteryStats] chamonix:
2.0RC5 is up
[BetterBatteryStats] meduza:
Thanks!! Proudly confirming there is no more app crashes, when long press the items while using German language :)

m.
[BetterBatteryStats] xavihernandez:
Hi peeps,

I'm sorry if it has been asked yet I have searched quickly but haven't found an answer.

What are those *alarm* in Partial Wakelocks? BTW what do you think about this report?

http://pastebin.com/s4UzaK1D
[BetterBatteryStats] Celestial Fury:
PMed you.
[BetterBatteryStats] fdc77:
anyone have graphic problem in setting menu ?

problem appear on i9505
[BetterBatteryStats] guido_glx:
Are you using a CM ROM?
[BetterBatteryStats] fdc77:
yes CM11 last nightly
[BetterBatteryStats] guido_glx:
I knew :p
[BetterBatteryStats] LGLCB:
Hi, I'm using a Nexus 5 with 5.0.1 stock and with no root, and whenever I try to go the graphics, the app closes. It happens the same to a friend of mine. Any solution?
[BetterBatteryStats] Karpfenhai:
More info, did you update or fresh install? Which bbs version?

Tried clearing app data?

Regards
[BetterBatteryStats] paul c:
flashable zip for lollipop

I was trying to use the flashable zip in the OP - with the latest BBS - to be able to install BBS as a system app after flashing the latest Lollipop nightly for my Nexus4.

The standard way after flashing is to open BBS, install as a system app, then reboot - but after waiting for Lollipop to start after wiping the caches, I'm looking for a way to make the process a bit faster :)

If I drop the latest RC into the flashable zip, and then try to flash in recovery, it fails. Not sure if it's the name of the app on the manifest/some file paths etc which are incorrect.

Would it be possible for some kind soul to update the flashable zip so that it can run on Lollipop?

Thanks in advance!
[BetterBatteryStats] LGLCB:
Well, I installed it long ago in KitKat, but not after updating to Lollipop and resetting. I downloaded the last version, I think it's RC5 or something like that, and immediately the error appeared.

Thanks for your quick reply
[BetterBatteryStats] chamonix:
Why not simply use the flashable bbs zip from post #3?
[BetterBatteryStats] chamonix:
Please post a logcat? BTW with Lollipop and no root you will get almost nothing out of BBS, except if the system app is installed
[BetterBatteryStats] paul c:
Yes, that was what I had been using, but adding the latest BBS. Will that version and the associated script, from March 2014, run OK with Lollipop?
[BetterBatteryStats] LGLCB:
​

How do I do that? But at least the partial Wakelocks?
[BetterBatteryStats] Kevin cracolici:
I cannot get it to install as a system app, the way it always had since going to lollipop. Even trying the system app zip, when installing that it boots into recovery and the installation always fails. Running sph L720 from sprint
[BetterBatteryStats] jukyO:
Search for aromafm, aroma file manager on xda.

Install bbs.

Reboot to recovery.

Mount 'system'

Flash aromafm, it will pop up file manager gui.

Go to '/data/app'. Select 'com.asksven.....betterbattery....' folder, and cut it.

Navigate to '/system/priv-app' and paste it there.

Quit aromafm, unmount 'system', reboot.
[BetterBatteryStats] chamonix:
no, the recovery zip works as-is and should not be changed. In the zip is a dummy app that is only there to request the perms and should not be replaced. As the app itself is not installed on the system partition flashing a rom will not replace it: flash rom, flash bbs recovery
[BetterBatteryStats] qwerty22:
RC4 can`t save logcat if has problem with the mediaserver (crazy mediaserver). This is the second case in my practice.

View attachment BetterBatteryStats-2014-12-28_134558919.txt

View attachment logcat-2014-12-28_134558978.txt

Updated to RC5 now. If the problem is continues, I will inform about it.
[BetterBatteryStats] paul c:
Ah, got you! Thanks, a lot simpler than what I had understood - a great solution too, since that means I don't need to recreate a shortcut to bbs on the launcher :)
[BetterBatteryStats] Thomas_BA:
Well folks i come from a Moto X and now on Xperia Z1. Greenified some wake-lock and RILJ hooks and here we go. I think there is not much room for optimization :) Wifi on, Tasker and some other background apps running but did not use Stamina!

General Information

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

BetterBatteryStats version: 2.0.0.0RC5

Creation Date: 2014-12-28 12:44:45

Statistic Type: Unplugged to Current

Since 9 h 43 m 46 s

.....

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

Battery Info

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

Level lost [%]: Bat.: -1%(100% to 99%) [0,1%/h]

Voltage lost [mV]: (4240-4188) [5,3%/h]

Lucky me :)
[BetterBatteryStats] thegios:
How did u do that?

Have same phone, same ROM, rooted, stopped many services, uninstalled plenty of app, with no avail
[BetterBatteryStats] chamonix:
What do you mean with 'can't save logcat'?
[BetterBatteryStats] Rapper_skull:
[MENTION=1330150]chamonix[/MENTION] I improved the Italian translation. I forked BBS on Github and changed /res/values-it/strings.xml. Is this correct?
[BetterBatteryStats] chamonix:
Correct. finally you submit a pull request with the corrections.
[BetterBatteryStats] chamonix:
Any feedback on the partial Arab translation in regards to right-to-left layout?
[BetterBatteryStats] Thomas_BA:
Well not much.

1. Greenified most social apps like Facebook, Twitter, Hangouts, Google Plus, etc. All those who have GCM incorporated. Also Whatsapp. Working perfect. Those social apps are wake-lock hooks.

2. All RILJ hooks like Google search, Maps

3. Disabled Location completely (with Tasker i enable it when needed for some apps automatically)

3. Disabled automatic update checking in Google Play, Youtube, etc. Also all search history is disabled.

4. Froozen all apps i do not need like the addons for the stock cam, i use FV-5 camera.

5. Disabled some services of apps i do not need at start-up or i did not use with "Disable Services" app.

Nothing more.
[BetterBatteryStats] qwerty22:
Usually I do not have problems with saving logcat from BetterBatteryStats. But if /system/bin/mediaserver goes crazy, BetterBatteryStats saves empty logcat or few strings maximum. I don't know, a problem in BetterBatteryStats or in "logcat - v time - d", but the problem is present.
[BetterBatteryStats] godlesplay:
hi could anyone help me with these wakelocks?
[BetterBatteryStats] suku_patel_22:
Would it be possible to have a reference based on time. For example, instead of unplugged, may be we could have from 10PM to 11PM
[BetterBatteryStats] jacknicholson:
Aside from manually setting a custom reference, you could have the process automated with Tasker, thanks to BBS's built-in plugin.
[BetterBatteryStats] chamonix:
or use the active monitoring option to create timed refs
[BetterBatteryStats] kench33:
Been having bad battery drain, this is after an hour or so of not using the phone except I was getting texts and I'm not positive if that caused any problems. Also no root so can't do partials
[BetterBatteryStats] Nil253259:
What should I infer from this one?

If i should provide log let me know!

BTW..no significant kernel wakelock
[BetterBatteryStats] Karpfenhai:
Disable cLock, not clock, it's a known hog.

You should not miss it.

Regards
[BetterBatteryStats] Firnagzen:
Hello,

I've noticed an awful battery drain issue over the past few days, and been trying to do some debugging; here's a BBS dump, I hope someone can help me? The key thing is - 99.3% deep sleep, but a 6.9%/h battery drain. I'm worried that it's simply my battery being too old.
[BetterBatteryStats] mdamaged:
I'm going to say I'd agree with you wrt the battery being the culprit, if this kind of loss is reproducible consistently, it would seem like age or defect.
[BetterBatteryStats] sewe:
Is this something that more people have problems with? Although I fully charging it becomes like this, it only happens on the "screen off". If I restart the phone it works as it should till i charge the battery again

SM-N9005 via Tapatalk
[BetterBatteryStats] FunDionysus:
BBS app wants access to my phone pivacy

Installing the BBS XDA App I'm asked to allow the app permission to read whether a phone call is active, read remote number connected by a call, etc.

Why does the app need there perms? Does the app make calls and/or send/receive text messages on its own?
[BetterBatteryStats] chamonix:
see the app description on gplay about perms and the reason why they are required / what they are needed for: https://play.google.com/store/apps/details?id=com.asksven.betterbatterystats
[BetterBatteryStats] chamonix:
it's not quite time here yet but we are an international community so here we go:

I wish you and your families a happy new year!!!
[BetterBatteryStats] chamonix:
if your phone reboots when doing a 'dumpsys' then you have a serious problem of stability and it does not come from BBS (an app can not do that). It would be great if you could provide a logcat
[BetterBatteryStats] chamonix:
RILJ has noting to do with FM radio.

What command are you entering when you dump from terminal? I believe the perm problem tather comes from the place you try to write the output to rather than from 'su' rights as SuperUser would pop up to if su was executed (except if your terminal was permanentely revoked su rights)
[BetterBatteryStats] chamonix:
The cause of the roundabout 20 minutes awake during this reading is network traffic. That is obviously cause by apps:

- facebook

- sync (gmail, gdocs, google reader)

Looking at the alarms android and gsf is nothing that can be really conditioned (except if you have something like auto checkin or latitude on), #3 is facebook (evil) and after that comes g+ (did you take pics during the reading?)
[BetterBatteryStats] chamonix:
Good to hear that the FCs are gone at least. As I said before those where the symptom but not to root cause. No we can start focussing on the service binding getting "lost" after some time.

I don't want to blame anyone and for sure the MIUI guys didn't break anything on purpose; that's the reason I don't like that word.

It would help if you could provide a logcat of a situation when the data stops being delivered. In 1,5.1 I have added some code of the sequence where the service binding is getting created and I'd like to know exactly at what step it fails.

Depending on what fails I may try to cache the binding to see if that helps.
[BetterBatteryStats] chamonix:
omg, it looks like you have all the bloatware installed one can imagine. Start cleaning up a little based on this list:

- network location cause by com.waze.Waze

- network location caused by maps (latitude, places with check-in enabled?)

- com.smartappers.appusage.AppUsage is wakeing up your phone a lot

- com.seven.Z7.Social Hub: bloatware

- Whatsapp: causes lots of sync, it's bad by design

- network location caused by skype: check your settings, you should be able to diable that

- network location caused by facebook: check your settings, you should be able to diable that

- your GPS is on: turn it of when unsused (as you can see above all apps go crazy when GPS provide fine grained location)

- wifi: wifi should be set to turn off when screen is off or turned off completely when not needed to avoid that huge amount of wakelocks
[BetterBatteryStats] ponicpool:
Thanks for the reply.

I will wait for this battery cycle to be drained and will a fresh reading again after recharge.
[BetterBatteryStats] Braneless:
Is this an ICS bug? I never use bluetooth, but it's showing a lot of activity. Inversely, I frequently use wifi but its graph is empty:
[BetterBatteryStats] CRXed:
Well, it looks pretty good, only 4 min awake in 5,5 hours! Of which 3 min are actually the screen on.

But it does not match your screenshot, because there is a long period of Awake in the graph. I don't know why that is....
[BetterBatteryStats] jeremysherriff:
Hi, I have applied all my own knowledge and come up with nothing, can anyone else help identify what's draining my battery?

My best guess is it's this:

Kernel Wakelocks
================
"rpcrouter_smd_xprt" (): (0 s) Cnt:(c/wc/ec)13666/717/0 0.0%

but I can't find any useful (understandable!) info on it.

PS the batterystats dump was taken after 7.5 hours of idle time overnight.

Thx!!
[BetterBatteryStats] EyeTech:
By 'dumpsys' do you mean choosing 'Dump to file' from the more menu? If so, that works fine. It gets root and doesn't hang or reboot. It's just going into alarms that causes it often (but not always) reboot. I'm away from my computer for a few days. Is it possible to create a logcat just from the phone? I have always made them when hooked up to a PC before now. I guess it may not be able to save the important log prior to reboot. Failing an easy way to get a logcat from the phone alone, I'll get one together in the next few days.
[BetterBatteryStats] DoctorKur:
chamonix, many thanks for your work.

But I need help.

I gather terrible information about my phone.

It has about 2000 wakelocks in 36 hours by “sleep_broadcast” process.

Do you have any information about what it is?
[BetterBatteryStats] jeremysherriff:
@Atticustrd, dude can you put [CODE ] ... [/CODE ] tags around that output? Or replace it with an attachment?
[BetterBatteryStats] jeremysherriff:
Wakelocks themselves aren't a bad thing, just excessive wakelocks are bad.

In that 7.5hrs of sleeping, your phone wasn't awake much. Did it lose much battery?
[BetterBatteryStats] superbobup:
In this time, it lost about 7-10% IIRC. I know this isn't much with respect to most phones, I'm simply comparing it to others with the same setup that get less than half that drain.

The thing I'm more confused about is why those wakelocks were there to begin with when the services are disabled

EDIT:

2things

First, I saw under "battery" long stretches where the phone was "awake" but I agree with you that it doesn't seem like it was awake for long.

Also, what exactly is this wakelock?

com.google.android.gsf
[BetterBatteryStats] jeremysherriff:
Google Services Framework. So, any sync activity to Google - G-Talk, backup (if you've activated that feature), Latitude etc etc. Most people find they didn't sign out of Latitude and its set to sign in automatically or something similar.

7-10% is quite a bit considering it appears to say your phone was only awake for 4.5 minutes via wakelocks (Awake 7 m 52 s - Screen On 3 m 25 s ).

Sign out of Google Talk and anything else that makes sense.

You say "disabled" but I clearly see GTalk a number of times so it's doing something.

FWIW my phone was losing between 0-1% overnight on a CM7 build, with wifi set to "sleep never" so it's definitely possible ;)
[BetterBatteryStats] superbobup:
Thanks, I had a feeling it was those...Also, I was reading up on this thread (http://xdaforums.com/showthread.php?t=1387243) that stated this about GTalk. Might be useful?

As for the other stuff, I specifically signed out of G+, Maps, Latitude and GTalk. Next, I "force stop" in Apps. Finally, I "disable" in Apps. I've also disabled Backup and wifi was not running at all. I also had decent reception on 2g (about -81 dBm, battery graph shows it as "green" all the time)

At this point, I'm sure you're just as puzzled as I am as to why I have these wakelocks :D
[BetterBatteryStats] jeremysherriff:
As I said, wakelocks themselves aren't an issue but excessive wakelocks are. 82 in 7hr is only 1 every 5 minutes, I currently have an issue that raised over 13,000 in the same period (lol, sigh).

Maybe someone else here can provide more assistance, but I'd ignore those wakelocks and look more to the kernel wakelocks? ICS seems to be a different beast!
[BetterBatteryStats] ambrar12:
Just looking at my alarm dump: does anyone know exactly what "android.intent.action.TIME_TICK" is? I tried disabling the time syncing settings but that didn't do anything.
[BetterBatteryStats] mdamaged:
Same to you and yours!
[BetterBatteryStats] Darke5tShad0w:
It is already after lunchtime here new years day lol but same to you!
[BetterBatteryStats] rene_r:
Sometimes my phone enter deep sleep only after a long time >30 min, and I have no idea why, I only see alarm wake locks, maybe someone could help me. It happens on Franco kernel and on elementalx as well. Thx in advance
[BetterBatteryStats] It_ler:
Had a strange fireworks alarm and New Year's Eve wakelock during the night. [emoji33] [emoji6]

Thanks Sven for the wishes. Hope you will have a very happy new year too [emoji106]

My tapatalk signature:

Device:

SGS5 (SM-G900F)

ROM:

AllianceROM v5.6

Kernel:

Stock G900FXXU1ANG2

Recovery:

TWRP

Modem:

G900FXU1ANG7

If you have any question about or any issue with your SGS2, just ask in the New members friendly Q&A thread.

... for the SGS5, just ask in the Noob friendly S5 All in one support thread

If you need general help/assistence, please go to XDA-Assist.
[BetterBatteryStats] BigLisy:
Where does all this awake time come from? I can't quite get a clear picture of it.
[BetterBatteryStats] :
[MENTION=1330150]chamonix[/MENTION],

The dialogs have keep holo style on my device, please use this following library for bring full Material-style dialogs for all.

Thanks in advance.
[BetterBatteryStats] Osama Zabin:
I browsed all menus to find the option in order to check translation/layout, but unfortunately couldn't.

Sorry but how can I change the language?
[BetterBatteryStats] suku_patel_22:
What's this checkin service?
[BetterBatteryStats] chamonix:
What dialogs are you talking about? Please be a little more specific in reporting issues.
[BetterBatteryStats] chamonix:
The translation follows the device's locale. auf your device is set to Arab bbs, or at least the translated part should follow. If you devices uses the locale please tell me what is the locale's name so that I can do some (optical) tests
[BetterBatteryStats] :
All dialogs such as on the screenshot in attachement.
[BetterBatteryStats] Osama Zabin:
The right to left layout seems Ok after checking the menus, as you've already mentioned the translation is partial, many menus are still not translated,

Main screen: Only numbers are translated in Arabic, other words are still in English (Pic-1), same applies for "Share Data as" option (Pic-2), and menus (Pic-3)

Also settings are partially transalted (Pic-4) & (Pic-5)

Again, the layout initially seems Ok.

You can check it yourself by changing your device language to any local containing العربية word. There are many entries showing same word, select anyone of them.

To make it easier for you going back to your language, please check this snapshot, I myself spend sometime to find the correct menu to revert back to English ;)
[BetterBatteryStats] chamonix:
Does this apply to dialogs from preferences (in that case it's a bug in appcompat) or also to other dialogs?