yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] edpo1976:
Thanks, dude.

I'm testing Bobclock, i like it very much.

I'm using the option to open clock system when pushing the Bobclock widget, i don' know if this could keep my phone awake when the screen is off.

By now, I've let my screen off for 20 minutes and, when i've turned it on, the widget showed the current time (it seems to be updated). Does this means that Bobclock updates time even when the screen is off?. In that case, it would't be very useful for me, as i said i'm looking for a widget clock that doesn't cause wakelocks.

Thanks again
[BetterBatteryStats] nobnut:
Just because the clock isn't 'updated' when the screen is off, doesn't necessarily mean that partial wakelocks won't occur. 20 minutes isn't long enough to test properly.

The best way is to run your phone for at least two hours (or overnight) with the screen off and not plugged in. Then check BBS.

I haven't yet found a clock that does cause wake but different ROMs and different kernels on different phones produce different results.

See which works best for you.

EDIT: What I said is partially untrue. I have used a clock and weather widget which caused wake before now... but the wake was caused when the phone woke up to refresh the weather every hour. It was fixable under settings however. I set it to ignore the refresh when phone was not awake.
[BetterBatteryStats] edpo1976:
Ok.

I'll test it with BBS, and post the results.

Thanks
[BetterBatteryStats] IJskegel:
Sorry for this late reply. I'm posting it anyway because someone might find it useful.

The problems with LocationManagerService wakelocks when in flightmode seem to be related to the setting to backup settings to Google servers.

I switched it off and have not seen the mentioned wakelocks anymore.
[BetterBatteryStats] nobnut:
That is interesting.

I always suggest to people to turn the backup service off, but you have found another reason to do it. Good catch.
[BetterBatteryStats] Simba501:
Not necessarily (even if it was, it would have literally no effect on your battery). I've used Bobclock for a long time and I've never had a wakelock. But as the previous person said, you can test it with BBS, but you won't find anything. You seeing the current time when the device wakes just means it changed before you were able to see it. Not necessarily a bad thing.
[BetterBatteryStats] nobnut:
Absolutely.

Very few widgets update their content when the screen is off. The same as very few widgets update their content when the widget isn't visible (i.e. if the widget is on homescreen 1 and you have homescreen 2 visible).

A widget's screen contents being updated and a background process being initiated by the app concerned are two different things however.

When the screen is 'redrawn' following the device being woken up, or the user changing home screen (by flicking from one screen to another), the new content will be displayed. Sometimes you might see this happening and other times you won't.

It is hard to say that just because you don't see the new content appear briefly, that it has therefore been updating while the device is supposed to be asleep.

A logcat will tell you what is happening... but this is taking things a little too far I believe. BBS provides everything you need.

If something causes wake, you can fix it. If there is no wake... who cares ;)
[BetterBatteryStats] edpo1976:
Thank you, guys.

I don't know much about this staff and I was a little "scared" of the use of certain widgets and its effects on battery life. Before BBS, my battery drained all the time, it lasted less than 20 hours. Now, it is easy for me use the phone for three days and a bit without charge (limited/normal use). I'm trying now to learn what apps or widget are harmless for the battery.

By now, the widget clock does't seem to awake the phone. You're right.

Thanks.
[BetterBatteryStats] chamonix:
Testing requested: v1.3.1 with more logging

I have been checking the code and android sources over and over and I can't see anything wrong with my code regarding kernel wakelocks.

The problem is I can't debug it because debugging requires USB to be connected and that seems to prevent the bug from happening.

The current version does not attempt to fix anything, I have just added quite some logging to hopefully be able to narrow down the problem.

If you can reproduce the problem please post a logcat, if you don't know logcat please ignore this post.

Of course I am testing too but at least at my end it's not systematically occuring.
[BetterBatteryStats] nobnut:
You are correct (of course). The issue lies in the kernels. They are not bad or wrong... but just don't support certain log output.

The solution is simple... if people want BBS... either get the kernel Dev to support it, or change kernel.

This never happens on a stock kernel ;)

Sent from me to you using stuff
[BetterBatteryStats] edpo1976:
Hi.

I've just purchased BBS from market, and I've got an strange message after the installation in the notification bar (something related with the sign).

Anyway, my account on Google Market informs that BBS is installed but, how can I confirm that the app running on my system isn't still XDA version?.

I only see on menu (Go Launcher) one icon of BBS, I don't know if this means that installation of the market version was not correct.

Thanks for your support.
[BetterBatteryStats] tristecire:
@ chamonix

