[Q] BetterBatteryStats reports 'gpsd-interface' killing battery on Galaxy Player 5.0 - Samsung Galaxy Player 4.0, 5.0

Hi there,
I've had my Galaxy Player 5.0 for over a month now, and it's been exhibiting a weird battery drain problem. I have everything set up to drain as little battery as possible when the device is sleeping. I've got auto-sync off, Juice Defender Plus to automatically disable Wi-Fi... it's working beautifully most of the time. I can go for days without the battery draining at all when I'm not using it. But then it inevitably hits a point where I turn it on and lo, like half the battery charge is gone. I check BetterBatteryStats often to monitor this problem, and it usually shows about the same awake time as screen on time, which is what you'd expect. When the problem kicks in however, the device shows hours and hours of extra awake time.
Two new kernel wakelock entries appear at the top:
gpsd-interface
GPS
Those account for pretty much all the extra awake time. I can break these wakelocks by turning on the GPS, starting Google Maps, letting it read my location, closing Google Maps and finally turning off GPS again. I never use Google Maps or GPS the rest of the time, but these wakelocks keep coming back every few days. I've searched everywhere for any mention of "gpsd-interface" and I found nothing.
Any idea how I might be able to fix this?
Thanks, Nir

Related

Sudden Battery Drainage

I understand all these battery drain issues that the prime has been having but haven't actually had them, until now. I used to lose about 2-3% overnight but suddenly I am losing around 15% because it won't sleep. I go into the battery setting and it shows it been awake the whole time. Now I am sure if I looked around I may find a fix but it just seems a bit odd that it has just suddenly occurred. And its not a wifi drainage issue as I usually put it to sleep at power saving mode and wifi off. Just asking why?
Thanks,
I think it could be the Asus weather widget which I had set at 1 hour refresh rate.
if this just recently occured out the blue, likely a rougue app or something you recently installed. an app running in background or sync is likely the culprit.
Just put Skype on it but that's not signed in most of the time
every android tablet and phone i have does this occasionally, and those occasions are when i either play video or music. some of these media players employ a wakelock that will not disable after you put your device to sleep. sometimes a reboot will work, sometimes not. most of the times the reboot keeps it from draining. even force quitting all my media apps wouldn't work.
so basically i reboot every time i use any type media player so i don't get the drain - netflix doesn't require it, dice and just about every music player does. i'm not sure it this may be your problem, but it may be a possible solution.
I find that making sure to check the last two settings under Asus Customized Settings helps this. I was waking up in the morning to find my dock dead everyday before I checked those two settings. The only down side is when I turn the screen on and wake it up, it takes about 5-10 seconds to connect to the wifi. No biggie.
Use better battery stats and see what is causing it. I have read that skype does drain battery pretty bad. And even if you're not connected it still runs in the background at start up. Another app I would recommend is Autostarts. It allows you to disable apps at start up. I know system tuner is free and has the same functionality but I find Autostarts better. With ST, you just disable the app at start up, with Autostarts you can disable it at start up, shutdown(which some apps fire when the tab is being shut down and other system events), also other events. Like some apps fire up when you get a text, or when your connection changes etc.. I just think Autostarts has more options.
Also dev Entropy has a thread in the GS2 forums about know battery drainers. Some of it applies specifically to the GS2 but there are a bunch of general battery killers listed
http://forum.xda-developers.com/showthread.php?t=1308030
If you go to setting and battery it should show you which is using the most battery. The first one on top. If its android system, you can click on it and it will show you a list of whats been using your battery which may point you to the culprit. In my case, media was the only thing in the list. And I know if an SDcard is inside my dock it will drain battery. So after removing it the drainage went away. Havent had the drain issue since. Again yours might be different so check the battery usage.
Thanks for the feedback guys, the first thing i am gonna do is charge it up after it fell flat right up to 100% then try some suggestions. I am thinking a reboot could help it.

Android and battery

