yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] chamonix:
For those who wonder if I became lazy :p

https://github.com/asksven/BetterBatteryStats/pulse/monthly
[BetterBatteryStats] Karpfenhai:
Just 45? You lazy bas****d... :p

Dori has pushed 820 commits in three same time....

Muhaha, just kidding, can't wait for the new look and features...

Tapatalked from my Galaxy SII
[BetterBatteryStats] drinfernoo:
I think a Holo design change would be great, but I'm not sure about the action bar idea. Maybe a spinner in the action bar for one option and a combo box in the tab for the other?
[BetterBatteryStats] Casanoaa:
This is my third Week beeing father. It's a fantastic and wonderfull feeling. I thank God again.. I love my son..

Just some feelings. Remember itler you said i should write when he is born ;)
[BetterBatteryStats] Karpfenhai:
Congrats my friend, but I'm way ahead of you, my son just turned ten last week and my daughter three.

I know these feelings very well..

Enjoy it, the first smile the first grab after your finger...

May God bless you and your family!

/off-topic

Tapatalked from my Galaxy SII
[BetterBatteryStats] VivaErBetis:
Any news about the Google Play version update?
[BetterBatteryStats] arvin2212:
Hello guys.

I am using Crash ROM on my Samsung Galaxy S4 i9500.

Disabled some features from google framwork services and play services as mentioned in this thread. The battery usage when idle seemed to be better but I believe it is still suffering from some wakelocks. Already enabled alarm and network from the settings menu.

Please check it out for me :)
[BetterBatteryStats] Karpfenhai:
Currently stopped due to certain issues.

Tapatalked from my Galaxy SII

---------- Post added at 06:41 AM ---------- Previous post was at 06:36 AM ----------

Nothing unusual except tencent and this ssp thing, it's a driver wakelock possibly caused by GPS or data traffic, I would go for tencent first, but the overall drain looks good to me.

Tapatalked from my Galaxy SII
[BetterBatteryStats] arvin2212:
Thank you for your reply.

SSP, GPS is off, but wifi is on. Perhaps I shall do another test with wifi off and see how it fares.

Thank you for your reply by the way :)
[BetterBatteryStats] bringonblink:
Alright here's an idle dump

http://db.tt/dODFQVFN

I think the wake locks are OK, but I'm still concerned about the high alarms :/
[BetterBatteryStats] Karpfenhai:
You should verify all your location reporting settings, especially for maps and Google settings, think you forgot something. Clear also data for gsf.

Note, turning location service totally off is not required.

Good luck.

Tapatalked from my Galaxy SII
[BetterBatteryStats] bringonblink:
Thanks for the reply.

I've got all location settings enabled, as I used Google now and gps tracking for run keeper. Is there something specific I should turn off that won't affect these?

I'm hesitant to clear data for GSF as I have heard it can stop push notifications for apps?
[BetterBatteryStats] azeem40:
I think you're safe. Follow the post on page 1879 regarding startups.
[BetterBatteryStats] te2k:
Zombie ~~~

For this last test, I've turned on flight mode. All have disabled FD, turned wifi off, turned sync off. Phone still not sleeping. What bugs me is that previously I've had FD on, wifi on, and sync on without problems. Sigh.

I've also downloaded an android sensor app, does not seem to help.

I've also attached a dmesg as well. Hopefully this will finally shed some light for me.

Thanks for all the replies I've gotten so far.
[BetterBatteryStats] Casanoaa:
Many thanks :)) I will
[BetterBatteryStats] chamonix:
It is rolling out in stages so it may hit you anytime between right now and when Google's algorithm picked you. Stage rollout can only be panned from the quantity (I started with 5%) but not geographically nor for the speed (it took 3 days to push 5%).

Those were part of my feedback inform of wishes for improvement to the Android device survey.
[BetterBatteryStats] pjadec:
And problems are these or something. But both of those keep device continuously awake.

"suspend_backoff" (): 3 h 57 s (10857 s) Cnt:(c/wc/ec)1087/0/1087 56.9% suspend_backoff i don't know what cause this

