[Q] Battery discharging (wakelock) - Lenovo A1000 - 4.1.2 Jelly Bean - Android Q&A, Help & Troubleshooting

I have noticed weird behaviour of my Lenovo A1000 tablet and I would like to find out is it normal (I was finding similar topic but I've not found).
When I charged device fully and unplugged it, battery discharges slowly by about 24 hours. After about 12 hours from disconnection battery is 98%, next 12 hours - 95-96%. Afterwards, it discharges much faster, for example - before night it is 95%, in morning it is 83%. Sometimes it falls 20%.
I installed Wakelock Detector. By first 24 hours, it says that there was 1 screen wakelock: Android System - keyguard triggered several times and it lasted several seconds (always less than 20). When my battery is being drained, WD says that this wakelock lasted above 1 hour.
Is it normal, or something drains my battery, or battery sensor/indicator is low quality?
Tablet doesn't have 3G modem; Wi-Fi is turned off when device is asleep; turned on sync: Gmail, calendar, contacts (photos, G+, Facebook, Twitter etc are turned off); positioning is turned off (GPS, Wi-Fi); Google Now is disabled; all apps are up to date.
Screenshots from WD (I can't post links/images)
Code:
https://dl-web.dropbox.com/get/Public/Screenshot_2014-03-17-09-30-04.png?_subject_uid=24876864&w=AAAjhx_75AbxIilfSy2o5mvJnmW9bLuHhjnAwLvqmV3D7w
Code:
https://dl-web.dropbox.com/get/Public/Screenshot_2014-03-17-09-31-06.png?_subject_uid=24876864&w=AABHId8gxFI4aF6cvAHfJCwppkQ5DZNBXP0d3WD4qHf8lg

OK, I've done some tests. Battery is drainded when Wi-Fi is turned on and lost connection, even when it is set to switch off when asleep. When I make device asleep and turn off my Wi-Fi router, tablet is awake during that time and it can't go into deep sleep. I uninstalled apps like Facebook etc. and it didn't help, hence it is not problem with app sync (unless Google services).
Does anybody know where is the problem?

Related

[Q] BetterBatteryStats reports 'gpsd-interface' killing battery on Galaxy Player 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

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...

[Q] Asus fonepad battery drain fast

Hi all,
Recently, my fonepad battery suddenly drain 30-40% faster. In other words, it completely drain in 13 hours without any talk time. This happened after my house have a sudden blackout during phone charging which at that point is 85%. I had tried to reset the phone (via power + volume up button) now still fail.. Attached are the screenshot from battery widget, settings and wakelock detector.. Any idea ??
no188 said:
Hi all,
Recently, my fonepad battery suddenly drain 30-40% faster. In other words, it completely drain in 13 hours without any talk time. This happened after my house have a sudden blackout during phone charging which at that point is 85%. I had tried to reset the phone (via power + volume up button) now still fail.. Attached are the screenshot from battery widget, settings and wakelock detector.. Any idea ??
Click to expand...
Click to collapse
Use BetterBatteryStats to determine which process keeps your device awaken. BBS will give you more information than Wakelock Detector.
The main culprit for you seems to be the alarm_rtc wakelock, which handles alarms (when an application or process checks periodically on something). So maybe your device is trying to sync something but fails to do so and thus keeping your device awake. You could try to disable all apps that sync data one by one.

[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?

Standby drain

When you sleep, does your phone sleep, or does it stay up all night and crunch 1s and 0s? Rate this thread to express how you deem the speed at which the Google Pixel 4's battery drains under standby conditions. A higher rating indicates that when the phone is not in use, the battery drains minimally.
Then, drop a comment if you have anything to add!
Really good standby drain for me. Around 0.7-1. %
The standby.. Everytime is different.
Sometimes i get 10% overnight. Sometimes 6%. Sometimes 7-8%. And last night 2% (for 7h).
Wifi always on, motion sense on, AOD off, adaptive battery on, phone flat on display
DSF said:
The standby.. Everytime is different.
Sometimes i get 10% overnight. Sometimes 6%. Sometimes 7-8%. And last night 2% (for 7h).
Wifi always on, motion sense on, AOD off, adaptive battery on, phone flat on display
Click to expand...
Click to collapse
turn off adaptive battery and your standby time will be closer to the post before you
jalado said:
turn off adaptive battery and your standby time will be closer to the post before you
Click to expand...
Click to collapse
Tried one night. It was about 8% for 8h..
And last night it drained 5% in 9h, with adaptive battery on
DSF said:
Tried one night. It was about 8% for 8h..
And last night it drained 5% in 9h, with adaptive battery on
Click to expand...
Click to collapse
this is with 60hz.. check to see if wifi scanning is on. even if you turn it off and you use an app that asks you to turn location on like Google maps. if you hit yes it will automatically turn wifi scanning back on. I also turn off auto sync and sync things manually when I choose too.
Thanks for the reply.
How is going in prolonged standby? I've observed that when commuting it drains more battery. Even if i am using location history that's a bit too much, because most of the time i am not moving. I am just placing the phone on my desk.
jalado said:
check to see if wifi scanning is on. even if you turn it off and you use an app that asks you to turn location on like Google maps.
Click to expand...
Click to collapse
Turning the wifi and Bluetooth scanning off are among the first things I do when i setup a device.
I need auto sync.
I've just turned off "mobile data always on" from developer options and will see if it helps or not.
DSF said:
Thanks for the reply.
How is going in prolonged standby? I've observed that when commuting it drains more battery. Even if i am using location history that's a bit too much, because most of the time i am not moving. I am just placing the phone on my desk.
Turning the wifi and Bluetooth scanning off are among the first things I do when i setup a device.
I need auto sync.
I've just turned off "mobile data always on" from developer options and will see if it helps or not.
Click to expand...
Click to collapse
having location history on shouldn't affect the battery, it's just storing history.
it'll turn back on though if an app requests for location and you press yes. for ex. use Google maps and it'll probably ask for location to be turned on even if you have location on already. if you press yes it'll turn on wifi scanning.
I do the same. turning off mobile data always on should help.
the standby drain usually comes from play services, but it could also be an app that was downloaded. from my experience, it's usually play services.. yeah if you need autosync then it is what it is. because even if your phone is face down it's still going to use your cpu. it's probably better for you to turn adaptive battery on, but you should limit/restrict your apps manually, instead of letting it notify you when it thinks an app is running too much in the background. I know a pixel 3 user that was using adaptive battery with 30 apps restricted and it was working for him. I never restricted apps manually when I had adaptive battery on. that could be the reason adaptive battery never worked for me. my play services would be higher than 5%, sometimes even 15%-20% with it on. now I rarely go over 4%
these pics are from my 3. it also depends on your reception, there aren't any battery saving tips for that , except to put it in airplane mode.
one more thing is to calibrate your battery. I understand that li-ion batteries don't have memory like nickel. but I think it something to do with the OS storing the battery capacity or something.
charge your phone to 100, drain it till it turns off. plug it in and charge it to 100. unplug turn it on and repeat the steps 1 more time. this helps especially on big updates.
the battery becomes more efficient and consistent. when I updated to 10 from pie my battery would drain quickly to like 50% and then below that it would slow down.
I am roaming right now and connected to a WiFi network with dual band on the same SSID. It's frustrating how much the battery drains when idling!
7% loss in less than 2h completely idle..
From 95% to 88% in 1h40 of standby!
I have no access to the router to force it on a band, it keeps switching from 2.4ghz to 5ghz.
If i turn off wifi and leave mobile data on, then Google Play services is on top of the draining list.
I am starting to hate all these Android inconsistencies..
DSF said:
I am roaming right now and connected to a WiFi network with dual band on the same SSID. It's frustrating how much the battery drains when idling!
7% loss in less than 2h completely idle..
From 95% to 88% in 1h40 of standby!
I have no access to the router to force it on a band, it keeps switching from 2.4ghz to 5ghz.
If i turn off wifi and leave mobile data on, then Google Play services is on top of the draining list.
I am starting to hate all these Android inconsistencies..
Click to expand...
Click to collapse
turn off your auto sync. it updates every 15 mind and keeps your phone from dozing. just manually sync it. it literally takes 6 clicks.
jalado said:
turn off your auto sync. it updates every 15 mind and keeps your phone from dozing. just manually sync it. it literally takes 6 clicks.
Click to expand...
Click to collapse
Man, it has literally nothing to do with auto sync.
I have battery issues both when using the phone and while standby.
The phone is getting annoying warm. That doesn't happen when i am home. Now i am using a different wifi connection.
Now home (different router, different SSID for each band) the wifi consumption seems normal and the phone doesn't heat anymore while using. That's so pity when you have no control to wireless router and you get into this situation! This seems to be related to Android, since i had the drain also on OnePlus 5.
Made a little test, when not in "doze mode" it consumes 2% each hour.
And overnight somewhere between 4-8% (random !?) for ~8h.
All standby times, no background tasks
Wifi & Bluetooth scanning off, motion sense off, idle screen (AOD) off, wifi on, location on, always on data off, Bluetooth on, tap to wake on, lift to wake on, now playing on, assistant voice match off
My battery drain reduced to 3% overnight (8+ hours sleep), with motion sense completely OFF
@jalado do you have any issue with Google play services or phone idle consuming a lot of battery?
I've attached a screenshot with battery usages.
I've already cleared Google play services data + cache yesterday (+ a reboot after about 30mins) before charging.
DSF said:
@jalado do you have any issue with Google play services or phone idle consuming a lot of battery?
I've attached a screenshot with battery usages.
I've already cleared Google play services data + cache yesterday (+ a reboot after about 30mins) before charging.
Click to expand...
Click to collapse
no, my idle drain at night is like 1-2% over 6-8 hours. I don't have auto sync on though, so my phone stays asleep. your play services seems good for auto sync being on. mine's around 3% a day, if that.
I will try to turn off auto sync overnight and see then.
I got 6% drain for ~8h overnight.
Btw, when home with wifi on i have no issues with Google play services battery drain. But when commuting and with data usage (being on mobile data about 2h of the time) the drain is high!
I have to test more and see if it's because location history, Google fit or mobile data. Or all..
So I've turned off auto sync overnight.
It drained 6% (70% -> 64%)... So for me the same drain :/.
Another thing that i am disappointed of is the Google Play Services when on mobile data (on idle/standby). I am on LTE with good coverage.
Use this
https://r.tapatalk.com/shareLink/to...9&share_fid=3793&share_type=t&link_source=app
[APP][2.2+][05 Oct. - V2.4] BetterBatteryStats
That's what i am planing to do for weeks.

Categories

Resources