[Q] How to troubleshoot kernel wakelock problems? - Galaxy Note GT-N7000 Q&A, Help & Troubleshooting

Hi everyone,
I've been optimizing my battery drain issues as suggested in other threads in here and elsewhere, since I'm having unusual battery usage when the phone is off (even in the flight mode, with WiFi,GPS,Autosync off, it uses more than 10% of the battery in 6 hours).
I've used CPU Spy, OSMonitor, BetterBatteryStats, and terminal commands (ps, top, etc.) trying to pinpoint the battery problem, and I got to some results, but I got stock with this issue:
CPU Spy shows that my Galaxy Note never goes to "Deep Sleep". It's always stuck with 200 MHz when it's turned off. So, I figure the issue should be a wakelock.
The BetterBatteryStats everything is (to some extent) natural, except that it shows (in its Kernel Wakelocks page) a huge number under the name "GPS", and I don't seem to be able to find the problem. Actually, the time reported for the "GPS" wakelock is almost equivalent to the uptime of the device minus the time that the device was fully awake (screen on).
For example, I turn off the screen, wait for 10 seconds, turn back on, and the number is increased by 10 seconds. (It doesn't increase when the screen is on)
Here's what I've tried already:
- Turning off the GPS (it was off from the beginning actually)
- Turning off everything (Wifi, Cell)
- Killing most of the apps in Running Services
- Restarting the device
One important observation was that when I restart the device, the "Deep Sleep" is back for some few minutes. When I use my device for one or two minutes (nothing special, turn on Wifi, do a sync) the "GPS" kernel wakelock is back, and doesn't go away no matter what I do.
I searched a lot, and nobody seems to have noticed a high "GPS" wakelock on the kernel.
My ROM is Samsung's stock ROM (Updated to 2.3.6)
Kernel version: 2.6.35.7-N7000XXKK9-CL725676
Anyone has any idea what to do to find out what is causing the wake lock?
------------
Update:
There's a few experiments that I had:
- When I have WiFi turned off and restart the device (hold the power button, turn off, and turn back on) there is no issue (phone can go to deep sleep, and there's no "GPS" kernel wake lock). After turning on the WiFi and passing a few minutes, the issue is back.
- When I have WiFi turned on and restart the device (so that the WiFi is on from the beginning when the device starts) entering Deep Sleep is impossible. The "GPS" wake lock exists from the very beginning.
- The above issue made me think that it might be a Network Location issue. So I went to Settings > Location and security > and disabled "Use wireless networks" and restarted the device. The issue never happened again no matter how long I waited. I turned on WiFi, auto sync, manual sync, turned on GPS and used Google Maps, ... There was no problem with Deep Sleep. The device can sleep alright.
- When I changed the "Use wireless networks" setting back on, to my surprise, the issue DID NOT COME BACK. I even used it (located myself without GPS in Google Maps) and everything else... But the device can still go to sleep.
So, bottom line is that I have the issue fixed (for now!) but I can't realize what was it and why isn't it there anymore.
Anyone has any ideas?
------------
Another update:
The phone got to sleep well last night. 1 percent battery drain during the whole night. But when I got to work (the location changed), the "GPS" kernel wake lock is back, and causing the phone to stay awake. I had to disable the Network Location again to put my baby to sleep again...
-Hamed

I have the same problem..Huge GPS percetage but the GPS is off.. I will try your methode now..hope it works

I had the very same issue on KK9/KL3/KL7
I dont have the GPS enabled but the scenario is similar, I used the phone with wifi (but no wifi location services enabled) and it does not go into deep sleep till the phone is restarted and bettery battery stats show a huge uptime caused by the GPS.

I seem to be facing the same issue. My phone used to go into Deep Sleep without any issue earlier, I noticed this issue today. I'm trying OP's suggestions and will report back if it helps.

same issue here since kl7

Making me crazy.. Anyone has a solution?
It happens whenever they phone boots with wifi on... Booting with wifi off then turning it on it will sleep fine

i have exactly the same problem.
galaxy note on rocket rom v14 and v15.
i'll try your method and update if find anything. it's driving me nuts!

Exactly same problem here
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have the same problem. Sometimes on restarting, the problem seems to go away. Have just not been able to find a pattern to see what triggers it off.
I've attached some screen shots.
My phone lost about 20% in 8 hours. At night. Ridiculous.

The only way I found around this is to reboot in airplane mode...

Maybe it's some program keeping it awake. Keeps trying to get a fix on location.
Are any of you using Samsung dive? Or have you enabled the "remote control" feature?
Sent from my GT-N7000 using XDA App

gaddy888 said:
Maybe it's some program keeping it awake. Keeps trying to get a fix on location.
Are any of you using Samsung dive? Or have you enabled the "remote control" feature?
Sent from my GT-N7000 using XDA App
Click to expand...
Click to collapse
r u using google latitude ? if so try loging out.

FFor a better experience level battery must be a full wipe and wipe Dalvik cache and have the battery load 100% and with ODIN PC to install the official rom you want depending on your country KL3 OR KL4 http://forum available here. xda-de...m.xda-developers.com/showthread.php?t=1331784 flash the kernel SpeedMod K1-1 Test 5 http://http://forum.xda-developers.com/showthread.php?t=1443385available here

I did try logging out of Lattitude. The problem didn't appear for a while, but it's back now.
Has it got anything to keeping the Auto Sync on?

I have the same problem and i am on RocketROM v19 + AbyssNote 3.2. The GPS appears after i discharge to about 80% mark.
The percenetage of my battery is from 100% to 1%, what is "GPS" that is keeping my phone from sleeping?

I have the same issue.
From time to time the GPS kernel wakelock kicks in and starts draining the battery.
This appears mainly when I connect to a Wifi network and never when I use a GSM network data link.
2 solutions for me: restart the phone with wifi off.
Enable GPS, start a GPS software like GPS test for a short while, and then leave the app and stop the GPS again.
When I check with CPU spy, the phone enters deep sleep again.

Check all the widgets on your homescreens. Anything that requires updates that use current location will activate the GPS.

it is not related to any widget or so, i tried all combinations and, no matter what, gps will come back again.
the only way around this I found was to reboot in airplane mode. it would work for a day or so and then GPS wakelock will show again needing another reboot

No need to reboot in airplane mode, just turning off wifi and reboot will work. This is troublesome as i have encountered GPS waking my phone twice a day sometimes. I am fed up with rebooting my phone. I really hope they fix this in future ICS.
I am currently testing on logging out facebook, i have yet to encounter the GPS wakelock so far. Hope all goes well and facebook is the root of these GPS wakelocks.

Did you also tried what I posted above?
Enable GPS, start a GPS software like GPS test for a short while, and then leave the app and stop the GPS again.
Click to expand...
Click to collapse
It's working for me.
I noticed that this "GPS" wakelock appears only when I'm connected via WiFi with a very weak signal.

sibere said:
Did you also tried what I posted above?
It's working for me.
I noticed that this "GPS" wakelock appears only when I'm connected via WiFi with a very weak signal.
Click to expand...
Click to collapse
I am constantly connected to a very weak wifi connection too but does that really have anything to do with the GPS wakelock? if so, i will look into this to confirm.
And your methods above, does it work permanently or whenever the GPS wakelock occurs, i have to redo the steps?

Related

How To Modify The WiFi Sleep Policy

I am sorry if this was already found.
I know alot of people were complaining about the wifi shutting down when the screen timeout occurred. I found a setting in Spare Parts that changes the wifi sleep policy. My NC battery died and is charging so I didn't get a chance to see how well it worked but hopefully it helps.
I set mine to never. I also found that a some of the lg apps posted elsewhere here install and work on the nook.
I for one cannot wait for the roms. This thing kicks serious ass in it's infancy... imagine if someone like cyanogen came on board.
Agreed.. Once Bluetooth is active and hopefully CM6 comes to play this puppy should perform quite well (mouse on screen ya!).. I'm amazed that the 3D games (mainly Gameloft) play so well right off the bat..
I did the same thing in Spare Parts and can verify that the Wifi stays active. I know because K9 on my NC beeps at me a second before my phone chimes when I get an email, even when it's been locked with the screen off for hours.
johnopsec said:
I did the same thing in Spare Parts and can verify that the Wifi stays active. I know because K9 on my NC beeps at me a second before my phone chimes when I get an email, even when it's been locked with the screen off for hours.
Click to expand...
Click to collapse
How does this affect battery life though? I imagine if Wifi is always connected and getting email, it should be a serious drain on the battery...
wifi on = battery drain
peiziyu said:
How does this affect battery life though? I imagine if Wifi is always connected and getting email, it should be a serious drain on the battery...
Click to expand...
Click to collapse
Yes it would so use judiciously.
I set mine to never turn off wifi automatically, and then I just use a wifi widget (either the power control widget that's already there) or Beautiful Widgets wifi toggle to turn it off when I'm not using it (during the day at work for example).
I have mine set to never...Still cuts wifi when the screen sleeps.
Any other tricks to try? I need wifi to remain active....
jdposhkus said:
I have mine set to never...Still cuts wifi when the screen sleeps.
Any other tricks to try? I need wifi to remain active....
Click to expand...
Click to collapse
I've tried Wifi Lock as well as Spare Parts, and have the same result. Wifi still sleeps.
Spare Parts did not work for me either. I've yet to try Wifi Lock.
Wifi Lock works for me...
Ok.. I read all the posts I could find and installed Wifi Lock, this is the only one I tested and works great for me. (Tested using Pandora radio)
This is what I did:
1- Install Wifi Lock (Android Market)
2- Reboot Nook Color
3- Go to your Extras and run the app. (It doesn't have a user interface, it only displays a message every time you click on it: Default / Never)
4- If you are using Advanced Task Killer (or any other) make sure you deselect Wifi Lock and add it to your Ignore List (I did it right away, I guess that's a VERY important step)
I just tested it several times for about an hour using Pandora radio, I have no idea how much it will drain the battery... If something goes wrong I'll let you know...
Is this policy of keeping wifi on based on nooks that do not constantly reboot themselves, which is an issue many of us are having. there is a huge thread clarifying a partial fix for the rebooting based on killing wifi when the screen is off.
I am having pretty good results with "WiFi Manager" in the marketplace.
never mind - my bad, info was not correct, so sorry
slugbug2010 said:
If you don't set your wifi to never sleep, then when it DOES sleep it will scan. Scanning is a battery drain. Wifi never sleep is better.
Click to expand...
Click to collapse
This is absolute nonsense.
Wifi never sleep is a massive drain on the nook battery. Its better on a phone because when the wifi shuts off the phones data turns on and uses more battery. The nook has no data connection so when wifi is off it uses next to no battery life.
notinterested said:
This is absolute nonsense.
Wifi never sleep is a massive drain on the nook battery. Its better on a phone because when the wifi shuts off the phones data turns on and uses more battery. The nook has no data connection so when wifi is off it uses next to no battery life.
Click to expand...
Click to collapse
Thank you. My bad, I apologize for the bad information.
My problem was a bit different than everyone else's, because when my wifi shut off during sleep, I would have to manually reset my router in order to get the NC to recognize it. Needless to say, this was a huge pain, because we have a lot of devices in our home depending on the wireless router, including our cable boxes.
So, I've been using WiFi Lock on the NC for the past two days. So far, it's only lost the wifi signal once, and I was able to turn it back on within the Nookcolor. Hopefully this will last, because I will gladly take that over having to reboot our rooter.
I would like to pass along some info on an app that I “highly” recommend for controlling the Nook Color’s WiFi. For the last few days I’ve been using “Green Power FREE battery saver”
The beauty of this app is that you can control the “automatic” ON/OFF of WiFi based on when the screen turns off. With it setup to turn off the WiFi with a 0 second time delay I have eliminated all random reboots when the system goes into sleep mode. Also as soon as the screen comes back on it automatically turns the Wifi back on, and my Nook reconnects in about ten seconds. I have tested this in both Infrastructure and ADHOC modes (tethered to my phone) with no problems what so ever.
norkoastal said:
Agreed.. Once Bluetooth is active and hopefully CM6 comes to play this puppy should perform quite well (mouse on screen ya!).. I'm amazed that the 3D games (mainly Gameloft) play so well right off the bat..
Click to expand...
Click to collapse
I thought that CM was going straight the CM7 for the nook?
Sent from my LogicPD Zoom2 using XDA App
Update
I have tried Wake Lock, Spare Parts, and WIFILock. I saw the most success with WIFILock but it has been failing lately. I'm going to try Soft Locker next and see what happens.
TJNooker said:
I have tried Wake Lock, Spare Parts, and WIFILock. I saw the most success with WIFILock but it has been failing lately. I'm going to try Soft Locker next and see what happens.
Click to expand...
Click to collapse
The Nook wifi problem sounds very much like the issue the ZTE blade has, I've made an app that creates a wakelock whenever you turn the screen off (if wifi is enabled).
Let me know if it works!
Market Link - Advanced Wifi Lock
QR code
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

[Q] Is 5% battery drain per hour normal (standby)

I have a custom rom (seeARMS' Bell UGJL2 v0.3) with the following kernel: Super Optimized Kernel 4.7.4. I also use juice defender on default settings.
I noticed my battery drain is about 5% per hour if I leave wifi on (even if I dont use my phone). I'm aware that simply leaving wifi off gives a significant increase.
Any free app to turn wifi off if screen is off but keep data sync through g3 ?
Francois88 said:
Any free app to turn wifi off if screen is off but keep data sync through g3 ?
Click to expand...
Click to collapse
Isnt this how Android works actually? Default the wifi closes 15 mins after the screen goes off(you can set it on instant or always off) and ofc the 3G comes back on after. You can check in Dialer *#*#4636#*#* and Battery history how long was the wifi on.
If the time wifi on = wifi running > somethign is wrong . Either you set it up that wifi never disconnects or there is some app not shutting down and eating your connection.
I have only had worse results with Juice Defender, try without.
I have Wifi sleep policy set to "Never". I have 3G and Bluetooth enabled all the time, i estimate standby drain at 2% per hour or less.
PAGOT said:
Isnt this how Android works actually? Default the wifi closes 15 mins after the screen goes off(you can set it on instant or always off) and ofc the 3G comes back on after. You can check in Dialer *#*#4636#*#* and Battery history how long was the wifi on.
If the time wifi on = wifi running > somethign is wrong . Either you set it up that wifi never disconnects or there is some app not shutting down and eating your connection.
Click to expand...
Click to collapse
Thanks, now I know what to look for. My "Wifi On" is indeed equal to my "Wifi Running" stat. Any quick way to find the culprit?
pwhooftman said:
I have Wifi sleep policy set to "Never"....
Click to expand...
Click to collapse
Francois88: Check how is your wifi sleep policy defined. It should be in settings>wirelles...>>wifi settings press menu go advanced and there wifi sleep policy.
And for bad apps - culprits I has system panel and its monitoring. Like that you can compare your usage to running apps. Thats how I found out even CLOSED and SIGN OUT skype was eating the cpu and didnt allow the device to sleep at night....
First stop using memory auto clean program. They sucks and you will get a higher battery drain with them.
You should max have 1% /hours in idle/sleep mode. Have you more then you got a problem with an app.
**DamianGTO Steam kernel. 350MB Ram. 500HZ. Ext2 on all partitions. js3 base**
Thanks for the replies guys,
I have now put wifi sleep policy to "Never when plugged in". I found it weird that the advanced settings are hidden and that you have to press the menu button when you're already in a settings menu. In my opinion they should've just made an Advanced subsection within the wifi settings menu.
As for memory cleaners, I don't have any. I had already read about 2.2 doing an amazing job at memory management.
I don't have skype either. I figured their app would be just as bad as the PC version (taking your bandwidth even when the program is off).
I have an app called "NetCounter" that could possibly be a culprit? It monitors my 3G/Wifi usage per day/week/month.
I will see how much the sleep policy helps and post back if I still have weird battery drain.
of course it is not normal. I lose 2-4 percent in 8 hrs standby. try another rom or modem to see if it helps
With the sleep policy now in place I lost 8% overnight (~10 hours) which is much better than before, but I still feel like it could be better.
I can't find how to make it sleep with a shorter delay than the 15minutes by default. Also, is there any reason to not make it instant? (ie does reconnecting consume significantly more battery than just being connected already?)
hoomanm said:
of course it is not normal. I lose 2-4 percent in 8 hrs standby. try another rom or modem to see if it helps
Click to expand...
Click to collapse
What do you use?
@francios
have you checked if ur fone has the speaker bug? if u use vibrate mode or silent often... after startup if no sound is played the system keeps the back speaker on... a faint hissing sound can be heard in a quiet room with the speaker close to ur ear... i had 10% drain overnight at idle with no wifi and no data.
this bug corrects if u play any sound aftr u reboot the phone.
I'm getting a very similar situation - around 15-20% drop a night (7-8 hours), with everything off (APN Data disabled, Wifi off etc, GPS off, bluetooth off).
Thoughout the day with APN Data enabled I get around 5-7% drop an hour on standby.
I've tried a combination of Voodoo and Speedmod kernels, Darkys and Docs roms, and JPP, JP5 and JPY modems, but nothing fixes it (and this is with 'stock' roms - before I install any of my own apps).
Theres no sound bug, no gallery bug, no media scan bug, display is always at 0%, HPSDA off, Wifi off on screen off - timeout after 30 seconds (use RyanZAs OCLF on the market, install the EXT2 tools, and use the Wifi Timeout option to change this)
Strangely enough - very occasionally - JuicePlotter will show an hour or so where no battery was used whatsoever - then it plummets around 5-8% the next hour - even though all I'm doing is turning it on to check the battery level
So I'm guessing it's one of two things - the battery needs re-calibrating AGAIN! (I've already done it twice now) or there's a hardware fault.
So I'm guessing it's one of two things - the battery needs re-calibrating AGAIN! (I've already done it twice now) or there's a hardware fault
More like a software fault . Clean install and total wipe of system etc is the only way to rule out software . using stock rom not customized rom .
(and this is with 'stock' roms - before I install any of my own apps).
However if thats true i would be asking Samsung Service .
jje
I have changed firmware/kernel completely and get more reasonable results now.
I use seeARMS.XWJS3 v.0.1 with Speedmod's latest kernel (k13a). I did a full wipe install to make sure no software could be responsible for any weird battery drain. I have tested it for a day now and get the following results according to juice plotter
Idling with G3: 1% per ~3 hours
Idling with wifi: 2-3% from the first 15 minutes (sleep policy turns off wifi after 15 mins, how can I make it less than 15 minutes?)
Streaming 550MB movie for 50 minutes: 9% battery
For what it's worth, the battery usage menu is as follow:
Display: 81%
Cell standby: 10%
Phone idle: 5%
Wi-Fi: 3%
It's weird that wifi is so low compared to what JuicePlotter shows.
I have attached a juiceplotter image showing my last 10 hours of usage (starting with movie streaming for about an hour and 2 times over night where I woke up and checked stuff on the internet for less than a minute, resulting in 15 minutes of wifi activity). And then playing around with GPS/Wifi this morning. BTW, This setup seems to give me *significantly* better GPS performance. I get 5-15 meters accuracy within 5 seconds even indoor (where I used to get no lock after 5 minutes).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Francois, keep us updated on the results are a full battery drain or two.
What email settings do you run? Like 1 account, 2 account... push, check every 15 mins, check manually...
adamge said:
Francois, keep us updated on the results are a full battery drain or two.
What email settings do you run? Like 1 account, 2 account... push, check every 15 mins, check manually...
Click to expand...
Click to collapse
Will do. I have gone through a few battery drain cycles since my original post though. As for my email settings, I use the normal GMail app and I do not see anything telling me how frequents the checks are made.
Francois88 said:
Idling with wifi: 2-3% from the first 15 minutes (sleep policy turns off wifi after 15 mins, how can I make it less than 15 minutes?)
Click to expand...
Click to collapse
Use RyanZAs OCLF on the market, install the EXT2 tools, and use the Wifi Timeout option to change this.
Here's my current chart for comparison :
@thecresta
I will check that out. Do you know if those tools you're talking about will be compatible with my setup? I'm already rooted and using ext4 lagfix.
Also, were you using the phone the whole time? You seem to have a lot of drain with wifi off and about the same when it's on (~10% per hour)
PAGOT said:
Isnt this how Android works actually? Default the wifi closes 15 mins after the screen goes off(you can set it on instant or always off) and ofc the 3G comes back on after. You can check in Dialer *#*#4636#*#* and Battery history how long was the wifi on.
If the time wifi on = wifi running > somethign is wrong . Either you set it up that wifi never disconnects or there is some app not shutting down and eating your connection.
Click to expand...
Click to collapse
Hi there... Are you saying if wifi on = wifi running "or" wifi on is greater then wifi running then something must be wrong?
When I look at mine it shows wifi on 96.5% and wifi running 49.2%. Wifi sleep policy was set to never. What is the recommended setting for battery improvement?
Thanks in advance.
Im having the same problem few days back, then really turned off wifi and ll keep on when required very wiered but no solution found me yet.
Rashar said:
Hi there... Are you saying if wifi on = wifi running "or" wifi on is greater then wifi running then something must be wrong?
When I look at mine it shows wifi on 96.5% and wifi running 49.2%. Wifi sleep policy was set to never. What is the recommended setting for battery improvement?
Thanks in advance.
Click to expand...
Click to collapse
Never means it never sleeps
Never when plugged in means it will only sleep when unplugged
When screen is off means it will turn off after 15 minutes of inactivity and screen off
If you want to keep your data sync'd through wifi (not g3), keep never otherwise use one of the other 2 options.

[Q] Can someone explain how forgetting wifi networks improves battery?

Sorry if this is a stupid question. But i read somewhere that forgetting (deleting) wifi networks would help battery. For me, this actually worked. Im not a power user so my phone will be idle for hours at a time. Coming from an iphone (i know its not a fair comparison cuz iphone is more lightweight), i would lose ~5% during 9.5 hours of work if i never took it out of my pocket. On the gnote3, i sometimes get 15%-20% drain even with a screen time of ~30min. But after forgetting the wifi networks, drain is reduced to 5%-10% within that 10 hours im working. So can anyone explain why after a few weeks, my battery will start to drain quicker again until i forget my 2 wifi networks (work and home)? As a disclaimer, that 5% on the iphone is when i literally didn't take the phone out of my pocket at all. I am playing with my gnote3 more than the iphone (the newness still hasn't worn off for me yet), but i wanted to throw the iphone stats in as a reference.
JTY87 said:
Sorry if this is a stupid question. But i read somewhere that forgetting (deleting) wifi networks would help battery. For me, this actually worked. Im not a power user so my phone will be idle for hours at a time. Coming from an iphone (i know its not a fair comparison cuz iphone is more lightweight), i would lose ~5% during 9.5 hours of work if i never took it out of my pocket. On the gnote3, i sometimes get 15%-20% drain even with a screen time of ~30min. But after forgetting the wifi networks, drain is reduced to 5%-10% within that 10 hours im working. So can anyone explain why after a few weeks, my battery will start to drain quicker again until i forget my 2 wifi networks (work and home)? As a disclaimer, that 5% on the iphone is when i literally didn't take the phone out of my pocket at all. I am playing with my gnote3 more than the iphone (the newness still hasn't worn off for me yet), but i wanted to throw the iphone stats in as a reference.
Click to expand...
Click to collapse
Well I'm not certain if it actually works this way or not. But here's a theory..... If you have a bunch of stored wifi access points and aren't connected to any, the phone might be looking for those connections? But isn't it looking for wifi anyway? Maybe if you don't have stored access points it doesn't look so often? That's my theory on this situation that I've never heard before but anything is possible because it's the internet!!! The easier fix to this without deleting your wifi access points is to disable wifi all together. You can even add a shortcut to your homescreen!
If you really want to get to the bottom of this and find out what was happening I would install Wakelock Detector. Even when you're not using your phone because it's locked in your pocket, rogue apps or processes can wake your cpu. This app will tell you what's waking your device and draining the battery. If your device is rooted I HIGHly recommend getting Greenify. You can choose to hibernate apps directly from the wakelock detector app. Now how cool is that!!
I like what ^he said. Only if your WiFi is constantly on but not connected it will constantly be scanning which will impact battery. If its connected but a weak signal this will also impact battery life poorly, same as constantly connecting and disconnecting. I leave all my WiFi on all the time at home and over 10 hours of non use only drop 2% or less. However in your WiFi setting there is a setting that has an option to disable WiFi when asleep. If your always pulling your phone out to play with it and have this option enabled then every time you turn your phone on it will scan for a network. And turn back off when you turn the screen off. I am not a fan of this option and for better battery life leave your WiFi on all the time UNLESS you don't have a network to connect to. If you're connected leave it on, if not turn it off. I recommend to set it up like this.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my SM-N900A
RErick said:
I like what ^he said. Only if your WiFi is constantly on but not connected it will constantly be scanning which will impact battery. If its connected but a weak signal this will also impact battery life poorly, same as constantly connecting and disconnecting. I leave all my WiFi on all the time at home and over 10 hours of non use only drop 2% or less. However in your WiFi setting there is a setting that has an option to disable WiFi when asleep. If your always pulling your phone out to play with it and have this option enabled then every time you turn your phone on it will scan for a network. And turn back off when you turn the screen off. I am not a fan of this option and for better battery life leave your WiFi on all the time UNLESS you don't have a network to connect to. If you're connected leave it on, if not turn it off. I recommend to set it up like this.
Sent from my SM-N900A
Click to expand...
Click to collapse
I've got the same setup as you! It seems to work for me as you can tell by my battery stats.
What I usually do is I just take a few seconds to disable everything other than mobile data when I'm out and about. If I need to check emails I do so with a manual sync, unless it's during work or on-call hours (Gotta keep them servers running 24/7!) in which case I leave on autosync.
I try to never leave location on unless I need to use Maps, and because of that I keep all the stuff that's supposed to use WiFi even when WiFi is off disabled as well. I'm sure there's fifty ways I could automate all of this into profiles but I like the manual control over my battery consumption.
I haven't run numbers but I've kept the phone uncharged for almost two days with no problems. I was even able to make it back to home on the last 5% with three or four subway stops and plug her in before she died. And that's with the default battery.
I think it's more about overall mindfulness of what processes are running versus an insane level of finetuning for the process. If you make sure A) that WiFi is disabled, and that B) WiFi is *REALLY* disabled, meaning no scanning for networks or being used for location services, then even if you have fifty networks saved it won't scan for any of them.

[Q] - Android OS high battery consumption on 4.4.4 when connected to WiFi

Hello.
My XT1058 is running 4.4.4 at the moment.
I've noticied that when connected to a good WiFi, Android OS starts consuming battery.
It seems to only happen on my WiFi.
Signal strength should not be an issue, since connection is at about -60db.
I've a Linksys E900 running DD-WRT.
It's configured as N-Only, and running WPA2 Personal AES security.
I would not think it's a router's firmware issue.
Would you be able to assist?.
Thank you.
Is your phone always awake?
It's hard to tell.
It's not showing as "active" in the battery graph...
I've also installed System Monitor Lite, which tells me that the phone is actually going into deep sleep.
Today I've drained the battery until the phone shut off, and then charged it while powered off until 100%.
So I do not have more than a few hours of this deep sleep measurement.
But, slowly but surely, now back at home connected to WiFi, I'm noticing that Android OS is gaining a few % points each hour...
It's quite hard for me to ping point what's causing this issue, and was not able to find anything certain.
It's not location services, because it should happen on other wifis as well...
Thank you.
I had a similar situation with Android System eating a lot of battery, but my phone was always awake (solid bar in the battery stats) . Turned out it was backup to Google servers. I've unticked "backup my data" under Backup and Reset in settings and my phone goes to sleep now and battery is back to normal (4 hours of sot).
No, that is not what's happening here.
Phone is not active all the time, it's about 79% in deep sleep according to System Monitor Lite, and 12% at 300 or so mhz...
I've installed another firmware to my router, and the issue is still present.
Battery is draining while connected to wifi as hard or even harder than on 3G mobile data.
Went to sleep, and after some hours of not using the phone, this is the result:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You can see that the incline of the graph while being on wifi is steeper than on 3g. Also, Battery Drain app tells me that drainage is about 3-4% per hour, while it's below 3% being on mobile data.
Enviado desde mi XT1058
I was able to run wakelock detector without rooting...
It turned out that there were some heavy wakelocks referring to nlpwakelocks.
I've read about those, and should be related to location services. But I didn't have location history enabled, and was already using battery saving as location configuration.
I also disabled location and rebooted the phone, without success...
So I decided to perform a hard reset on the phone...
I'm going to run it for a few days, and will report back
Enviado desde mi XT1058
How are things going after the reset?
Junky228 said:
How are things going after the reset?
Click to expand...
Click to collapse
It worked ok for about 2 days, then the drainage reappeared.
I was able to run wakelock detector without rooting.
It seems there are a few wakelocks that are related to location services.
I was under the impression it was solved by forcing location services processes. It worked of for almost a week, but after connecting to another WiFi at another home, issue appeared again back at home...
So, summing up: I was not able to solve it yet... It has something to do with location services.
Aww that's a bummer, well good luck to you. I would try the whole root and use the xposed module to stop the wakelock, but since I'm on Republic Wireless and 4.4.4 there's no method of rooting for me.
It's something related to location services. I don't know what exactly.
It's quite odd, because for some reason Android seems to go south without any apparent reason, and starts getting fixates with location... and then, without me doing anything, it stops...
I've noticed that when this happens, if I'm using GPS as high accuracy, while having the screen on GPS icon would start appearing frequently on the task bar. That icon would be present for about 5-10 seconds then disappear. Then, after a few seconds or minutes, again, and again, and again...
This is not app related to me...
Enviado desde mi XT1058
Hello.
It's been a while, and to be honest I forgot about this topic.
In fact, it was reminded to me while creating a new one, to tell you what I've discovered.
I've narrowed down the issue, and I think I know what's happening, but I have no idea on how to fix it, or why is it even happening...
It turns out it's not related to location services, since I've disabled them altogether...
But issue still remains...
It seems the drainage appears while connected to the wifi, and the desktop that's connected to the same wifi router is on...
Oddly enough, item that appears on the top of the battery usage is "Android OS", and nothing related to WiFi.
Also, idle time while issue is not present (that is, on wifi and desktop off) is superb...
I do not really know how could I fix this issue.
Any insights will be appreciated There's no network traffic while the issue is happening, because I've a meter installed on Android that tells me 0kb/s traffic.
PC is running Windows 7 64-bits, router is a Linksys E900 running DD-WRT firmware.
Thanks.
Believe it or not, after uninstalling ES File Explorer, issue disappeared... Not sure what's wrong with that app that makes Android OS crazy... But after weeks (or even months) after uninstalling the app, Android OS is not draining battery anymore...
Enviado desde mi XT1058

Question Pixel 7 Battery Drain in Phone Idle

I've been noticing huge battery drain on my Pixel 7 after the March update. No particular apps are draining the battery, phone idle alone does it.
I thought after the June update, it will make the battery backup better but I think it made it even worse. Last night I charged my phone to 100% and slept by turning off WiFi and mobile data. I even kept my network type to 3G to avoid background activities from 4G. And waking up after 5-6 hrs of sleep, I found my battery to be 89%. Screenshot is attached below. This is very disappointing. I bought this phone on February. It has not been a year and this is the performance I get from a flagship?
Clearly, this is not normal. Phone Idle draining 78%(of the 11% actual battery drain) of my phone's battery is crazy. I used to get 2 days of battery backup before that March update. And now I can hardly survive 16hrs. Please help me with a fix.
Notes:
Country: Bangladesh
I use dual SIM. 1 physical and 1 e-SIM.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Factory reset, then be careful what you install.
You didn't use anything on the device though. The phone is idling more than doing any other task. So of course 78% of that small amount of battery drain is going to be due to the idle because idling is what is doing 78% of the time. I really don't see any issue here. I mean you only lost 11% battery over 4 hours and that first 15% drains quicker because lithium ion battery drain isn't linear. That first 10% always goes faster than the rest of the device. If it really bothers you, I would suggest changing the doze parameters to wear it disables the sensors on the device until it's unlocked.
Also, I just noticed that you have no mobile data on either SIM card. The phone is looking for a signal constantly and not getting it, that alone will drain battery, not to mention using dual sims has been known to affect battery life as well. Is the phone in airplane mode in that picture?
You aren't alone. I've been fighting the same issue with the battery drain since March. Up until the June update my excessive battery drain was showing as "Mobile network" but now it shows as "Phone idle". Strangely it drains the most when not in use. I've already done a factory reset and ended up with the exact same issue instantly.
It may be worth trying to disable the "adaptive connectivity" setting and see if that helps. I live in a weak 5g area and my phone was constantly switching between LTE and 5g causing signal drops and battery drain for me. I turned it off and it helped with both issues.
Settings, network & internet, scroll down to the bottom.
O.J. Simpson said:
It may be worth trying to disable the "adaptive connectivity" setting and see if that helps. I live in a weak 5g area and my phone was constantly switching between LTE and 5g causing signal drops and battery drain for me. I turned it off and it helped with both issues.
Settings, network & internet, scroll down to the bottom.
Click to expand...
Click to collapse
Tried almost everything except this one. I noticed this option was enabled on my phone. Turned it off today. Let's see how it goes. Thanks for suggestion!
Yeedatoy said:
Also, I just noticed that you have no mobile data on either SIM card. The phone is looking for a signal constantly and not getting it, that alone will drain battery, not to mention using dual sims has been known to affect battery life as well. Is the phone in airplane mode in that picture?
Click to expand...
Click to collapse
Not in airplane mode. I turned off Data then why would it constantly look for signal?
aadnan181 said:
Not in airplane mode. I turned off Data then why would it constantly look for signal?
Click to expand...
Click to collapse
I guess I should have asked first, I wasn't sure if you turned data off or not, I guess that's what led to the airplane mode. What about in developer options? Is mobile data always active still set to true?
Anyone with this issue my best suggestion would be use some kind of doze optimization mod. I know nap time is kind of outdated but some things still work correctly. I believe all of it does except for the GMS does magisk module. If you scroll all the way down to the bottom there's a setting that says wait for unlock. That keeps the phone in deep doze mode until you unlock the device, which also keeps the sensors turned off as well. Another option is diamond John's app Temefi. In the search box, type in doze, and you'll see a place where you can choose from several different Doze profiles. For this you need root, but if you're not rooted I would stick with nap time which just needs some ADB commands entered
i think it's a bug, i have no drain but look at the screenshot
"telefono inattivo" is phone idle, same percent but 1hr and more compared to yours, strange, indeed i've no drain
i always keep data, wifi and bluetooth on, since i work in a place where there's no 100% coverage of wifi, and bluetooth for smartwatch connection
have you tried safe mode?

Categories

Resources