"l2_hsic" (): 1 h 29 m 25 s (5365 s) Cnt:(c/wc/ec)10861/0/10861 28.1% to fix this, try different radios and/or kernels

L2_hsic same problems

Interesting case. Maybe someone else know more about this case.
[BetterBatteryStats] VivaErBetis:
So, the update is not sent to all the paid users at same time. Now it's a matter of luck to receive it sooner during the rollout period, that can take up to 2 months at an speed of 5% pushed every 3 days.

Is this something imposed from Google? If not, is there any reason to do it that way?

Thanks and best regards.
[BetterBatteryStats] chamonix:
Staged rollout is not the only way to go, I could also release to everyone in one batch. But with 70k+ installs that's a little risky and the latest update with all its problem taught me that a controlled environment is better if you want to detect problems with a release. Of course I will increase the speed over time in bigger steps until 50%. If everything is fine then I will release the rest at once.

The problem with staged rollout is that there is no guaranteed timebox for delivery and no options to select targets as countries, devices, android versions etc. But anyway google is IMHO going in the right direction to allow to professionally manage rollout to big user bases. Looking at the questions that were asked about that feature in the latest dev survey I guess there will be improvements in these areas over time.
[BetterBatteryStats] VivaErBetis:
Well, at least it's your decision and not Google's fault. I was fearing that this was some kind of restriction from Google and all devs should start to not update their paid customers at same time.

I don't have any problem to uninstall the tool from Play and get it from here directly that seems to be the way to have it updated in the future.
[BetterBatteryStats] matrixzone:
Sorry if this is this already answered, what is the difference between xda and Google play version?
[BetterBatteryStats] yhrn:
They are functionally identical but if you buy the Play version you support Chamonix work. However, if you'd like to test new features in beta or RC versions the XDA version is the way to go. But first you should buy the Play version to support the development of one of the most useful apps ever created :)
[BetterBatteryStats] bringonblink:
Sorry got a few questions about this, slightly confused.

When you say disable all apps you have listed, i am assuming thats from the dropbox link you posted. My question is, do we just disablethese, do the tweaks, then reenable them?

Also, if i want to keep sync on, are there any settings i should avoid disabling?
[BetterBatteryStats] Casanoaa:
Yes these apps in dropbox link you could disable with titanium backup pro..

If you want sync on what? example if you want sync on gmail you should not disable subscribedfeeds .. in gplay services..

If you don't want FC in Google plus or Gmail then subscribedfeeds_receiver must be enabled.
[BetterBatteryStats] bringonblink:
I meant Google sync, so for like, contacts,app data,people, calender, music etc
[BetterBatteryStats] azeem40:
It applies to those too.
[BetterBatteryStats] It_ler:
Congratulations my friend !

I'm sure that you are very proud now.

I told you that before :fingers-crossed:

Welcome to the club of "fathers" :highfive:
[BetterBatteryStats] Marjuuus:
What is this? See that its got over 1000counts...thanls
[BetterBatteryStats] Perseus:
RILJ is the typical Google Map bug and hog. I bet you have got GPS and Wifi Location going on because Google Maps asked for it.

Ok, few changes for you. First off, you possibly granted Google Maps to use both Wireless and GPS for location finding. If so, you need to turn that off ASAP. This is located in 2 places. First place is under Locations. In there you will see a slider allowing access to location. Second checkbox is for GPS access. Third checkbox is for Wireless access. Keep the slider on to allow access. Turn off the two checkboxes. If you want to navigate, just turn on GPS using Quicksettings panel BEFORE you open GMaps. Turn it off immediately afterwards.

Second location is in another app called Google settings or similar. Can't remember right now. Inside, you will see a setting to Allow Location access to Google Apps. Turn that off. Next time you open Google maps, it will ask for permission to access GPS. If you had turned on GPS beforehand, this should not popup. Immediately afterwards, it will ask to turn on Wi-Fi as well. It is this one, you should say no.

