yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Perseus:
On Other tab there are additional dropboxes, you'd need to choose from it. You might also be looking at the Battery Detailed screen. You reach it by Settings>Battery>Click on Graph.

If that's not it, then please point to the post that has such screenshots.

You guess it right. You should strive for as less awake time and as much deep sleep time. There is no Normal consideration as such but I'd say During 10 hour period when the phone was idle, Deep sleep should be around at least 7 hours if not more. You should be able to justify to yourself the waketime of 3 hours. Was the phone doing something that you need/want ? If not then the 3 hours are wasted on something you don't want. Makes Sense ?

Google Location service should be disabled in both places. Don't enable unless you are navigating.

If you rooted, please grant Root access to BBS. You need to turn on root features in settings.

You may need to Turn off Wifi and then turn on again when not using the phone. Also you seem to have Stock rom. If possible try a non-touchwiz rom to see if that makes any difference. I know you are not rooted, so that's your choice. Turn off google Location Services when not navigating.
[BetterBatteryStats] gorandroid:
thanks for help, but that app is not available in my country, the donation one.
[BetterBatteryStats] Hopper8:
Don't know if this will work as I've never done it, but try this: http://xdaforums.com/showthread.php?t=2155761. Accessing Play store through VPN to get access to other countries' Play store = unblock country region on Play store.
[BetterBatteryStats] guido_glx:
Ok, here we go again... I'm attaching first log (wifi on, data off) just for comparison.

And a newer one, with wifi off and data on.

I think second one is worse, so wifi wouldn't be the culprit? :confused:

Thanks again!

Play Store? Why do you say that?
[BetterBatteryStats] pgramsey:
Thanks for looking. This is not a wifi issue. I can leave the thing out all night and it uses 6%. That's acceptable. It's when it switches into 17% per hour battery usage while in the same environment that it was in when it was using 0.8% per hour that's not OK. And the fact that turning off wifi, going into airplane mode, switching to plain GSM, or even turning it off (yes, off, power down) doesn't make it stop using 17% per hour is what's really bizarre.

As for rooting, I hope to avoid that, at least for now.

I've had three of this model, the Samsung Galaxy Appeal (or Ace), I827 with 2.3.6. The first one was fine. It was stolen. The subsequent two have both exhibited this same strange behavior. This one is a warranty replacement for the first. I'm probably going to try send this one back, too, although it's likely that they will just send me another brain damaged refurb. Which they got back from their last customer because of the weird battery behavior.