20, or more hours running gokhanmoral's last beta ( 2.2B6 now, but all the

other ones, as they come )

Nothing in kernel wakelocks. blank screen.

But if then i make a reboot

, then here they are, and they talk about things before the reboot. Much things happening.

Maybe it can help ?
[BetterBatteryStats] chamonix:
if market tells you it's installed it is not the xda one as market uses the package name and not the app name. Both apps are kept in separate namespaces to avoid conflicts
[BetterBatteryStats] chamonix:
I totally agree. Crippling kernel or userland is not helping anyone and is often done for wrong reasons anyway.
[BetterBatteryStats] It_ler:
No deep sleep > awake 100%.

Here is the (kernel) wakelock:

"rx_wake" (): 8 h 27 m 19 s (30439 s) Cnt:(c/wc/ec)0/0/0 99.8%​

Hmm ... as your phone is not rooted, we can not see much more.

There is something keeping an internet connection through your wifi.

Maybe you should try with wifi turned off.

But to indentify the real culprit, you may have to root your phone, enable root options in Advanced and TICK all stats in Dumpfile menu.
[BetterBatteryStats] Karpfenhai:
Does it persist in flightmode? Maybe it's a bad cell tower.. are you on Stock Rom?

Tapatalked from my Galaxy SII
[BetterBatteryStats] DirkStorck:
It persists in flightmode until I reboot the phone. Than it goes back to normal.

This happens on my 2nd ROM SlimBean. I can't remember have seen such a behaviour on my Sammy ROM before.
[BetterBatteryStats] Karpfenhai:
okay, let's go further, does it only happen after you had the charger plugged in?

Tapatalked from my Galaxy SII
[BetterBatteryStats] ipprof:
I just wanted to say I appreciate all the work you put into this. It's really generous of you and you're obviously a real mensch. Apparently I didn't need help. My dump was pretty good, I understand, but I know you would have helped if I needed it.
[BetterBatteryStats] thegrantonstarcause:
Yes, I did listen to music for about that amount of time.

Idle dump from roughly last 4.5 hours attached. Reboot phone and didn't touch it at all during that period. This time it's losing about 3.7% p/h from the logs which is about average for during the day.
[BetterBatteryStats] loki993:
Could someone take a look at this dump file please? I tried 2 different ROMs and am getting horrible battery life, with very little use. Both are JB 4.2.2 bases one is CM10 and the other is PAC.

On the PAC build it seemed that sdio_dmux was the issue maybe. Seems to be the same here too as well as wlan_ctrl_wake. At least to start off with.

Here's the thing though, if I do a full charge, take it off and do nothing its fine, obviously unrealistic. But once I get a groupme message or check FB or something then it just drops like a stone.

thanks
[BetterBatteryStats] elitemeat:
Okay I downloaded the app called Sensor Test. Under orientation, accelerometer, magnetic_field, gyroscope, and pressure, ALL the values are fluctuating rapidly. Like the numbers are changing so rapidly I cannot even read them. They do not stop changing. Is this causing my wakelocks? I downloaded another app called My Android Sensors and it is having the same issue. Only the light and proximity sensors seem to have accurate values that respond to me actually covering the sensors. I attached a photo for reference (the numbers are moving rapidly but obviously can't see that in the image). Another weird thing, even though my sensor value readings are wonky, I am still able to use the screen orientation with no problems (the screen rotates normally when I rotate my phone).

I do not have chrome installed on my device.

Last night I experienced another terrible drain of about 51% over 8 hour period. (Attached) log says suspend_backoff again. But past 3 nights before that I didn't have the same drain. For example three nights ago, I left my phone on overnight and it only went from 97% to 94%. I thought my phone was okay but I still wasn't getting amazing battery life only about 18 hours with 2 hours screen-on.

It is so frustrating that I can't even use my phone. Assuming the sensors are indeed going haywire, what can I even do to address this?!?! Months ago, I used to be getting at least 36 hours battery with 4+ hours screen-on with my usage. Same usage nowadays, best I've got is 18 hours with 2 hours screen-on, worst I've got is 50% drain in 8 hours with literally 0 hours screen-on.
[BetterBatteryStats] Karpfenhai:
The sensors shouldn't go mad if the phone sits still on a table (except magnetometer).

You're not rooted, it's really hard to tell...

I would try to take a backup (titanium + sms backup and restore) and doing a factory reset, better choice (imho) flash latest cyanogenmod.

See if the issue persist then.

Sorry for not having a better advice...

Tapatalked from my Galaxy SII

---------- Post added at 07:23 PM ---------- Previous post was at 07:19 PM ----------

Okay, it's not to bad... But... your dump clearly points to an active data connection.. either your reception is really bad or something is trying to connect very often... search for fast dormancy toggle in playstore (reboot required) and disable all sync activity (for testing purposes) should be way better then.

Good luck

Tapatalked from my Galaxy SII
[BetterBatteryStats] elitemeat:
I am rooted I even posted my old log (attached- had the same drain almost as the one I just posted) and you replied to it. I just turned off BBS root access recently because I thought it was causing drain. And yes all the sensors go mad sitting still on the table and whatever position I hold it in.

Thanks for the help. I appreciate your effort and time reading my logs. Hopefully I can find a solution.
[BetterBatteryStats] Gogeta:
BBS is eating my battery like hell:eek::confused:

Log is not idle but BBS is keeping phone awake every time :crying:

http://db.tt/SEzADbxf
[BetterBatteryStats] Karpfenhai:
Sdio_dmux is just data traffic active, but the drain is too much, even for your profile, does it persist in flightmode?

If yes, check your signal reception, set to 2g only, maybe it's your baseband, try another one known as battery friendly .

If not, try another battery.

Tapatalked from my Galaxy SII
[BetterBatteryStats] DirkStorck:
I think it may happen after I have used the app SGS3 Easy UMS because that's at the moment the only way to access my ext sdcard from my PC but I can't say it for certain. I would say it happens after I have plugged in the charger.

Vielen Dank für deine Hilfe :)