Your second problem comes possibly from Google Plus messenger. Post if you have that.

If you at all use shopkick, it will break after this process. post if you want that fixed.
[BetterBatteryStats] amazzed:
Hi,

Can someone please let me know if its normal that in the main view of BBS, I see the different kinds of stats - Kernel Wakelocks, Partial Wakelocks etc but only few stat types like 'Boot', 'Unplugged' and 'Current'. What happened to - Since Charged, Since Screen off and Since unplugged? I cannot see those in the dropdown?

Am I doing something wrong?

Amazzed
[BetterBatteryStats] Perseus:
Depends on what you choose, these are dynamic.
[BetterBatteryStats] Casanoaa:
Thanks again. Yes sure I am proud :)) he is so good and healthy
[BetterBatteryStats] amazzed:
Thanks,

Would it be possible to say what I need to choose to see Stat Type "Since charged"?

Amazzed
[BetterBatteryStats] drinfernoo:
I'm still having this dialog come up every time I open the app, and it's not giving me accurate results of any kind. I usually only get 30-45 seconds of data.

Anyone?
[BetterBatteryStats] Perseus:
Settings > Default Stat Type
[BetterBatteryStats] chamonix:
Im the upper spinner you will only see the references that have been created since you have booted your phone:

- directly after boot "boot" and "current" are there

- after plug/unplug "unplugged" is there

- after full charge and unplug "charged" is there

These references will remain until you reboot. Of course the lower spinner shows only the references that have been created after the one you selected in the top spinner.

The reference that will be selected by default can be set in the preferences
[BetterBatteryStats] chamonix:
RILJ is the glue between userland and the RIL (radio interface library). There are many reasons for RILJ wakelocks, among other:

- RIL and radio/modem have unmatching version

- you have had bad reception causing many switches from 2G to 3G or been moving fast causing many handovers

- the network/cell you are on has a glitch

- something with the network management is not compatible with your phone's management

- you are using a faulty radio or RIL

- you are in an area with many cells in range and the load management or weather conditions causes many hand overs even if you are not moving

-etc

To be able to be more specific we will need more information and some more reading under comparable conditions
[BetterBatteryStats] chamonix:
Then you should check the first post on how to report a bug and provide all the needed information
[BetterBatteryStats] chamonix:
Here we go (sorry for the somewhat laggy answer).

