Sensor and WhatsApp battery drain - Samsung Galaxy S8 Questions and Answers

Hi,
Is anyone having sensor battery drain issue with WhatsApp?
This during my sleep where the sensor is on 100%.
Not sure how to turn it off.
I excluded WhatsApp in the whitelist for battery monitor.
Wondering if anyone have similar issue.

Yes. I posted this to another thread and got no responses. I wound up uninstalling. There is no reason for this. Their support was useless

Kill the whatsup? Do you really need to get updates while sleeping? Are there any settings, how often program updates? Any program that misbehaves like this gets deleted from my phone: either it's broken/not working properly or it's the way it works, not sure which is worse.

I have this drain, too. BBS says Sensor: invensense Accelerometer(1), wakeup=false, Time: xxh xxm. In another thread someone suggests that this drain is related to the usage of whatsapp web. I use wa web a lot, but the drain continues even if I don't use it and even when I kill and restart whatsapp. Why does wa need the Acceleromter?
edit:
With the latest WA version (2.17.190) the high battery drain doesn't occur anymore. It seems the problem is solved.

blue-spiderfire said:
I have this drain, too. BBS says Sensor: invensense Accelerometer(1), wakeup=false, Time: xxh xxm. In another thread someone suggests that this drain is related to the usage of whatsapp web. I use wa web a lot, but the drain continues even if I don't use it and even when I kill and restart whatsapp. Why does wa need the Acceleromter?
edit:
With the latest WA version (2.17.190) the high battery drain doesn't occur anymore. It seems the problem is solved.
Click to expand...
Click to collapse
Isn't the case for me. I have OnePlus 3T, with the WA version you mentioned above, and I still have this issue.

Bump. Anyone get anything useful from their support?

No help from Whatsapp support. Uninstalled and reinstalled, same issue. Reset the phone, the issue still persists. I need Whatsapp for my daily work so can't afford to remove it. I hope GSAM/BBS are reporting it correctly. Will have to wait for another update and keeping fingers crossed they solve this bug.

Anything off this? The problem still persist, the app uses the acelerometer like crazy in my moto x style.

I stop caring and just use the phone as it is.
Still getting 6 hrs of sot.
Some apps are using the sensor and I bet if we disable them the battery life will improve.

I dont see the drain anymore. Did you update Whatsapp?

I'm getting the drain atm... phone was at 88% last night.. got up this am and it was 55% and WhatsApp was using 23% above everything else..

I have the same issue...is there anyway to deny permission to whatsapp for sensor usage?

Anyone managed to solve this one? It's really annoying. Thinking about it, the only (reasonable) reason for Whatsapp to use acceletometer would be the camera, right? Since I never use Whatsapp's camera I just disabled the camera service for whatsapp and blocked Whatsapp from using phone's camera in the Privacy Guard settings, will see if that changes anything - so far this seems to be working.

I have the same problem

Still having the same problem...
---------- Post added at 03:43 PM ---------- Previous post was at 03:42 PM ----------
Still having the same problem

Put whatsapp to sleep, go to Apps->Special access--> Optimize Battery usage and enable Whatsapp here. Then go to device maintenance, remove it from 'unmonitored apps' if present and add to 'always sleeping' apps. Try this for a day and check BBS for wakelocks. Also you might want to check partial wakelocks when 'screen off' and not 'since charged'. You may miss messages for a day or two but its worth the effort

linom said:
Put whatsapp to sleep, go to Apps->Special access--> Optimize Battery usage and enable Whatsapp here. Then go to device maintenance, remove it from 'unmonitored apps' if present and add to 'always sleeping' apps. Try this for a day and check BBS for wakelocks. Also you might want to check partial wakelocks when 'screen off' and not 'since charged'. You may miss messages for a day or two but its worth the effort
Click to expand...
Click to collapse
But this is happening me on a Oneplus 3T... I dont have that option

airiartev said:
But this is happening me on a Oneplus 3T... I dont have that option
Click to expand...
Click to collapse
Then why dont you post on that forum? You may not get answers here.

What did you use to make it all black?