Send from my Omega ROM powered SGS3 :)
[BetterBatteryStats] loki993:
So what put it in airplane mode, plug unplug and see if it still acts up?

---------- Post added at 02:30 PM ---------- Previous post was at 01:46 PM ----------

It seems to go away in airplane mode, I'm not too surprised about that though.

Should I try the other things still?
[BetterBatteryStats] Karpfenhai:
That's a good hint, it could point to a faulty usb connector board then, on a stock Rom you would suffer from "Voltage to high" notifications, on custom Rom you might see weird behavior if you dial *#*#4636#*#* and tick battery information.

Clean your usb connector with care and bend it slightly back to the center, I'm curious if the drain stops afterwards.

Viel Glück dabei.

Tapatalked from my Galaxy SII

---------- Post added at 08:36 PM ---------- Previous post was at 08:34 PM ----------

In airplane mode should normally be less then 1% drain / hour while idling, yes try it.

Tapatalked from my Galaxy SII
[BetterBatteryStats] loki993:
Tried it sdio_dmux went away in airplane mode. I just turned data back on maybe 10 minutes ago if that and it already back and has drained the battery 5 or 6 percent already.
[BetterBatteryStats] Karpfenhai:
Hum, don't get me wrong, but now we know your phone's active connections are causing the drain, so you have to adjust the app and sync parameter to be less data hungry...

Note, not only the amount of data is important, also the total count of connection attempts.

Tapatalked from my Galaxy SII
[BetterBatteryStats] nxmehta:
This app is awesome. Figured out how to extend my battery significantly.
[BetterBatteryStats] vobasf:
Great app! Use it when I first get my HTC One!
[BetterBatteryStats] chamonix:
That is sign that something went wrong when BBS requested for root. If this persists make sure that BBS was granted root rights properly (revoke and grant again if needed)
[BetterBatteryStats] iafko69:
Can you explain this to me?

It's my phone's BetterBatteryStats.
[BetterBatteryStats] Gogeta:
It's fine after a reboot :)
[BetterBatteryStats] andreasy:
Just wanted to report that I installed beta 2 and during the night, while my phone was on the charger, the screen was flashing on and off every 10-20 seconds.
[BetterBatteryStats] MySoccer:
The " LightsService " Problem

Hey

I have a SGS 3 with Android 4.1.2 running. It´s the stock Rom.

I have a massive Problem. My Phone has one process named LightsService (shown in the 3. Picture.) that is awaiking my phone so often that the battery is flooting out in standby...One morning sometimes there are 50% less than in the evening.. in flight mode!

Please help me ... i have made a total wipe and installed all new but lightsservice is still there. :rolleyes:

What can I do to deactivate this or gave my phone the normal standby akku usage then bevor???

(Sorry for my bad english)
[BetterBatteryStats] Karpfenhai:
Whats makes you think its related to BBS ??

If you are sure, post a logcat, made by BBS App itself.

---------- Post added at 08:10 AM ---------- Previous post was at 08:08 AM ----------

??