If I knew the specific thing that's causing this and specifically how rooting could fix it I'd go for it in a second. Deleting a few useless apps might make battery drain (when it's behaving) go from 0.8%/hour to 0.6%/hour, but that 17% that won't quit without pulling the battery is something else.
[BetterBatteryStats] Karpfenhai:
I talk about this stuff here:

Usually your provider can send you the correct settings by sms.

Tapatalked from my Galaxy SII

---------- Post added at 03:16 PM ---------- Previous post was at 03:14 PM ----------

Both dumps are sufficient, who pulls you mind to go back to stock kernel?

Tapatalked from my Galaxy SII
[BetterBatteryStats] wilflare:
sorry if you missed my earlier post :X

any idea what prompts them and how to minimise them from causing the wakelocks?

it's strange how my Kernel Wakelocks are more problematic now
[BetterBatteryStats] fndpena:
Basically, location provider is killing your battery.

NlpCollectorWakeLock (Google Services): 7 h 17 m 32 s (26252 s) Count:1834 95.7%

This wakelock is taking almost 100% of total time.

A possible solution is to disable location services under android settings.
[BetterBatteryStats] guido_glx:
Disable all location services and give it another shot :good:

---------- Post added at 11:20 AM ---------- Previous post was at 11:19 AM ----------

Ok... I'll go back to stock kernel and log again, thanks!
[BetterBatteryStats] murtaza217:
Cool I'll give it a shot.

I'm still confused about the 100% "no data connection" and "no or unknown signal" lines though. Also the logcat file has CRAZZZZYY entries from GoogleAnalyticsTracker (almost exclusively). Is this also a Google Services thing?
[BetterBatteryStats] fndpena:
"no data connection" means there were no data (2g/3g/4g) connection because wi-fi was turned on all the time.
[BetterBatteryStats] SweetPant:
I just checked it. The default values seem to be correct. There is also MMS APN.
[BetterBatteryStats] Perseus:
Well, out of the 145 minute wake time, 13 minutes, the screen was on so I'd say you were using the phone. Unless that is screen remained on and was set not to turn off.

If you see deleted wakelocks again reboot to clear that stat.
[BetterBatteryStats] fndpena:
145 minutes wake time? Where you read that?

I remember of using the phone a few minutes before going to sleep (had to set alarm).

But what I can't understand is the "awake time x kernel wakelock". If the kernel wakelock really took that time, shouldn't it be included in awake time?

Both wifi and data was disable during the time.
[BetterBatteryStats] murtaza217:
ah hah! thanks for the clarification.

turning off location services seems to have done the trick. my phone is deep sleeping as it should. still though, i do like some of those google services though... :p
[BetterBatteryStats] Perseus:
:o Oops. I typed wrong. I meant 15 not 145! Do please understand due to several reasons the times are reported duplicated or double counted. So take them empirically and not as true value. In other words treat them as a symptom.

As to the Kernel Wakelock. Its just a symptom of underlying issues. By itself its benign. So no it wouldn't be included in Wake time.
[BetterBatteryStats] fndpena:
So what is your guess to the huge battery drain?

12% in 5 h 40 m seems a lot to me. Used to drain less than 1% per hour (idle) in the past.
[BetterBatteryStats] Stf_LA:
Hello !

I don't know how, but my problem suddenly disappear. I hope that it won't be back the next time I'll connect the smartphone to a computer, but for know the Xperia Ray last for more than 3 days, and was in deepsleep for 3 days 7 hours (66%).

Fingers crossed...
[BetterBatteryStats] Perseus:
Possibly searching for signal when you turned both off ? Possible although I don't see usual suspects. The screen was dimmed for 13 minutes and not turned off. You may want to bring down screen timeout value. Believe it or not, the screen does chew up battery.

There's typically setting in QuickSettings. I also see alarms by Google Services framework. If you can live without gmail notifications, use the GSF mod. Its been linked several times in last few pages.

P.S. - If you use phone as an alarm clock at night, put it in Airplane mode otherwise SAR will scramble your brain. (figuratively not literally :D)

If MTP Android Debug stays on after unplugging, its a symptom of unreleased wakelock. I'd reboot immediately.
[BetterBatteryStats] fndpena:
imo, gsf alarms are acceptable, I did disabled most its autostarts to deacrease the alarms, the same for google play services.

What creeps me out is an alarm from phone process: "com.android.internal.telephony.data-stall"

It's on the top of the list with 82 alarms until now. I have no idea what it is, and I never had this on previous android versions (this may be caused by fast dormancy, but I'm not sure).

About the screen on, probably the 13 minutes were while I was using the phone before going to sleep. The timeout is 30 seconds btw (I never had a problem with this), but I don't think the screen is the culprit in this case.

Sorry, but what do you mean with SAR?
[BetterBatteryStats] MENACE_69:
Hey perseus, thanks for takeing the time out to reply bsck to me dude and yes that makes sense i kind of already figured as much and came to that conclusion after doing my own research on it in the thread but clarification always puts my mind at ease. I think the post i read back in the thread statateing to the person who also had this question was you if im not mistaken anyways, ill go ahead and monitor the time diffrence between the two and report back with some screenies if i feel like theres lost time i cant account for and think theres possible sleep issues and hopefully yourself or someone else can help out.

As for the signal strenght im referring to, im aware theres other drop downs but have looked in them and havent ran into it. When ive seen screenshots posted by other users its under the "other" tab and no i dont think its a graph.

