yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] masri1987:
using Galaxy S6 on T-Mobile rooted on 5.0.2 and it is reading my battery stats wrong, isn't giving me an option besides "since boot", no "since charged" or "since unplugged".
[BetterBatteryStats] v7:
Reinstall the app.

Tapped from my furious dogo ;)
[BetterBatteryStats] sac02:
Here is an issue I noticed - sorry if this has been mentioned/solved already.

Running AT&T SGS4, rooted on custom ROM goldeneye53.

BBS 2.1.0.0_B4

When I select a package and then touch "App Ops" I get the error "Unfortunately Settings Has Stopped"

I also have BBS 2.0.0.0 and this does not happen - "App Ops" takes me to the application permissions screen properly in this version.
[BetterBatteryStats] sac02:
Also, here is the first log I took, honestly not even 100% sure I did it correctly. When I look at a couple other logs that people have posted, they have more info in the "Alarms" section than I do. (their log showed much more detail).

I wouldn't say my battery life is BAD, but it could be better. I recently installed my first custom ROM (have been rooted for 2+ years) and I was surprised that the custom ROM seemed to be worse on battery. I used to lose less than 1% per hour overnight on my stock ROM – now I'm up to 1.5% per hour according to this log. Maybe not awful, but I’m more accustomed to putting my fully charged phone down at night and waking up 8 hours later with 95% battery, not 87%.

Is there anything obviously wrong here?

It has crossed my mind that maybe my battery is just at the end of its life, it is the OEM battery that came with the phone over 2 years ago, it has probably had close to 1000 charges at this point.

Tangent thought: Is there any way to confirm the actual battery capacity?
[BetterBatteryStats] mdamaged:
Looks fine, I'm going to agree with the old battery assessment.
[BetterBatteryStats] laandennis:
Hy, can enyone please help me with my stats?

My device (HTC One M8) is always awake and I don't know what is causing this problem.

I'm not an battery expert so I don't understand a thing about the data BetterBatteryStats gave me
[BetterBatteryStats] shaggyskunk:
Well - You could open BBS - Select Processes - Right at the top of the list - You're going to see what apps are keeping your device awake

Sent From my SM-N910W8 Running Zion959's CMRemix
[BetterBatteryStats] madboymatt:
On latest B4, kernel wake lock is only showing display. Can anyone lend a hand as to why nothing else is showing up?
[BetterBatteryStats] sac02:
So specifically in regards to the com.google.android.gms alarm:

How many is "too many" or at least "a lot"?

The log I just posted showed like 16/hr (or 15, something reasonable in that range). But several times I have opened BBS and seen that package with 60, 70,or more alarms per hour.

If I see 60+ per hour, is it something that I should continue to investigate?
[BetterBatteryStats] masri1987:
T-Mobile Galaxy S6 Running TW 5.0.2

Top two kernel wakelocks are

13930000.decon_fb

and

Powermanagerservice.display

Both have the same exact time. minus 15 seconds.

Does anoyne have an idea what this is?
[BetterBatteryStats] mdamaged:
It will differ from device to device and user to user, 60-70 is nothing, when it gets into the thousands and stays there, then you may want to investigate.
[BetterBatteryStats] ney2x:
Good day!

Kindly help me. Searched this thread about "File could not be read" under Kernel Wakelock but nothing helps. Please find below dumpfile and logcat.

Thanks.
[BetterBatteryStats] srt10coupe:
recovery install zip

after install BBS 2.1.0.0_B4.apk, reboot into recovery, install BBS.zip, reboot.

after rom update install bbs.zip.

never more this:
[BetterBatteryStats] v7:
[MENTION=482743]srt10coupe[/MENTION] Install as System app,reboot and Install the apk again of top of it.

If that doesn't work,Install the app and manually move the apk to system/priv-app/ and fix the permissions.

Tapped from my furious dogo ;)
[BetterBatteryStats] xlollomanx:
If can help, I put BBS in system/priv-app then I downloaded zipme from playstore and made a flashable zip, selecting BBS in priv-app. I reflash this zip every time I flash new nightly without any problems.
[BetterBatteryStats] Celestial Fury:
How is it possible for BBS to report a drop from 100% to 95% during an overnight idle period with hardly any alarms or wakelocks? Battery health test shows battery health as still good.
[BetterBatteryStats] oo0keba0oo:
this app helps me a lot in bettery-saving~~~
[BetterBatteryStats] ney2x:
http://xdaforums.com/showpost.php?p=61445659&postcount=28864