The same problem.
It's look like WA collect my activity data.
Any way to (may be utility) to deny WA use acceleration sensor?

Related

Absurd battery drain

Hi guys I'm really depressed because my phone is not working as it should be. There is a problem that appeared two weeks ago, my battery is having a massive drain with no apparently reason. I already tried everything, from installing a custom rom, deactivate all bloatware and Google Apps, installing different firmwares from Samsung, made several factory resets, changed my sim card, among other things. Even if I keep WiFi, mobile data, GPS, sync and all other things off, or even if I put on airplane mode and ultra power saving, that doesn't avoid my phone's battery to drain about 30% on a single night when I go to sleep and at a rate of 10% per hour in the morning. Looking at the battery usage the process that is giving me problems is gpsd which I don't know what it is. The rare thing is that if I remove my sim card this doesn't happen, or when I reset the phone with the sim in and don't activate mobile data my phone behaves normally but when I turn on data this starts happening again. Also I notice that almost never goes to deep sleep. The phone's model is G900h by the way. Here are some screens I took so you can look at this problem. I would really appreciate if you could help me because I am dying here, I rooted the phone and triggered Knox counter so I sadly lost my guarantee.
Anyone?
Do you use Google maps? It may be running in the background and draining your battery. Try disabling maps in settings and see if that fixes it
---------- Post added at 02:21 PM ---------- Previous post was at 02:04 PM ----------
http://esr.ibiblio.org/?p=4886
This link has some info on the problem, have you gone to location settings in your phone and Google settings and turned everything off related to location such a location reporting?
Yes I did turned everything off regarding location settings. I disabled maps and everything that may be using GPS. I'm sure it's not an app I have installed because I made a factory reset and disabled several bloatware and Google Apps. But I tried something drastic, with root manager I made a copy of the gpsd file on my SD and erase it from my phone. I hope that would solve this hirritating problem
steppenwolf1984 said:
the process that is giving me problems is gpsd which I don't know what it is.
Click to expand...
Click to collapse
steppenwolf1984 said:
Anyone?
Click to expand...
Click to collapse
How can you not know what gpsd is when the simplest Google search would tell you? A reasonable person would have tried a search before posting as one would reasonably expect that there is a wealth of information in existing threads for most subjects. A ten second search will answer most questions (including this one).
Google search: android gpsd
Gpsd is as you would expect from the name is probably a GPS daemon. And it's unlikely to be the culprit. Rather whatever process calls gpsd will be at fault. That is probably some program that tries to frequently check it's location or otherwise poll the GPS status. Which is supported by your observation that the problem disappears if you remove your SIM card. At the top of the list is Google now or related Google programs that are infamous for this behaviour.
Google cares a lot more about tracking your location and targeting ads at you than your battery life. A forum search will find detailed information about how to fix the issue to markedly reduce battery use in existing threads. In short by restricting the Google app's permissions. Or search my post history, I wrote about this at length a hundred or so posts back.
.
I'm sure you've already done that, but take a look at what apps/processes are running on your phone. Perhaps one of them is (part of) the problem?
Check your wakelocks,
Go get wakelock detector and let it run and see whats triggering your phone.
Never had the gpsd issue.
18 hours with 37 percent left?
You're doing pretty well,
did you manage to solve that problem? i have the same problem, even when i disable all location services it keeps draining my battery. I installed wakelock detector but it says it doens't work on kitkat.
Yes I did, thanks very much to all of you for your help. The culprit for this problem in my case was one of the Google apps. I only root my phone so to be able to uninstalled every gapp with titanium backup and then download the ones I needed from the play store
steppenwolf1984 said:
Yes I did, thanks very much to all of you for your help. The culprit for this problem in my case was one of the Google apps. I only root my phone so to be able to uninstalled every gapp with titanium backup and then download the ones I needed from the play store
Click to expand...
Click to collapse
did you find out wich of the gapps was the culprit? did you try disabling it instead of rooting to uninstall?

Battery Life Tips and Tricks Thread