(a couple screenshots of the signal strength im reffering to posted by other users *not mine*posted in the thread)

Edit:the second screenshot is in the next post. it didnt post in this one.
[BetterBatteryStats] MENACE_69:
In addition to my last post it didn't attach successfuly
[BetterBatteryStats] Perseus:
GSF Alarms on its own are pretty harmless and low level. But when other google services balloon it up then it becomes a headache. I did't know you had it stopped in startup.

Your com.android.internal.telephony.data-stall seems to me to be attempted reconnect on Data for some reason. Maybe something was trying to call Mothership or just usual Android Backup. Who knows. I do see a hike in this and such alarms when the phone app is running in background.

SAR = Specific Absorption level

That other Screen is reached by choosing from the first drop box of BBS. That's just a radio rad on overall strength of signal for a given period.
[BetterBatteryStats] MENACE_69:
Right! when i open bbs its defaulted to show the other tab stats and yes im aware of what the signal strength is but it doesnt show under "my" others tab or any other tab in the app for that matter so how do i achieve getting it to show?
[BetterBatteryStats] Perseus:
You know what ? I have no idea. I just went through practically all settings and there's no control. I guess try setting Partial Wakelocks as your Default Stats and then switch to other.
[BetterBatteryStats] MENACE_69:
Huh?!? Im lost lol i was just agreeing with the two things you said (what signal strength was and how to navagate to the others tab)

As for how to get signal stregth to show under "other" its really no big deal and the least of worries but it would be nice to have... i went ahead and did what you reccomended but nothing sadly... I even toggled the show signal strength box under settings/signal strength (it was already checked fyi) you'd think if it was enabled It would show huh weird
[BetterBatteryStats] chamonix:
Prefs - Customize Views
[BetterBatteryStats] MENACE_69:
Are you refering to customize viwes under Settings/display/customize views that list the following enable: wifi, signal, screen, connection, bluetooth ?

If so all the boxes are defaulted to checked (on) and it isnt displaying signal strength

(example:moderate, strong ect) under the "other" tab.

Ive even unchecked and re-checked the boxes to enable the settings once more seeing if that would do the trick and nothing... Still not signal strenght under "other" like in the screenshots i provided above but the rest is listed as in the screenies just fine.
[BetterBatteryStats] fndpena:
This is not normal... :/
[BetterBatteryStats] Perseus:
Reboot and then if it continues go to recovery wipe cache and dalvik
[BetterBatteryStats] SweetPant:
Yes I already have the correct MMS APN settings. But the MMS Connectivity still occurs.
[BetterBatteryStats] Musko:
Dear [MENTION=4705372]Casanoaa[/MENTION] I was make all of your recommendation, but I need (I use it) hangout app. With disable some thing from autostarts, Hangouts working fine. But with freeze Google Play Services (or I use Greenify), Hangouts stop working (receiving messages).

Is any way to save battery life (Google Play Services make a lot of wakelocks) and working Hangouts app?

Thank you.

If is any answer for this situation in this thread, sorry, but I trying to find it, but with no succes.
[BetterBatteryStats] Casanoaa:
Sorry i havent tried configuring google play services regarding hangouts. Any other who can help maybe.

I have exams in these months therefore i am on standby people.
[BetterBatteryStats] rainbow99:
Hi guys, I have been having very bad autosmsservice wakelocks. Didn't resolve even after I did a clean install and wiped internal storage. It gets triggered randomly like a few times a day. Rebook may sometimes halt it, but will resurface after a few hours. Am using latest beanstalk and uneak kernel (but had same issue when I used devil kernel).

Please see attached for my bbs logs. Thanks in advance for advice. :laugh:
[BetterBatteryStats] xavihernandez:
Well, the problem does not happen when the phone sleeps but when I am texting. After each sms I send i got 30s/1min of RILJ wakelock. Then on WIFI or mobile network it will be the same.

Well this issue was the past year. There was the same issue on CM10.1 but since they had changed something in RIL code the problem had gone.