Anyone?
[BetterBatteryStats] LeonDX82:
I had this problem

I clean flashed the rom then the batt stat zip available from the app.

in the market I updated the app and it worked.

it would not let me uninstall it even after I deleted from priv app folder before I tried this
[BetterBatteryStats] chamonix:
B5 is up with a few imporvements and preliminary M-preview support
[BetterBatteryStats] Dan33185:
Why do I keep seeing this when tapping "App Ops"? I've never had this problem before
[BetterBatteryStats] chamonix:
without more details I can not say. Does it work with a previous version of BBS? what android version are you on?
[BetterBatteryStats] Dan33185:
It has worked with previous versions, I haven't installed any system updates or changed anything like that. I'm on 4.4.4, on a Galaxy S4
[BetterBatteryStats] SuRPasser:
Guys, what causes Nextalarm tracker wakelock?
[BetterBatteryStats] TotallyAnxious:
Either an app called nextalarm (idk if there as an app called that) or the stock clock app creating a wakelock to stay awake for an upcoming alarm. It's in the name of the wake lock lol
[BetterBatteryStats] SuRPasser:
Sure, it is connected to cClock or clock system app. But if I use weather home screen cClock widget that wakelock is ok?
[BetterBatteryStats] TotallyAnxious:
Well wakelocks are an important part of android. As long as the amount power they use is acceptable for the amount of use/enjoyment you get from an app or feature, then it is okay. And that really is a opinion kind of thing. Though sometimes wakelocks go out of control from bugs/poor coding.
[BetterBatteryStats] ney2x:
Oopps sorry, I thought the details are attached in the attachments (battery_details/logcat). Anyways, here are the details of my phone:

Lenovo A5000

Version: Kitkat 4.4.2

Rooted: Yes

Kernel: 3.4.67