dmesg shows that the PM dance (power manager goes through different states before going to deep sleep and those states among other make sure that all drivers are notified and release their irqs.

That process shows this error at many occurences:

<4>[341472.369812] c0 WARNING: at drivers/regulator/core.c:1406 _regulator_disable+0x190/0x2d8()
<4>[341472.369916] c0 unbalanced disables for VTF_2.8V
<4>[341472.369982] c0 Modules linked in: exfat_fs(P) exfat_core(P) j4fs(P) Si4709_driver [last unloaded: dhd](bf0952fc)
<4>[341472.370239] c0 Backtrace:
<4>[341472.370344] c0 [<c0303ba4>] (dump_backtrace+0x0/0x114) from [<c08957c0>] (dump_stack+0x20/0x24)
<4>[341472.370454] c0 r7:00000009 r6:0000057e r5:c0530af0 r4:d6b6de40
<4>[341472.370625] c0 [<c08957a0>] (dump_stack+0x0/0x24) from [<c033f884>] (warn_slowpath_common+0x5c/0x74)
<4>[341472.370774] c0 [<c033f828>] (warn_slowpath_common+0x0/0x74) from [<c033f958>] (warn_slowpath_fmt+0x40/0x48)
<4>[341472.370891] c0 r9:c0be0ec4 r8:c08ea308 r7:00061a80 r6:fffffffb r5:d6b6de8c
<4>[341472.371025] c0 r4:e6d9c600
<4>[341472.371119] c0 [<c033f918>] (warn_slowpath_fmt+0x0/0x48) from [<c0530af0>] (_regulator_disable+0x190/0x2d8)
<4>[341472.371237] c0 r3:c09e69b8 r2:c0a11eb0
<4>[341472.371346] c0 [<c0530960>] (_regulator_disable+0x0/0x2d8) from [<c0530c78>] (regulator_disable+0x40/0x80)
<4>[341472.371501] c0 [<c0530c38>] (regulator_disable+0x0/0x80) from [<c06a5ff4>] (sdhci_set_ios+0x25c/0x48c)
<4>[341472.371613] c0 r7:00061a80 r6:e6c16800 r5:e6c16a28 r4:e6c16b60
<4>[341472.371764] c0 [<c06a5d98>] (sdhci_set_ios+0x0/0x48c) from [<c0691440>] (mmc_power_off+0x98/0xa4)
<4>[341472.371899] c0 [<c06913a8>] (mmc_power_off+0x0/0xa4) from [<c0692fa0>] (mmc_rescan+0x2d0/0x334)
<4>[341472.372006] c0 r5:00000000 r4:e6c16800
<4>[341472.372126] c0 [<c0692cd0>] (mmc_rescan+0x0/0x334) from [<c0359890>] (process_one_work+0x154/0x4e0)
<4>[341472.372237] c0 r9:c0be0ec4 r8:e6c16aa0 r7:e6f65200 r6:c0be66a0 r5:d6b6c000
<4>[341472.372371] c0 r4:d54d7600
<4>[341472.372462] c0 [<c035973c>] (process_one_work+0x0/0x4e0) from [<c0359fc0>] (worker_thread+0x198/0x468)
<4>[341472.372613] c0 [<c0359e28>] (worker_thread+0x0/0x468) from [<c0360d20>] (kthread+0x98/0xa0)
<4>[341472.372747] c0 [<c0360c88>] (kthread+0x0/0xa0) from [<c0343cd4>] (do_exit+0x0/0x734)
<4>[341472.372847] c0 r7:00000013 r6:c0343cd4 r5:c0360c88 r4:cda25eb0
<4>[341472.372970] c0 ---[ end trace 6275418668a8ba68 ]---
<6>[341472.373046] c0 sdhci_set_ios : MMC Card OFF samsung-hsmmc
<6>[341472.399537] c0 smb328-charger 19-0034: smb328_get_property: smb328_get_property (1,1)

You should take take that info to your trusted kernel dev as he should be able to connect the dots and hopefully fix the problem (assuming it's not caused by a hardware failure)
[BetterBatteryStats] drinfernoo:
I have a Galaxy S3, d2att, and I recently upgraded to a 4.3 ROM, PA 3.99, and ever since then, this app is acting up. I am also running the KT747 kernel for this phone.

Every time I open this app, it shows me a dialog about how it's creating the 'unplugged' reference. I only usually get about 30-45 seconds worth of data because of this. here's a logcat, and it is reproducible every time. If I can provide any more information, I'll be glad to.

Any ideas?
[BetterBatteryStats] Karpfenhai:
Indeed,I got one, dial *#4636#*# and tap battery information look whether there is something weird, ensure your are unplugged from charger.

This issue could point to a broken usb charging board, take out battery, clean the connector pins briefly (toothpick is good) and bend the holder slightly back to the center.

If it's fixed then, go either for a wireless charging circuit or a new charging board.

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] drinfernoo:
That code doesn't do anything on my phone. My phone charges fine, whether it's from AC or a car charger, with various cords, but the app is reporting weird.
[BetterBatteryStats] chamonix:
Unfortunately that logcat is not world readable
[BetterBatteryStats] drinfernoo:
Whoops! Try this one :)
[BetterBatteryStats] hyperbolic:
Hi [MENTION=1330150]chamonix[/MENTION]

Regarding your (old) post,

There is no key in my phone that is constantly pressed, still, the highest PWL is from PhoneWindowManager (after every discharge to 20%).

Do you have any idea how to disable it, perhaps using System Tuner :confused:

I am really clueless and could use some help before trying (yet again) flashing the ROM (again).. :rolleyes:
[BetterBatteryStats] chamonix:
I my post I refered to two possibilities, the keys being one of them. If you are sure that the keys are not stuck / pressed by any cover then the second cause may be the one. Can you please repost a dumpfile?
[BetterBatteryStats] chamonix:
The logcat is full of:

09-16 12:08:15.220 E/SharedPreferencesImpl( 5240): Couldn't create directory for SharedPreferences file /data/data/com.asksven.betterbatterystats/shared_prefs/com.asksven.betterbatterystats_preferences.xml

An app is always supposed to be able to create the preferences file in its own private directory. I can only assume that you file permissions are borked
[BetterBatteryStats] te2k:
Thanks for the helpful reply chamonix. Much appreciated. Fingers crossed its not hardware :)
[BetterBatteryStats] m14mclaren:
Hopefully this is more helpful. I've still got a lot of location services usage probably because I use the GPS a bit every day.
[BetterBatteryStats] pjadec:
Sorry, But this was not IDLE dump and data was confusing. Do IDLE log/dump is about 3-4 hours and screen time below 2 minutes.

Idle would mean that you don't use the phone at all. This way you can track down offenders more easily.

Loaned from parts of one BBS txt file for example

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

Battery Info

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

Level lost [%]: Bat.: -2% (100% to 98%) [0,3%/h]

Voltage lost [mV]: (4189-4169) [3,3%/h]

===========

Other Usage

===========

Deep Sleep (): 5 h 58 m 26 s (21506 s) Ratio: 99,4%

Awake (): 2 m 6 s (126 s) Ratio: 0,6%

Screen On (): 18 s (18 s) Ratio: 0,1%

No Data Connection (): 6 h 32 s (21632 s) Ratio: 100,0%

No or Unknown Signal (): 6 h 32 s (21632 s) Ratio: 100,0%
[BetterBatteryStats] m14mclaren:
So what is the correct way to do that? What I did that time is charge my phone during the day then not use it overnight and did a dump when I woke up.
[BetterBatteryStats] bringonblink:
Ok guys did a few tweaks and got a new dump, if anyone could take a look that would be great!

https://www.dropbox.com/s/crxlrcgcyuutbw4/BetterBatteryStats-2013-09-17_090916927.txt
[BetterBatteryStats] pjadec:
It is up to you to decide how you do it. When battery is loaded to full. Then unplug cord. Then don't use the phone at all about 3-4 hours and then take BBS dump.

---------- Post added at 01:30 PM ---------- Previous post was at 01:20 PM ----------

It is very good, no need to do anything.

I don't know why Kernel Wakelocks not showing.
[BetterBatteryStats] bringonblink:
Franco disabled them from showing in his kernel :/
[BetterBatteryStats] hisee:
Guys can any one tell which app causing battery drain... Only 1.30 screen on :(
[BetterBatteryStats] pjadec:
Sorry, But this was not IDLE dump and data was confusing. Do IDLE log/dump is about 3-4 hours and screen time below 2 minutes.

Idle would mean that you don't use the phone at all.
[BetterBatteryStats] Karpfenhai:
Why don't you just read the op with care? No offence...

Tapatalked from my Galaxy SII
[BetterBatteryStats] bringonblink:
If anyone else is getting high wake ups from com.Google.android.GMS. here is how I sorted it.

Disabled Google now as I never use it. Disable location reporting and history in Google settings.

Disable wifi And mobile network location from ROM

Disabled drive and keep sync as I don't use them much.

Disabled android remote location as I use Cerberus

Didn't mess around with startups etc.

GPS still works fine in maps and runkeeper which I use a lot.
[BetterBatteryStats] torsrex:
Been having some weird battery drain issues lately, at first I thought it was something with the kernel (which was showing in gsam battery monitor), but then I installed this application and it tells there is something with *backup* that keeps doing something.

I've attached a logfile of about 8 hours off the charger (18 minutes screen on time). Thank you in advance.
[BetterBatteryStats] pjadec:
Could you enable root rights in BBS, that should be in advanced settings. Try wipe cache and dalvik cache in recovery. Then do new IDLE dump.
[BetterBatteryStats] drinfernoo:
How would I go about actually fixing that? I've tried giving permissions in recovery, but it didn't help. I'm new to permissions, so what would I set which location to?
[BetterBatteryStats] pjadec:
shared* folder missing or corrupted or not created in root folder. It's somewhere /data/data/com.asks*/. You can create it there and give it permissions.
[BetterBatteryStats] drinfernoo:
I can't :/ Root Browser says I don't have permission.
[BetterBatteryStats] Perseus:
Remount as R/W instead of R/O
[BetterBatteryStats] chamonix:
If fixing perms does not help I recommend uninstalling, deleting the app directory by hand if it is not deleted automatically by uninstall and reinstall BBS. If it persists the chances are good that your ROM is pretty messed up and that should not happen,
[BetterBatteryStats] chamonix:
I would not recommend that because

a) package manager is uspposed to take care of that