I love Android.
I think the customization is great, and since v4 it's smoother and feels more responsive.
There are LOTS of apps and it's better than iOS.
But i'm sick of the battery issues.
I've always loved trying new features, ROMs, apps, hacks and whatever.
I now have SGS3 and it's my third android device, and i've installed ROMs dozens of times, even on my friends' devices.
One thing that always kept me alert is the battery life - the maximum I can get from my battery is around 30 hours with my usage - 1/5-2 hours of screen, ~45 minutes talk, lots of standby.
But every now and then, my girlfriend, my dad, my aunt or my friend ask me 'why does my battery drain so fast?'
Sometimes its google maps.
Sometimes its mediaserver/media scanner
Sometimes - and only I can see it cause they are not familiar with tools like BBS, it's gsf (Google Services Framework).
The point is, when you have an Android device, you need to check the battery stats every now and then to make sure nothing is unusually heavy on the battery.
I am currently experimenting with ParanoidAndroid and AOKP, which are faster and more responsive than omega/stock.
Yesterday i went to sleep (6 hours) with 25% battery (after it lasted 15 hours) and I turned off the data connection and the wireless connection.
I woke up after 6 hours (lucky..) and I saw my phone if off. after I connected it to the charger and turned it on I saw mediaserver decided to wake up in the middle of the night, after It almost did nothing during the day, and worked for 5.5 hours until the battery died!
Today I unplugged my phone and in 1 hour of standby 10% of the battery were gone, I checked what happened using BBS and saw gsf again (that GTALK_SYNC whatever wakelock) was draining battery, after I thought I fixed it yesterday when I disabled app data and browser sync in the google account sync options). I rebooted and now it seems ok again, the phone is back to ~70-80-% sleep.
I want to emphasize that I don't like all the stupid battery tips that tell me to castrate my phone:
turn off wifi when it's not needed, turn down the brightness, lower the screen timeout, disable sync (wtf? but its a smart phone, I WANT push notifications!) and that sort of things.
I KNOW I can get >24hours of battery without disabling the basic features of my phone.
And the draining battery processes that I mentioned earlier can suddenly appear even in a stock ROM, so I don't think it's PA or AOKP's fault.
What I want is that google will finally build a supervisor entity that will check what causes an unusual battery drain, check if it makes sense, and disable that cause!
It's absurd that google maps application comes with default 'enable location reporting' that constantly drains your battery and for what?? google maps doesn't run in the foreground, why the hell will I want that background location reporting draining my battery? and if so, why do you put this option enabled BY DEFAULT? The average user doesn't know this sort of stuff, and get only 10 hours of battery out of a device that should ideally provide ~30 hours!!!
Just wanted to let it out of my system...
And to get useful battery tips if any...

RILJ multiple wakeup. Cyanogen 10.2

The elusive RILJ problem. When his occurred I did read up on it, its not the location settings as they're all turned off and maps isn't the culprit cause I don't even have it installed. Whenever I check BBS it says RILJ (phone) and it literally drains my battery at the rate of 1% every 2 minutes with the 15 minute bus journey to work resulting in over 300 wakeups. I would love to use cyanogen permanently but I can't until my battery works for longer than a few hours at a time
yusuo said:
The elusive RILJ problem. When his occurred I did read up on it, its not the location settings as they're all turned off and maps isn't the culprit cause I don't even have it installed. Whenever I check BBS it says RILJ (phone) and it literally drains my battery at the rate of 1% every 2 minutes with the 15 minute bus journey to work resulting in over 300 wakeups. I would love to use cyanogen permanently but I can't until my battery works for longer than a few hours at a time
Click to expand...
Click to collapse
It's not related to your location settings but I think the issue is with your radio. Couple of things you can do. Try the fastdormancy app from the playstore and disable fast dormancy. Also try switching to Edge. That should help too. Overall some amount of RILJ wakelock will be there.
P.S If its cynogenmod then try disabling emergency broadcasts. Its either in the message settings or in the dialer app settings. I'm not sure if there is a correlation but it did work in my case.

Device is always awake and WiFi is always on