It is back for more than one month only.
[BetterBatteryStats] guido_glx:
Ok, third log attached (wifi on, stock kernel)

Resuming, I've seen

Log1 wifi on, data off, dori kernel: deep sleep 94,8%, lost 1,2%/h

Log2 wifi off, data on, dori kernel: deep sleep 98,1%, lost 1,9%/h

Log3 wifi on, data off, stock kernel: deep sleep 97,5%, lost 1,4%/h

So... is there something I can do to improve battery life?
[BetterBatteryStats] SweetPant:
Damn the MMS Connectivity wakelock is relentless. It won't allow my device to sleep. Checked the MMS APN but still not fixed.
[BetterBatteryStats] rainbow99:
Just to add that the autosmsservice wake locks will grow to hours if I let it continue. Won't stop after triggering unless I restart the phone. Sometimes need to restart phone than once to stop the wake locks. Thanks.
[BetterBatteryStats] wilflare:
anyone can help with mine please? ^^
[BetterBatteryStats] guido_glx:
You need to provide an idle log (4 hours with screen off), in order to distinguish unwanted drainers.

Enviado desde mi GT-I9100 usando Tapatalk now Free
[BetterBatteryStats] wilflare:
ah alright... guess I'll just leave it overnight when I sleep then
[BetterBatteryStats] lucas:
Hey guys, I'm pretty new to this application, but I think I'm starting to get the hang of it, just wondering if anybody here has a Galaxy S4 and can tell me if this looks good for this phone.....

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

General Information

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

BetterBatteryStats version: 1.14.0.0

Creation Date: 2013-10-12 16:31:33

Statistic Type: Unplugged to Current

Since 8 h 20 m 22 s

VERSION.RELEASE: 4.2.2

BRAND: samsung

DEVICE: jfltetmo

MANUFACTURER: samsung

MODEL: SGH-M919

OS.VERSION: 3.4.0-453951

BOOTLOADER: M919UVUAMDL

HARDWARE: qcom

FINGERPRINT: samsung/jfltetmo/jfltetmo:4.2.2/JDQ39/M919UVUAMDL:user/release-keys

ID: JDQ39

TAGS: release-keys

USER: se.infra

PRODUCT: jfltetmo

RADIO: M919UVUAMDL

Rooted: true

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

Battery Info

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

Level lost [%]: Bat.: -54% (100% to 46%) [6.5%/h]

Voltage lost [mV]: (4168-3776) [47.1%/h]

===========

Other Usage

===========

Deep Sleep (): 4 h 19 m 48 s (15588 s) Ratio: 51.9%

Awake (): 4 h 33 s (14433 s) Ratio: 48.1%

Screen On (): 2 h 26 m (8760 s) Ratio: 29.2%

Phone On (): 8 m 38 s (518 s) Ratio: 0.7%

Wifi On (): 2 h 43 m 59 s (9839 s) Ratio: 13.0%

Wifi Running (): 2 h 43 m 55 s (9835 s) Ratio: 13.0%

No Data Connection (): 2 h 32 m 36 s (9156 s) Ratio: 12.1%

No or Unknown Signal (): 2 h 32 m 36 s (9156 s) Ratio: 12.1%

Moderate Signal (): 27 s (27 s) Ratio: 0.0%

Good Signal (): 10 m 27 s (627 s) Ratio: 0.8%

Screen dark (): 31 s (31 s) Ratio: 0.0%

Screen dimmed (): 1 h 12 m 16 s (4336 s) Ratio: 14.4%

Screen medium (): 1 h 6 m 55 s (4015 s) Ratio: 5.3%

Screen light (): 2 m 22 s (142 s) Ratio: 0.2%

Screen bright (): 3 m 53 s (233 s) Ratio: 0.3%

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I'm not gonna put all the wake locks and what not on there, just wanna compare my stats to some other Galaxy S4 owners. Thanks in advance
[BetterBatteryStats] fndpena:
Anybody knows what could be causing this alarm?