Please provide a longer reading, 3-4 hours are sufficient, but disable facebook ;)

---------- Post added at 08:19 AM ---------- Previous post was at 08:10 AM ----------

Maybe disabling the notification light is the right path?

You coukld try using lightflow for disabling, good luck!
[BetterBatteryStats] Vahooli:
anybody can help me ??

i have RILJ wakelock for 1min for each sms everytime i send or receive sms !!

i change my modem and ril doesnt help!

use romnuke and install new rom doesnt help!

kernel wipe doesnt help !

what should i do :(?
[BetterBatteryStats] karkand:
Here is my new log, please take a look :)

http://db.tt/425Cby9Z

Thanks
[BetterBatteryStats] GermainZ:
Post an idle dump, read the OP for me more info.

Sync you mail manually, read the OP about minimizing GSF and Google Maps wakelocks/alarms.

The bam_dmux_wakelock wakelock is there because something is using your mobile data, tho I'm not sure what exactly. My guess would be the email client, so do what I said above and check again.
[BetterBatteryStats] andreasy:
Just because it was the only app I installed and it stopped when I uninstalled it
[BetterBatteryStats] iafko69:
What about this stats.
[BetterBatteryStats] Karpfenhai:
Hmm, okay, could you reinstall the latest beta without ticking root features?

Could be a bad root implementation.

Tapatalked from my Galaxy SII

---------- Post added at 04:48 PM ---------- Previous post was at 04:46 PM ----------

Woho, there must be something wrong here, either your battery is broken our you have a very bad signal, please do a test in flightmode, if the drain persist, replace battery.

Tapatalked from my Galaxy SII
[BetterBatteryStats] loki993:
Its just very odd because I never had a problem like this until I changed to JB 4.2.2 and Im not running anything different then I usually do. I don't know what could be doing it......
[BetterBatteryStats] iafko69:
And if the drain stops? What i should do?
[BetterBatteryStats] Karpfenhai:
Check your carrier signal then, try to reflash your modem / Rom.

Tapatalked from my Galaxy SII

---------- Post added at 05:03 PM ---------- Previous post was at 05:02 PM ----------

I heard Wi-Fi is a killer since jb. Was it turned on?

Tapatalked from my Galaxy SII
[BetterBatteryStats] iafko69:
Can you explain? How to check it?

If you don't wanna to spam I can PM you.
[BetterBatteryStats] loki993:
Nope thats one of the first things I turn off.....I do use a group messaging app, groupme, if I charge at night and take it off its fine until I start getting messages from that then it goes crazy. Its never causes a problem before though. I suppose I should uninstall it and see if thats it.... don't know why it would just now start causing a problem though

just uninstalled it we will see.....would suck if thats it though...would like to be able to still use it..
[BetterBatteryStats] Karpfenhai:
Therefore greenify was invented..

Could you provide another idle dump then?

Drain caused by any app should normally be visible within the dump.

Invisible drain is usually caused by hardware, that's why we ask for flightmode tests.

Sometimes the modem doesn't sleep anymore after certain circumstances.. but it's really hard to elaborate.

Tapatalked from my Galaxy SII

---------- Post added at 05:55 PM ---------- Previous post was at 05:53 PM ----------

Lol, don't you have a signal indicator on the top of your screen? :D

Beside that, settings -> about phone -> status...

Tapatalked from my Galaxy SII
[BetterBatteryStats] loki993:
I will tonight but when I do an idle test I get nearly no drain. Only when I start getting message is when it starts. I did remove groupme and this is what I got:

beginning is with end, the flat part, is without. So thats definitely what's causing it. Now I just need to find out why and why now......
[BetterBatteryStats] Karpfenhai:
Glad you got a hit so fast!

Maybe an older version or a beta can fix this, you should report to the developer

Tapatalked from my Galaxy SII
[BetterBatteryStats] MySoccer:
Sorry but it is still the same.

Does nobody know what the lightsservice is doing?

The Led isnt lighting but my phone still awake every half an hour -.-
[BetterBatteryStats] Maceee:
Maybe it's something with your screen timeout settings?
[BetterBatteryStats] iafko69:
This is my battery stats of few hours in Flight Mode.

Battery stop draining. Then turned off Flight mode and the draining starts again.

My signal is -51 dBm 31 asu.

But when I flash stock rom signal is -71 dBm 21 asu

I didn't notice any problem with the signal.
[BetterBatteryStats] Maceee:
Hey guys. This is the dumpfile and log cat of my SE LwW WT19i running FXP 216 CM 9.1 build. May you look at it and tell if everything is okay? The phone was without SIM card but with Wi Fi on all the time.