I've noticed this phone has hit or miss battery life depending on what you have installed, greenified and frozen. I thought it would be a good idea to create a thread where everyone could share their battery life tips and tricks on this phone.
Below I posted what I have done to maximize battery life. I have not rooted my phone yet, so none of the below tips require root.
I disabled all bloatware apps that came with the phone. I did not disable any of the Asus applications.
I utilize the Asus autostart manger and denied auto start to all my applications except music applications, messenger applications, and google photo sync.
battery sucks. drain to much.
Just use until you have 5% free battery, this should make at least your day
With Android OS taking so much thanks to lollipop, there is not a lot to hope.
We wont see a good battery improvement until we get 5.1
Luckily, that is in the future for this device acc. to Asus.
Since the issue seems to primarily be Android os draining the battery I don't think most battery saving measures will make a difference. We will just have to wait for an update
When I was looking at the phone reviews people were claiming 8 hours screen on time, I can barely get 2 hours screen on time.
The problem I'm having is that the phone never goes to sleep and is constantly awake. Has anyone else seen this issue?
facelessloser said:
When I was looking at the phone reviews people were claiming 8 hours screen on time, I can barely get 2 hours screen on time.
The problem I'm having is that the phone never goes to sleep and is constantly awake. Has anyone else seen this issue?
Click to expand...
Click to collapse
I had the same problem after the latest update, no deepsleep in BetterBatteryStats (I'm rooted), I wiped everything and now it goes to deepsleep.
marcof93 said:
I had the same problem after the latest update, no deepsleep in BetterBatteryStats (I'm rooted), I wiped everything and now it goes to deepsleep.
Click to expand...
Click to collapse
Which firmware version are you on. I've wiped the phone once already, did you clear any caches? It's driving me mad
facelessloser said:
Which firmware version are you on. I've wiped the phone once already, did you clear any caches? It's driving me mad
Click to expand...
Click to collapse
I'm on 2.18.40.12 (ZE551ML of course), I restored the phone from backup & restore in settings (It may take 30 minutes or more). Before restoring I had 45+% of Android OS during the night, now 20% more or less, but, as said, also in BBS I can see deepsleep in frequencies.
Someone posted on Zentalk to turn off remote lock and scan for security threats in google settings. Not sure if it helps or not.
marcof93 said:
I'm on 2.18.40.12 (ZE551ML of course), I restored the phone from backup & restore in settings (It may take 30 minutes or more). Before restoring I had 45+% of Android OS during the night, now 20% more or less, but, as said, also in BBS I can see deepsleep in frequencies.
Click to expand...
Click to collapse
I wiped my phone yesterday and restored back up like you suggested and it seams to have sorted out my wake lock issue. I wonder why that is?
facelessloser said:
I wiped my phone yesterday and restored back up like you suggested and it seams to have sorted out my wake lock issue. I wonder why that is?
Click to expand...
Click to collapse
Glad you solved, but don't know why, maybe they are working hard on the firmware and there are lot of changes that can cause problem, maybe we have to wipe after every update, Intel processor and Lollipop are so unstable right now!
toebus said:
Someone posted on Zentalk to turn off remote lock and scan for security threats in google settings. Not sure if it helps or not.
Click to expand...
Click to collapse
It helps..i turned andriod device manager too
Ok so this is my battery with a normal day of use... Tomorrow ill show the results with your sugestions. My normal days have gsm calls(normal phone calls) whasapp (chat) youtube, twich, game like plant vs zombies 2, look at gmail, surfing internet, taking pics like 25 today.
I notice that battery drains a lot more while photo app open.
I use doble sim as you can see
If you want to test app battery drain, try GSAM Battery Monitor, or for some extra functionality the Pro version. Also very useful to determine what is causing wakelocks when you run into them.
Sammaul said:
If you want to test app battery drain, try GSAM Battery Monitor, or for some extra functionality the Pro version. Also very useful to determine what is causing wakelocks when you run into them.
Click to expand...
Click to collapse
Really interesting app ill download tomorrow im tring to lock some functionalities from google like sending data for app security and after that will download this and tell you what i got
Thank u sir thats a good one
Everyone is always wondering about Android using the most battery. Without doing some in depth debugging and tracing I would guess Houdini falls under Android. Because the ZenFone 2 uses the Intel processor a binary conversion for ARM instructions takes place with Houdini. More than likely you have a lot of apps native for ARM.
Force closing asus support app and zenui services app from apps setting gives me good amount of battery boost. Apart I have also disabled google books, movies, plus etc. I don't know if its placebo effect but someone can try and confirm. These app tend to restart at times so if you feel the battery decreasing at high rates again, make sure you force close them again.
Roughly speaking, I tend to get 3-5 min per percentage of screen on time with this which totals to 5 to 6 hrs on SOT on continous usage. Without the apps being force closed, I barely get 2min/%. The usage scenarios are normal web browsing, chats etc. This is using mobile data. It gets even better with wifi.
Try and let me know if this helps.
Maybe I don't use my phone as much as other people. I posted this last night on another forum. My phone was unplugged at 07:00, It's now 21:00. I have 80% battery left and the battery monitor shows 3 days left
I have received email, 3 phone calls and text messages. I checked Twitter a couple of times with the browser. I have read Google News a couple of times and played GSN Casino for about 20 minutes.
In Auto Start Manager I turned off Docs, Sheets, Skype, Slides, Translate, Amazon Kindle, Data Transfer and Web Storage. Everything else is Allow, but I have no social networking applications installed.
Its looks like battery life is a right mixed bag. At the start of the week I was suffering wake lock issue, my phone wouldn't go into deep sleep and was constantly awake. I wiped and restored from backup which seams to fix the issue.
Got up this morning and it looks like the wake lock issue is back. I don't know what to do to fix it.
Feel like giving up on the phone and sending it back if I can

New bugreporter wakelocks after updating facebook and messenger

So after updating facebook and messenger (facebook) I've found huge wakelocks in bbs. Anyone else having this issue? It's related to some kind of bug reporting?
======================================================
Wakelocks (requires root / system app on Android 4.4+)
======================================================
*job*/com.facebook.orca/com.facebook.bugreporter.scheduler.LollipopService (com.facebook.orca.Messenger): 37 m 20 s Count:10 22.2%
*job*/com.facebook.katana/com.facebook.bugreporter.scheduler.LollipopService (com.facebook.katana.Facebook): 30 m 2 s Count:6 17.8%
Same here........I'm locking it down using the Amplify Xposed module.
Prey521 said:
Same here!
Click to expand...
Click to collapse
It's causing massive wake time if left alone for a few hours. I went ahead and limited the wakelocks in amplify. Set it to allow them every 10th hour on trial. We'll see if that causes any problem.
I noticed this too. I watch battery like a hawk but this is the first time Facebook had shown much drain in the last few months. This was build still 59.0.0.3.313
Looks like tonight's build still has the issue.
I recommend reporting in the Facebook app itself.
Sent from my A0001 using Tapatalk
dmo580 said:
I noticed this too. I watch battery like a hawk but this is the first time Facebook had shown much drain in the last few months. This was build still 59.0.0.3.313
Looks like tonight's build still has the issue.
I recommend reporting in the Facebook app itself.
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
I've disabled them both in amplify. I don't feel I want battery every spent on uploading any form of reports. I've also limited facebook wakelocks apart from this to every 15th minute. It's spending too much battery on something irrelevant.
Reported it already.
Even my fiancee's Galaxy S5 (which can usually get through to the end of the day with 65+% battery left) was saying that her battery has been draining very quickly.
So I know Facebook in general gets a bad reputation, but as someone who watches wakelocks on a daily basis and the battery page, this is really the first instance of Facebook misbehaving in at least 2-3 years.
Anyway, is this something like you guys are seeing? https://imgur.com/a/rpO0j
The background drain isn't TOO Terrible. It's around ~2.5% / hour screen off on LTE (honestly that's what I got on a OnePlus One on Lollipop anyway), while the screen on drain was around 25% / hr
BTW, are you using Facebook/Messenger beta? I'm only in the Facebook beta program, so I don't see any issues for Messenger on my side yet.
are you using Facebook/Messenger beta?
Not using betas. I can't agree regarding facebook and battery life. It'd suppose to use cgm but still it had a heap of timers going off and the app is ever high in wakelock detector. I've had enough and now limited most of its alarms and wakelocks in amplify to no more often than every 15 mins. This has lowered facebooks position in the wakelock list to a much more acceptable level. No problems arise either apart from not getting notifications as expected but that's been a problem for years over multiple handsets.
I can even confirm it, the same wakelocks and drain have been appearing on my OnePlus One too.
I use amplify and prevent wakelocks to everything pertaining to Facebook to 86400s. That's once per day and haven't had any detrimental effects from the app. All still works as it should.
TigerSoul925 said:
Not using betas. I can't agree regarding facebook and battery life. It'd suppose to use cgm but still it had a heap of timers going off and the app is ever high in wakelock detector. I've had enough and now limited most of its alarms and wakelocks in amplify to no more often than every 15 mins. This has lowered facebooks position in the wakelock list to a much more acceptable level. No problems arise either apart from not getting notifications as expected but that's been a problem for years over multiple handsets.
Click to expand...
Click to collapse
What version of Facebook are you on?
BTW Facebook does use GCM. IT only uses MQTT when you are actively in the Messenger app. I'm not entirely certain what's going on here. The wakelock is com.facebook.bugreporter.scheduler.LollipopService so it seems to be bug reporting related and not notification related.
dmo580 said:
What version of Facebook are you on?
BTW Facebook does use GCM. IT only uses MQTT when you are actively in the Messenger app. I'm not entirely certain what's going on here. The wakelock is com.facebook.bugreporter.scheduler.LollipopService so it seems to be bug reporting related and not notification related.
Click to expand...
Click to collapse
Oh! Funny thing is, I've limited the mqtt stuff and I've had zero issues getting messages right away when screen is on or off in messenger but thanks to the mods facebook stuff is now farther down on the list of wakelocks rather than high. If those mqtts were only used when active, why use wakelocks for it at all? And why do they creep up in count when the screen is off? 60.0.0.2.76
Sent from my Nexus 6P using Tapatalk
TigerSoul925 said:
Oh! Funny thing is, I've limited the mqtt stuff and I've had zero issues getting messages right away when screen is on or off in messenger but thanks to the mods facebook stuff is now farther down on the list of wakelocks rather than high. If those mqtts were only used when active, why use wakelocks for it at all? And why do they creep up in count when the screen is off? 60.0.0.2.76
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
MQTT is only used when the app is in the foreground meaning its being actively used and screen on. Therefore it shouldn't cause wakelocks. I'm guessing MQTT is used because GCM can see delayed notifications sometimes. MQTT is probably better suited for real time chat.
What wakelock are you seeing? Is it the one I posted earlier? If so I'm not sure if that sure it has anything to do with the actual chatting and communication portion of the app. The wakelock has to do with a bugreporter, which is misbehaving when your screen is off.
I think I know the answer, but no way to help this without root right?
I can confirm, same problem on Nexus 5x (not rooted) latest version of Facebook... Updated this morning, caused wakelocks, uninstalled, problem solved. Shame I have to uninstall it to fix...
I have 60.0.0.5 now... Facebook simply minimizes itself automatically now. Anyone else seeing this behavior? I have greenify on Facebook as well as amplify to limit some wakelock. Might be the cause...
I am seeing this issue as well with com.facebook.bugreporter.scheduler.LollipopService causing massive drain.
I just have Messenger 53.0.0.17.308.
Since I do not want to install Xposed + Amplify to address the issue, is there a way to block this Job? I am digging into MyAndroidTools, but I can't find anything like that in Messenger services or Activities.
EDIT: According to BetterBatteryStats, it's a Service, but I can't find it.
EDIT2: By changing display mode in MyAdroidTools, I was able to find the service, the normal display name is Lollipop Service. However, if disabled, the app does not work properly, closes as soon it's opened.
same here guys!nexus 5 with cm13. huge wakelock with facebook and messenger. I tryed to greenify it but it doesn't work and after few minutes they come back again. I have to hybernate them with SDMaid app and it works well, but of course once hybernate i can't use them anymore until i dishybernate. Any solution?i don't use xposed..:crying:
Confirm this wakelock on 1+1 with CM 13.

Wakelock triggers

Hey guys,
As the title suggests - I'm enquiring about wakelock triggers (reported by WLD (Wakelock detector.))
As you can see, Facebook messenger has triggered my phone awake nearly 400 times in the space of my work day! I know Facebook and its messenger app has its reputation for being a battery hog, but there's no 'actual' wakelock in use!
Anyone know what's going on here? Anyone able to shed insight and or compare with their device?
With the second screenshot, you can see the difference between awake and screen on. I use aeroplane mode when I work, due to not having any signal at all - I just use WiFi.
Thanks in advance guys.
I'd look into something like naptime, power nap, greenify, so that you can basically shut it off when not in use, cause your system is definitely not sleeping.
Someone said there was a 'lite' facebook messenger app on xda, but I don't use it, so I don't know the name off the top of my head.

Google Play Services battery drain

Hey guys,
since I have my new S10+ there's a bettary drain of 25% per day only caused by the Google play services. I already cleared the cache and data but nothing changed. How can I detect which app causes that?
Regards
skrippi
I think you can use the Better Battery Stats and give it elevated permissions via ADB (instructions are provided) if you don't have root and you will get a better breakdown of which apps are using power.
If you are using Facebook Messenger or other social media or dating apps those are often the culprits causing battery drain because they keep Android from going into deep sleep so they can provide instant notifications.
One thing you might want to try is going into settings, search for sleeping apps and force any apps you don't need notifications from to sleep by default instead of running in the background.
Doing this raised the amount of time my S10+ was in deep sleep by more than 10% and reduced idle battery drain--although it's still much higher than I'm used to after several years of using phones from Huawei and Xiaomi.
If you look at the system apps on the S10+ Samsung has a whole lot of stuff running in the background that the owner has no control over and that inevitably causes battery drain.
---------- Post added at 10:50 PM ---------- Previous post was at 10:45 PM ----------
There is a thread on debloating the S10+ using ADB but if you read through the posts it seems like people inevitably disable some system process or app that unexpectedly causes something else to stop working. I don't think it's worth the hassle.
jhs39 said:
I think you can use the Better Battery Stats and give it elevated permissions via ADB (instructions are provided) if you don't have root and you will get a better breakdown of which apps are using power.
If you are using Facebook Messenger or other social media or dating apps those are often the culprits causing battery drain because they keep Android from going into deep sleep so they can provide instant notifications.
One thing you might want to try is going into settings, search for sleeping apps and force any apps you don't need notifications from to sleep by default instead of running in the background.
Doing this raised the amount of time my S10+ was in deep sleep by more than 10% and reduced idle battery drain--although it's still much higher than I'm used to after several years of using phones from Huawei and Xiaomi.
If you look at the system apps on the S10+ Samsung has a whole lot of stuff running in the background that the owner has no control over and that inevitably causes battery drain.
---------- Post added at 10:50 PM ---------- Previous post was at 10:45 PM ----------
There is a thread on debloating the S10+ using ADB but if you read through the posts it seems like people inevitably disable some system process or app that unexpectedly causes something else to stop working. I don't think it's worth the hassle.
Click to expand...
Click to collapse
Thanks you very much! I just started Better Battery Stats yesterday and this is the result. It seems that the motion sensor and something else I don't know are draining my battery very hard. Or am I wrong?
Does no one else have this issue solved?
You could update it to 19.2.75 version , maybe that will fix you draining trouble
How does BBS work on s10?
Sent from my SM-G975F using Tapatalk
I already signed up to the newest beta of play services. Nothing changed...
I also switched background data off for most apps. What is this ****? I am not using any new app since my old phone where this problem never showed up.
I figured out that it's not happening when I'm using wifi. Does that help anyone to find out what the problem is?

Categories

Resources