Alarms: 120, Intent: com.android.internal.telephony.data-stall

This is my top alarm, and probably the main reason for battery drain in my device. But I can't find useful information about it.

afaik, I never had this on previous android versions...
[BetterBatteryStats] djtiko:
Okay Perseus71, I disabled Google locations and I turned on root features in BBS. This is a log of my phone sitting for a couple of hours.
[BetterBatteryStats] chamonix:
That alarms is raised when the signal / data service is poor, causing the connection either to get lost or GPRS to start flapping.
[BetterBatteryStats] chamonix:
looking at those figures absolutely I would say that they are not specially good: the awake time is almost twice the screen on time. The drain rate can not be compared as you had a high amount of screen on time but it is far from the ideal approx. 1%/h in idle mode that can be achieved without losing any benefits of a smartphone.

For a more detailed analysis we need the whole dumpfile
[BetterBatteryStats] chamonix:
I did a google search on autosms and it seems that this is a feature to automatically send SMS in situations, e.g. when you are in a call. Is that a feature that you want and if no why not simply turn it off?

Edit: I found the info here: src/com/android/settings/cyanogenmod/autosms/AutoSmsService.java
[BetterBatteryStats] fndpena:
Any way to get rid of it?

Could this be caused by a non appropriate RIL file?
[BetterBatteryStats] sewe:
do you know why I have wakelocks of them over mobile network and never on Wi-Fi

On wifi we talk about seconds but on mobile networks it can be an hour during the day

SM-N9005 via Tapatalk 2
[BetterBatteryStats] lucas:
I actually had a torrent downloading for an hour, and then I uploaded for an hour, otherwise those two aren't usually more than 20 min apart. It normally sits about 5% / hour.
[BetterBatteryStats] Karpfenhai:
The result is not too bad, you should concentrate on alarms, I guess Javer line is your current culprit, disable it if not needed and see.

Tapatalked from my Galaxy SII
[BetterBatteryStats] wilflare:
thankss! not sure what's activating the AlarmManager though :/

any idea what's these? (i saw your earlier post) but I have no idea what prompts them and their values can get really high

ssp_wake_lock (): 1 m 20 s (80 s) Cnt:(c/wc/ec)30/5/30 0.4%
alarm (): 1 m 17 s (77 s) Cnt:(c/wc/ec)666/147/0 0.4%
ssp_sensorhub_wake_lock (): 20 s (20 s) Cnt:(c/wc/ec)14/1/14 0.1%
[BetterBatteryStats] Karpfenhai:
That is a pretty good question, my colleagues on I9505 don't suffer this issue, and the sensors are almost the same. We should wait some time till others are complaining or Google does bring better results, sorry.. android sensor app should be able to tell you which sensor in particular does have the most activity.

A dmesg can also help but I afraid not on a non rooted device..

Can you grab a logcat?

Again, read the Sourcecode with care to get an idea what does it mean --> https://github.com/junpei0824/SC02C-linux/blob/master-jelly-cm-aokp/drivers/sensorhub/ssp.h

Gpio it's also a part, maybe it's just another naming for certain data traffic... or data transmission from sensor to gui.

/* SSP_INSTRUCTION_CMD */
enum {
REMOVE_SENSOR = 0,
ADD_SENSOR,
CHANGE_DELAY,
GO_SLEEP,
FACTORY_MODE,
REMOVE_LIBRARY,
ADD_LIBRARY,
};

/* SENSOR_TYPE */
enum {
ACCELEROMETER_SENSOR = 0,
GYROSCOPE_SENSOR,
GEOMAGNETIC_SENSOR,
PRESSURE_SENSOR,
GESTURE_SENSOR,
PROXIMITY_SENSOR,
LIGHT_SENSOR,
PROXIMITY_RAW,
ORIENTATION_SENSOR,
SENSOR_MAX,
};