b) perms are set to the apps UID and making things work readable/writable hides a potential security issue

There are certain things that a user should not have to do because most of the times it's a symptom and the cause is somewhere else so it makes no sense "repairing" the symptoms
[BetterBatteryStats] drinfernoo:
That seems to have fixed it! Thanks :)
[BetterBatteryStats] n3gkiwi:
Does anyone know why my calendar wakelocks are so high? I have always used google to sync with my calendar but it was been really high lately. Along with alarm receiver. Not sure what it is? It was never like this before.
[BetterBatteryStats] n3gkiwi:
Even weirder... I disabled sync and still had just as many wake locks from com.android.providers.calendar... Anyone experience this? Would rather not have to do a factory reset.
[BetterBatteryStats] Karpfenhai:
did you try clearing cache and data from Calendar itself?
[BetterBatteryStats] chamonix:
Looking at the wakelocks the number of reschedules for next alarm bothers me. At the same time I see pocketinformant so I suggest two things:

- disable the notifications from the calendar app to see if this convinces it to stop obsessing about reminders

- disable pocketinformant to make sure that the problem is really caused by the calender app and not by a side effect of PI
[BetterBatteryStats] xodeus:
Can you please help me investigate this drain on my Optimus G?

http://pastebin.com/QpFjUndH

Sendt fra min LG-E975 med Tapatalk 4
[BetterBatteryStats] saleemakbani:
Can someone have a look at my stats and let me know if there are some areas of improvement. The battery drain is 0.6%/hr but no harm in having more improvements.

http://goo.gl/ul9E62

Thanks.
[BetterBatteryStats] andreasy:
I've been straggling with those issues for quite long and what you mention is not totally correct:

1) You cannot keep the slider on and at the same time disable both boxes. Disabling them both automatically turns off slider.

2) The message to allow location recording appears every single time you turn On GPS Location services from the OFF state regardless if you have previously allowed it.

My big issue is the second for which I need some help. I use tasker to enable/disable location services based on the apps that need it and every time I get this message. Is there any mod which disables complately this message, or any hack I can manually make to avoid it. It renders the tasker profile useless because it happens all the time.
[BetterBatteryStats] Perseus:
For the first part, what I said was, uncheck wireless but keep GPS checked in there. Next turn off GPS from Quick Settings. From then on Tasker will turn on GPS for you when you need it.

For the second part, you need to go to the Green App called Google Settings. Inside you will see Location Option. Inside that, you have 3 choices, Access Location, Location Reporting & Location History. For the problem you mentioned with the message, Turn on Location reporting and then exit. That message should not appear again. If it is already on, turn off, manually go to maps without tasker and then click ok on the message. Come back and confirm this has turned back on. From then, reboot and then tasker will be ok.
[BetterBatteryStats] andreasy:
Well, you said keep slider and untick both checkboxes but never mind, you clarified it now and in that way indeed there won't be any repeating message. However, I'm trying to control both options because with the wireless assistance I get faster and more accurate signal.

I guess that I either have to follow what you say or try to find a mod that will disable that message.

Thanks.