Hi,
I'm having battery issues with OPX again, first it was a faulty battery, but now it looks like the there's something wrong with the settings. The device loses about a third of it's battery overnight, but when I look at the stats I can see that WiFi is always on and the device is always awake!
I have installed naptime as well and told it to ignore sensors (not that it matters as the device is not moving overnight) and to sleep even if connected to a charger etc. No matter what I try the device is always awake.
Is there a way to find out what is keeping it awake?
When I look at usage since last full charge there's nothing unusual there, just regular apps and single digit percentage numbers.
Thanks for your help!
System version?
I'm on Android Marshmallow, using Resurrection Remix ROM.
I'm not quite sure how to use the wakelock blocker, but I just installed Wakelock detector and it shows TripAdvisor as #1 on the list. I have it blocked in notifications, but I can't find anything related to TripAdvisor in wakelock blocker.
Is there any way to prevent apps from keeping the system awake, or should I just unintall TripAdvisor completely?
Not sure if I'm on the right track, but something is keeping the system awake and I need to find out what
OS3 with google back up turned off I get zero drain. Maybe 2-3℅ max over night. Also turned off automatic updates playstore. With just those two things off dont see drain anymore might just be lucky.
Well I think I'm back on normal drain. I uninstalled TripAdvisor, not using it except when I'm on holidays. I disabled the option to keep WiFi on even during sleep.
I used wakeblocker to block all weather/facebook entries, and I have two gmail accounts, one which is use a lot and one which I don't - so I blocked all wakelocks from syncing the account I don't use often.
Battery history confirms device is now correctly going to sleep and turning off WiFi. Automatic updates are still on.
I probably blocked too much, but I don't care anymore, I have 30% more battery every morning and that's good enough for me
crótach said:
Hi,
I'm having battery issues with OPX again, first it was a faulty battery, but now it looks like the there's something wrong with the settings. The device loses about a third of it's battery overnight, but when I look at the stats I can see that WiFi is always on and the device is always awake!
I have installed naptime as well and told it to ignore sensors (not that it matters as the device is not moving overnight) and to sleep even if connected to a charger etc. No matter what I try the device is always awake.
Is there a way to find out what is keeping it awake?
When I look at usage since last full charge there's nothing unusual there, just regular apps and single digit percentage numbers.
Thanks for your help!
Click to expand...
Click to collapse
Which ROM and recovery do you use?

[Screenshots]: Battery drain overnight. Need help identifying wakelocks.

It's a stock T-Mobile LG G5. I get around 2-2.5h SOT. Overnight it drops the battery by 8-11%. There are 34 screenshots in the ZIP file below, showing GSAM Battery monitor and BetterBatteryStats data. I've never used BetteryBatteryStats before so if someone could help me identify the culprit I'd greatly appreciate that.
The signal strength is excellent and the always-on display is disabled. The bluetooth and GPS are always enabled. I should mention that last week I put the phone in Airplane mode and the drain stopped, but obviously it's not a solution.
1.) why do you know, that the gsm signal is excellent? Because you can see 5 stripes in the notification bar? That is not real! I can see 5 stripes too, but this at 15 ASU.
But 100% signal is = 30 ASU! So this result can differ even you believe you can see 100 signal quality.
2.) my system is running on 20p. No BT and no Wlan (no NFC) with 8% for 24Std. (150 user apps installed)
3.) wifi and G-Mail polling sucks much battery power too! you should switch it of to compare! or is it real necessary to be on over the night???
4.) what’s about the google fitness app? this app needs power to check the sensors.
5.) Twitter; Google; G-Mail; Fotos are syncing many times! You can see together more then 800 wake ups!
no wonder that this together will suck your battery empty!
i would suggest you to switch off BT and W.Lan over the night! This should spend a lot of battery power too! Same for syncing and background data traffic.
Try to use 3C Battery Monitor app. there you can see the power consumption every 10 min in the night.
read this too! -> https://forum.xda-developers.com/showpost.php?p=74381087&postcount=327
I have 55 ASUs, so the connection is not the problem. Last night it only drained by 1%. I had both Bluetooth and GPS enabled so I don't think they are the problem either. Twitter, Gmail also were enabled and they actually pulled and displayed some notifications, yet the drain was minimal.
What I think sometimes happens is Google app or Play Services goes crazy starts waking up the phone for no reason. Would you agree based on the screenshots? Or could it be some bug in the OS that does this?

Categories

Resources