Dumpfile: http://db.tt/dyODTbNd

Log cat: http://db.tt/I3SXx2Ec

Thanks in advance! :]
[BetterBatteryStats] Karpfenhai:
Sorry towarischi, but no-one can help you with this short dump..

Tapatalked from my Galaxy SII

---------- Post added at 11:33 PM ---------- Previous post was at 11:30 PM ----------

The deepsleep is miscalculated but the dump looks pretty good, enjoy your phone!

Tapatalked from my Galaxy SII
[BetterBatteryStats] GermainZ:
Looks pretty good to me (0.5%/h). You can sync your emails/accounts and check the weather manually. Also, check the OP for info on how to reduce GSF, rx_wake, and Google Maps wakelocks.
[BetterBatteryStats] Maceee:
What do you mean deepsleep is miscalculated? Is something wrong with it? And thanks!
[BetterBatteryStats] Karpfenhai:
35 % are obviously wrong... should be 95.. but don't worry, I guess it will self heal after next reboot.

Tapatalked from my Galaxy SII
[BetterBatteryStats] Maceee:
Okay, thanks.
[BetterBatteryStats] atif4ever:
Why my awake time is more than screen on??

N how can i check which app is sucking my battery when my phone is not in use???

Sent from my G@£@×¥
[BetterBatteryStats] iafko69:
Sorry! :) My bad :)

Tomorow i'll post longer dump...
[BetterBatteryStats] karkand:
Ok thanks,I freeze tons of apps unused and I feel some improvements..now 0.7%/hr ... But if it can improves again I will happy, this is my new log again

http://db.tt/2bflTUrt

Thanks!
[BetterBatteryStats] Karpfenhai:
I would start reading the op :)

If not sufficient, feel free to drop a dump for use to take care of..

Tapatalked from my Galaxy SII
[BetterBatteryStats] msquare:
Hi guys, can someone share their thoughts on the attached dumpfile from my I-9500? I have switched off maps like it was suggested and also disabled location services. Battery has improved a bit, but its still not great. Can someone make any suggestions based on this file? Thanks in advance.
[BetterBatteryStats] ishyboy15:
Hi,

Just used this app as instructed. Please see screenshots below. The only solution i can think of is turn off access to my location from location services and everything will be fine now? Any other ideas? Its just weird. Ive had the omega rom for a week now and this is the first time ive seen maps consume batt while in deep sleep
[BetterBatteryStats] Karpfenhai:
Cmon man, you were on the phone for one hour, what do you expect?

Freeze Google Search, get rid of facebook and provide an IDLE dump, you should be good ;)

*replace FB by friendcaster or use the mobile webpage.

regards.

---------- Post added at 07:35 AM ---------- Previous post was at 07:27 AM ----------

Welcome to the brave new world of jelly bean ;)

disable ALL Autostarts from maps, clear cache / Data from Google Playservice, should be way better then, repost a DUMP, no screens, thx.
[BetterBatteryStats] ishyboy15:
Sorry for this noob question but how do i disable Autostart from maps? Will be posting dumps next time. Thank you for the prompt feedback
[BetterBatteryStats] kozmo21:
Get autostarts app, then follow the link in post #3 of this thread on what to disable.
[BetterBatteryStats] Maceee:
Yesterday I posted a perfect dumpfile and overnight something horrible happened. My phone lost 20 % battery in about 10 hours!!! Please check my dumpfile: http://db.tt/m0ubN6ct .

Thanks in advance!
[BetterBatteryStats] It_ler:
Hard to say as there is something wrong with your stats:

Awake (): 6 h 4 m 49 s (21889 s) Ratio: 36.0%

But the total sum of all your wakelocks is significantly lower that these 6h awake time.

Maybe you should use latest stable version of BBS app > 1.13.4.0.

And try to post a dumpfile containing only idle time ... doing nothing with the phone (screen off all the time).

Then it's a lot easier to find the unwanted drainers.
[BetterBatteryStats] iafko69:
These are my Battery stats on Normal mode and on Flight mode.

Whene i'm on Flight mode battery drain stops.

And the battery drain hapens only with custom ROM.

Please help. :)
[BetterBatteryStats] chamonix:
Wifi being on causes maps to do some extra work of wifi sniffing
[BetterBatteryStats] ishyboy15:
Hi, maybe ill try to disable startups as mentioned above. I ned to have data 24/7 for chat and emails. Thank you for your response