I already tried all the stable and beta versions to no avail. There are no Kernel Wakelocks results and even if I select Kernel Wakelocks using API under Settings<>Advanced, the result is "File could not be read. I also checked /sys/kernel/debug directory, there are no files in there :(
[BetterBatteryStats] gaich:
I reported this since B2. And it still doesn`t work, although trird party apps start AppOps without any problem.
[BetterBatteryStats] izeeqo:
Hello all people,

I come here because I need your help, I have a Samsung galaxy s4 active GT-I9295 and I have PAC MAN ROM the lollipop version 5.1 by mythi. when evening I load my 100% phone in the morning I'm at 94%, so this is not normal. I post my screens of BetterBatteryStats, I'm sure there is an abnormal wakelock or service problem etc ... Thanks for your help.

Screens are here : https://www.dropbox.com/sh/0tqbvdhwvrl5rp8/AAB5u4fc_rLv3O6r7eJ5Qdp3a?dl=0
[BetterBatteryStats] madboymatt:
This is literally all that comes up for kernel wakelocks. Any ideas why nothing else is displayed.
[BetterBatteryStats] izeeqo:
When did you install BetterBatteryStats?
[BetterBatteryStats] madboymatt:
Last week. Partial wakelocks shows all the usual stuff. But literally getting nothing in kernel wakelock section.
[BetterBatteryStats] ashwinvissa:
Proximity Sensor Partial Wakelock

Hi,

*Noob Alert*

I have been getting this wakelock for the past three weeks or so out of the blue.

I have not noticed this wakelock earlier. Can anyone shed some light on this?

I am attaching my BBS screenshots. Also, I am unable to figure out why I have such a large 'awake' time??

ps: If this is the wrong thread to post in, may I please be directed to the right one?
[BetterBatteryStats] mdamaged:
Read the op on how to provide info so we can help you. Like a BBS dump after fully charging and letting the phone idle (that means no usage!) for 3-4 hours. The screenshots are pretty, but mostly useless for proper fine-grained interpretation.
[BetterBatteryStats] ashwinvissa:
Thanks, will do! I will fully charge tonight and post first thing in the morning.
[BetterBatteryStats] mdamaged:
If you are unable to attach them to the post due to low post count, I recommend using pastebin.com. Or you can paste the whole dump in your post BUT make sure you use the hide tags.

i.e.:

[ hide]my whole bbs dump here[ /hide]

...minus the spaces I had to add.
[BetterBatteryStats] androiduser2011:
Can anyone help me with power manager wake lock.

I am on Nexus 6, Light ROM.

Please help.
[BetterBatteryStats] mdamaged:
http://xdaforums.com/showpost.php?p=61486824&postcount=28887

http://xdaforums.com/showpost.php?p=61487123&postcount=28889
[BetterBatteryStats] sac02:
Hi, I have both the paid 2.0.0.0 version and the 2.1.0.0_B5 xda version. When I open the xda 2.1.0.0_B5 version, I see that a BBS process shows in the Android app manager. This does not happen for the 2.0.0.0 version. What is the xda version doing that the paid play store version is not?

(sorry if this has been covered, but I did try to search this thread with no luck)
[BetterBatteryStats] ashwinvissa:
This is my bbs dump after three hours of no activity. Hope this helps. I have tweaked my phone so that I get very little battery drain when idle. Its this proximity wakelock that is bugging me. Along with the high awake time. I am thinking the two are probably related. For what it's worth, I got the screen on my oneplus one replaced under warranty for touch screen issues. Started noticing the wakelock after that. All tests show the proximity sensor is working fine. This wake lock shows up in CM 11s, CM 12 and Oxygen OS.

Thanks!
[BetterBatteryStats] mdamaged:
Wakelocks are normal, do not obsess on them, this is about battery usage, 2 minutes wake time out of 3+ hours is fantastic, your bbs dump looks great, there is no problem here. Enjoy your device.
[BetterBatteryStats] ashwinvissa:
Thanks a ton for your reply! You're right. I have been obsessing about my wakelocks!

This puts my mind at ease.

Thanks again!
[BetterBatteryStats] X46X:
Hi, I can't see any kernel wakelock. Where is the problem?

View attachment BetterBatteryStats-2015-06-23_074133589.txt
[BetterBatteryStats] Qwertid:
Hello!

I have a big problem with installation of this app: i have a rooted phone (OnePlus One, Rom Blisspop 5.1.1) and when I start the app it says that I have to install as a system app. I procede to install as system app and when I reboot the phone the result is .....

What can I do more?
[BetterBatteryStats] qwerty22:
BBS (any version, include B4 and B5) does not show wake locks on Samsung Galaxy S5 G900F with Android 5.0. On LG G3 - no problem.
[BetterBatteryStats] VictorC666:
Hello,

maybe somebody could help with my problem I mentioned in this thread http://xdaforums.com/galaxy-s3/help...ain-google-t2882894/post61496979#post61496979

com.android.google.gms - high battery drain

I dont want to duplicate it here, so I am just posting link.

Thank you very much.

VicC
[BetterBatteryStats] qwerty22:
1. Uninstall, delete BBS, reboot phone.

2. Copy BetterBatteryStats_xdaedition_2.1.0.0_B5.apk to /system/priv-app

3. Set permissions on the APK to 644.

4. Reboot phone.
[BetterBatteryStats] buffer overflow:
Install once again whitout uninstall first then reboot. ;)
[BetterBatteryStats] Qwertid:
Nice! It worked for me!!! thank you man!

I suggest to insert your reply in the faq post!!
[BetterBatteryStats] Temuka2011:
Help me please

Someone help me please :( my battery is draining about 40-45% during night when idle. I have freshly installed 5.0 android,rooted. Phone is Samsung Galaxy Note 3,this 4 wakelocks are killing my battery and I can't understand what is causing them :( I will attach my dump file below,thanks in advance
[BetterBatteryStats] Karpfenhai:
Looks like some sensor keeps your device awake, any chance you have some fancy features like pocket mode enabled?

Also grant root to bbs.

Regards
[BetterBatteryStats] Temuka2011:
I have turned off ALL the fancy features,absolutely all. And bbs is granted with root permissions
[BetterBatteryStats] Karpfenhai:
Hmm, from What I've found on Google it's related to the ambient sensor like pressure, humidity... Any chance it's a weather widget or an app collecting these data?

Regards
[BetterBatteryStats] Temuka2011:
Yeah I know,same info from google,but I have frosted all weather and health apps and widgets... Don't know which default apps can use that cause I have fresh android with no installed apps except viber and facebook,but before installing them situation was the same...
[BetterBatteryStats] qwerty22:
ssp_sensorhub_wake_lock (): 48 m 33 s Cnt:(c/wc/ec)804/5/805 15.4%
ssp_wake_lock (): 41 m 12 s Cnt:(c/wc/ec)802/7/792 13.1%
DS (): 39 m 50 s Cnt:(c/wc/ec)795/4/795 12.6%

Do you use any cover for your phone?
[BetterBatteryStats] izeeqo:
I use a cover, is that a problem?
[BetterBatteryStats] mdamaged:
Read the op on how to provide info so we can help you. Like a BBS dump after fully charging and letting the phone idle (that means no usage!) for 3-4 hours.
[BetterBatteryStats] qwerty22:
Maybe. Gather BBS dump without a cover.
[BetterBatteryStats] sac02:
Why does my BBS alarms output look like this:

======================
Alarms (requires BATTERY_STATS permissions)
======================
com.google.android.gms (): Wakeups: 139 (17.3 / h)

android (): Wakeups: 13 (1.6 / h)

com.myfitnesspal.android (): Wakeups: 8 (1.0 / h)

com.urbandroid.sleep (): Wakeups: 4 (0.5 / h)

com.android.systemui (): Wakeups: 3 (0.4 / h)

And not like this (pulled from another user’s log):

======================
Alarms (requires BATTERY_STATS permissions)
======================
com.cyanogenmod.lockclock (): Wakeups: 3 (0.9 / h)
Alarms: 3, Intent: {com.cyanogenmod.lockclock/com.cyanogenmod.lockclock.weather.WeatherUpdateService}
Alarms: 0, Intent: com.cyanogenmod.lockclock.action.FORCE_WEATHER_UPDATE cmp={com.cyanogenmod.lockclock/com.cyanogenmod.lockclock.weather.WeatherUpdateService}

com.oasisfeng.greenify (): Wakeups: 2 (0.6 / h)
Alarms: 0, Intent: {com.oasisfeng.greenify/com.oasisfeng.greenify.CleanerService}
Alarms: 0, Intent: {com.oasisfeng.greenify/com.oasisfeng.greenify.engine.WakeupMonitor}
Alarms: 2, Intent: com.oasisfeng.greenify.CLEAN_NOW cmp={com.oasisfeng.greenify/com.oasisfeng.greenify.CleanerService}

com.android.deskclock (): Wakeups: 2 (0.1 / h)
Alarms: 0, Intent: com.android.deskclock.ON_QUARTER_HOUR
Alarms: 2, Intent: change_state cmp={com.android.deskclock/com.android.deskclock.alarms.AlarmStateManager}

Does this have something to do with the permissions given to BBS? (reading back a couple pages I see that mentioned several times).

FYI, I've got AT&T SGS4, on custom 5.0.1 ROM
[BetterBatteryStats] qwerty22:
http://xdaforums.com/showpost.php?p=61497889&postcount=28898
[BetterBatteryStats] sac02:
OK, I had seen that but thought maybe it didn't apply as I was on the S4 and it mentioned the S5. So it's kind of more about the 5.0 OS and just Samsung in general? (sorry for my noob style questions)
[BetterBatteryStats] qwerty22:
Try a pathed version (for Samsung only):

View attachment BetterBatteryStats_xdaedition_2.1.0.0_B5.apk (VirusTotal)

1. Uninstall and delete offical BBS, reboot phone.

2. Copy the BetterBatteryStats_xdaedition_2.1.0.0_B5.apk to /system/priv-app

3. Set permissions on the APK to 644.

4. Reboot phone.

P.S. I hope chamonix will fix the problem in B6.
[BetterBatteryStats] sac02:
OK, I've been searching for about 10min without much luck, so hopefully I can ask one more question - how did I do step 3 (set permissions on apk to 644)? Feel free to link me or just tell me what terms to search if it's easier.

Thanks again, and sorry for asking questions that are probably very basic :(
[BetterBatteryStats] qwerty22:
644 == rw-r—r—

from console:

$su
#mount -o remount,rw /system
#chmod 644 /system/priv-app/BetterBatteryStats_xdaedition_2.1.0.0_B5.apk
#mount -o remount,ro /system

or from file manager:
[BetterBatteryStats] chamonix:
There is no difference between the two version except that 2.1Bx is on a more recent branch. A dumpfile (from both versions) would help me conducting further analysis
[BetterBatteryStats] chamonix:
The difference has nothing to do with permissions granted to BBS. The first shows high google play services activity with 17 wakeups per hour, the second obviously does not have the same wakeup profile. Many factors impact the behavior of google play services, like the use (or not) of google now, the state of wifi during the reading, etc.

Comparing readings between different phones / users does not make much sense to me as there is context missing. I'd rather focus on what was done prior to obtaining the second reading if you are interested (assuming the first is yours) to reach a state with less overhead cause by google's poorly designed tools (by poorly I mean from an energy footprint perspective).
[BetterBatteryStats] Dan33185:
Ok, so using 2.1.0.0_B5 causes this, but using 2.0.0.0 works fine. Something between those version went wrong. Using a Galaxy S4 on 4.4.4.
[BetterBatteryStats] aeonix_05:
[MENTION=1330150]chamonix[/MENTION] On v2.1.x BBS has a background process running. What is the difference on v2.0.x that doesn't have it. Does it drink juice?
[BetterBatteryStats] gerardo87:
App for monitoring battery (like this better battery stats) can consume a lot of battery?
[BetterBatteryStats] mdamaged:
No, it's passive, unless you enable AM, and maybe watchdog.
[BetterBatteryStats] Temuka2011:
Help :(

No,I don't use any cover,today I frosted facebook and viber,still 40% gone :(((( please help me someone :((

ssp_sensorhub_wake_lock (): 1 h 12 m 53 s Cnt:(c/wc/ec)1202/8/1202 14.9%

DS (): 1 h 36 s Cnt:(c/wc/ec)1209/7/1210 12.4%

ssp_wake_lock (): 59 m 52 s Cnt:(c/wc/ec)1145/10/1131 12.3%

radio-interface (): 54 m 1 s Cnt:(c/wc/ec)2467/31/0 11.1%

Here is fresh dump file:
[BetterBatteryStats] VictorC666:
Hello, sorry, missed it, BBS log from today attached, no phone usage (only two incomming calls).

Deep Sleep (): 2 h 45 m 54 s 58,9%

Awake (): 1 h 55 m 39 s 41,1%

Screen On (): 4 m 30 s 1,6%

I can see there is lot of alarms fired by com.google.android.gms (): Wakeups: 687 (2,3 / min)

and

wakelock SystemUpdateService (Služby Google Play): 26 m 14 s Count:730 9,3%

VicC
[BetterBatteryStats] Karpfenhai:
Hmm, please post a full logcat then..

The radio interface.. Could you repeat next night while on flight mode? Or set to 2g only if not possible.

Any chance you're using an old Rom?

Some cm11 nightlies had this issue a while back..

Also ask your kernel dev about it.

Smart stay or such is disabled I assume?

Weird...

Regards

---------- Post added at 12:28 PM ---------- Previous post was at 12:16 PM ----------

System updater...

Right now a known issue, workaround:

Install a task manager (system tuner per example) kill all Google play services process once.

Issue fixed till next reboot..

Blame Google on that one.

Happens only on 4.4.4 roms afaik..

Post another dump afterwards.

Regards
[BetterBatteryStats] VictorC666:
Thanks for advice, I'll give it a try..

Its ok service restarts itself immediately?
[BetterBatteryStats] v7:
Try the fix in my Sig.

Tapped from my furious dogo ;)
[BetterBatteryStats] VictorC666:
I'll tried it already... Didnt helped.

Did all steps from your guide...

After disabling SystemUpdateService$SecretCodeReceiver it become even worth...
[BetterBatteryStats] Temuka2011:
Smart stay and all such are on off.

rom is newest,it isn't cm11,stock android 5.0

and about radio interface,i tried with airplane mode and instead of 40%,there was only 5% battery drain 2 nights ago...

So summing all this up,any ideas? ...
[BetterBatteryStats] Karpfenhai:
Hmm, not really, go fpr latest 5.1.1 rom then ;)

or try other kernel...

or enable smartstay then disable again, maybe its a false positive...

No further ideas then...
[BetterBatteryStats] Karpfenhai:
Hmm okay but it looks better, next step disable location services completely, wipe cache and data for play services and service framework.

See how that goes.

Regards
[BetterBatteryStats] chamonix:
just curious: any feedback on BBS running on M preview?
[BetterBatteryStats] Smultie:
Yeah. It doesn't work really.

Always start with the "install as system app" screen, even after returning from the settings screen.
[BetterBatteryStats] Burgscheinkerkdeiktraast:
I have problems with installed CM 12.1 ROM, to be precise it is Blisspop ROM based on _r3 release.

My battery usage is about 10% per hour which is way too high - and this is just with screen off. Imagine I turn phone charger off at 10 o'clock and must plug it in again at 16:00.

I tried to freeze Google Play Services' activity (wakes or sleep) without results.

I attach logs - text and logcat.
[BetterBatteryStats] mdamaged:
Well, first, you should provide a dump that's at least 3-4 hours of idle. Second, initial impressions seems to indicate that your battery might just be a bit old, hence the quick drain.
[BetterBatteryStats] Burgscheinkerkdeiktraast:
I attached logs, I guess it is called a "dump".

Yeah I know initial impressions can be misleading but nobody has ~10% battery drain per hour according to BBS. In the first post it is written 1-4 hours, I gave 1 hour. Should I give full 4 hours?
[BetterBatteryStats] mdamaged:
Yes, give at least 3 hours, or don't, its up to you. But like I said, based on the dump you did provide it looks like it might be time to just buy a new battery, they don't last forever, they can be had for like 10 bucks.
[BetterBatteryStats] Burgscheinkerkdeiktraast:
OK so I give 4 hours tomorrow.

Regarding battery itself, on stock ROM (NeatROM 4.12) I had 3% usage per hour. On CM 12.1 almost 10% so it is not battery's tear issue.

And yes I am aware its capacity is lower than 3 years ago but we talk about system's percentage of usage per one hour :cool:
[BetterBatteryStats] mdamaged:
If you are correct, then it would mean it's likely at a kernel level, likely the radio, who knows with CM.
[BetterBatteryStats] relaxable:
So, my first post in this thread and pretty new to BBB - I've tried it a couple times in the past but just couldn't deal with the UI.

Now, making a big effort, but am I missing something? It's like I need a MAGNIFYING GLASS to read a lot of the important information! I haven't read the >2800 posts here, but I did search for font size, and went to 'Customize Views' and selected the biggest possibility on the 'Medium Font Size' (is there a LARGER font size - Medium seems to be the only thing here) - and while the main 'headings' are quite big enough (perhaps even bigger than I would care for), the important info below it - the package name, the wake lock counts & time, etc. - is just minuscule. I have never seen an app so undreadable - and unzoomable - except possibly the Terminal Emulator App :>

So, I will try turning on the 'Accessibility - Magnification gestures' which I've never ever had to do with any app before (except I guess I could have used it in Terminal Emulator - i just chose something else instead).

But, is there any reason there isn't ability to get decent size text in this app without resorting to these tools for the "impaired"?
[BetterBatteryStats] mdamaged:
Post a screenshot. The font size is more than adequate for me, and I hardly have 20/20 vision, and my phone is a Moto G, hardly a big screen device.
[BetterBatteryStats] relaxable:
OK - so it's a Nexus 6 & I guess the screen is 1440x2560, and I think if you size the image to the 5.96" of the actual screen, you will have little trouble seeing what I mean, and a lot of trouble reading the details.
[BetterBatteryStats] v7:
Why don't you manually move the app to system/priv-app,fix permissions to 644, do a reboot and report?

Tapped from my furious dogo ;)
[BetterBatteryStats] Gandicela:
I'm not sure if this'll work for you.
[BetterBatteryStats] v7:
This is exactly what I explained in the post above your's.

Tapped from my furious dogo ;)