Tapatalked from my Galaxy SII
[BetterBatteryStats] rainbow99:
Thanks Bro. I didn't use such features though. Will check this out further later just to be sure. :)
[BetterBatteryStats] Perseus:
Your phone was searching for Carrier signal or for Data. quickly flip airplane mode on and off. Also Google Maps is playing havoc with your GPS. Turn off phone's GPS unless explicitly navigating. I understand you turned off Google Locations but don't know which one you ended up doing. There's 3 locations where it is controlled. Please also follow the mod for Google Shared Services.
[BetterBatteryStats] Deni_NS:
I know all about BBS and wakelocks, but I need help really...

https://db.tt/rzN2M4Jf

If you take a look, deep sleep is unbelievable almost 99%, the difference between screen and awake almost none... Wifi and data turned off and it is in GSM (2G) mode entire time.

AND yet I lost 11 percent of battery... Really? How?
[BetterBatteryStats] SweetPant:
Self-updated: I disabled "auto-retrieve" for MMS under Messaging app settings. The MMS Connectivity wakelock is gone and not revisited yet.

This may help other people out there with the same issue as mine.

And for NlpCollectorWakelock, disable "Location Reporting" under Google Settings app.
[BetterBatteryStats] It_ler:
I can not see a real culprit.

Some guesses:

1. Try another modem.

2. Let the battery stats chip settle down in one or two battery cycles.

3. Try another battery.
[BetterBatteryStats] Deni_NS:
Thank you It_ler, NEAT mate :)

Yeah, I don't see any culprit too... :confused:

I'm on xxms3 which comes with neat 5.0.1 and i thought maybe new modem is good, but probably not... I'm always on LS8 and probably it's the best for me...
[BetterBatteryStats] It_ler:
Just flash another modem (with Mobile Odin app) ... and report back.

You're welcome mate ;)
[BetterBatteryStats] Deni_NS:
I'm always flashing this http://d-h.st/qqH from hawkerpaul's thread http://xdaforums.com/showthread.php?t=1881304 or do I really need to flash trough odin?
[BetterBatteryStats] It_ler:
No, that's fine too. Just check that you only flash the modem without the RIL files.
[BetterBatteryStats] djtiko:
That's really strange cause I had both the gps off and wireless network off under location settings. It was all unchecked.

Also when I unplugged it, I flipped airplane mode on and off before I let it sit for those couple of hours then took my log.

Not sure what else I can do or maybe I'll just take another log when I have the chance to let it sit again.

Also not sure what you are talking about when you say follow Google shared services mod. I did a quick Google search but didn't really get anywhere. Can you point me in the right direction?

I was thinking of getting greenify and hibernating my maps too so it doesn't play with my phone.

The last thing I've noticed is that I have sync off but my yahoo mail app still syncs at random times. But I go into the settings of both my phone and the app and they say sync is off. So I might greenify that as well
[BetterBatteryStats] Deni_NS:
I think in this .zip package, RIL is here too... But if he made RIL+modem package surely it's good :)

/system/lib/libril.so

/system/lib/libsec-ril.so

/system/lib/libsecril-client.so

I flashed, time will tell :)
[BetterBatteryStats] lucas:
Partial wakelock / Audioout_2 - On my S4, I just noticed that anytime I play video with MX or music with PowerAmp, this wakelock increases. Is this wakelock any user initiated media playing? Or does it cover ring tones and notification sounds as well? I read somewhere that maybe Audioout_1 might be system sounds, are ringtones and/or notifications system sounds/Audioout_1?

Also, I know getting the experimental features allows me to hibernate system apps, but I heard there might be a way to turn system apps into user apps by uninstalling the system app with TitaniumBackup, then re-downloading it from the Playstore? Are most System apps available in the Playstore?

One last question, is there a link to a thread or Web page that has an index of glossary with info on all the different wakelocks and what not? Aside from the few that is linked to from the app itself?

Thanks
[BetterBatteryStats] donpippo:
Hi, is there a way to save log each time the charger is plugged?

thanks