Question about coalescing and RAM - Greenify

I've tried to search for an answer but i can't seem to find more info on the subject... Correct me if i'm wrong but as I understand it coalescing makes is so that the wake timers of the greenified apps synchronize (maybe other apps too?). They wake up at the same time, thus keeping the phone awake a shorter period.
I can see how this can save battery but won't it hog available RAM instead? I'm concerned since i have a Galaxy S6 with piss poor RAM-management and kills off apps as soon as ram-usage hits about 80%, which is pretty much all the time.

faldo said:
I've tried to search for an answer but i can't seem to find more info on the subject... Correct me if i'm wrong but as I understand it coalescing makes is so that the wake timers of the greenified apps synchronize (maybe other apps too?). They wake up at the same time, thus keeping the phone awake a shorter period.
I can see how this can save battery but won't it hog available RAM instead? I'm concerned since i have a Galaxy S6 with piss poor RAM-management and kills off apps as soon as ram-usage hits about 80%, which is pretty much all the time.
Click to expand...
Click to collapse
The coalescing and the syncing all happen when the phone is asleep.

tnsmani said:
The coalescing and the syncing all happen when the phone is asleep.
Click to expand...
Click to collapse
Nah, it's not asleep when syncing, the wakelocks keeps it awake the short amount of time it takes to sync. Install Better battery stats and you'll see that it's not asleep

faldo said:
Nah, it's not asleep when syncing, the wakelocks keeps it awake the short amount of time it takes to sync. Install Better battery stats and you'll see that it's not asleep
Click to expand...
Click to collapse
That is true, but what I meant was that the coalescing will happen only when you are not using the phone and so the RAM usage may not be an issue.
If the coalescing and syncing happens when you are using the phone, then it may create a problem but it is not so.
Since it takes place during sleep, albeit the phone wakes up for the syncing, RAM should not be a concern. Have you faced any issue because of this?

Related

Deep Sleep Q&A

I'm posting this hoping for some solid answers to explain when our Note should actually be in "Deep Sleep". I've seen many threads with people having issues with battery life due to our phones not sleeping correctly, me being one of them. Hoping this thread could help answer some questions that I'm sure I'm not the only one asking.
So my questions are...
1. When should our phone actually be deep sleeping?
2.Does having "auto-sync" on prevent or interrupt the phone from deep sleeping?
3.Does anyone know of any apps in particular that seem to be causing excessive wakelocks?
4.If a phone is left completely idle should it be in deep sleep the entire time?
5.What is the easiest way to determine what its causing the phone to wake from sleep. (I know that the app better battery stats will work, but I'm unsure how to use it to find the culprit.)
Anyone who knows the answers please help me understand so I can stop obsessing!
Really depends what app u are running. Best solution is to get a battery monitor (i use bad ass battery monitor); allows me to see wakelocks, screen on time and a bunch of usage details for each app u ran since boot/unplugged
Sent from my SAMSUNG-SGH-I717 using XDA App
Also i.downloaded setCPU and im using on demand setting and my battery got much better... In combination with JuiceDefender
Sent from my SAMSUNG-SGH-I717 using XDA App
connordroid said:
I'm posting this hoping for some solid answers to explain when our Note should actually be in "Deep Sleep". I've seen many threads with people having issues with battery life due to our phones not sleeping correctly, me being one of them. Hoping this thread could help answer some questions that I'm sure I'm not the only one asking.
So my questions are...
1. When should our phone actually be deep sleeping?
2.Does having "auto-sync" on prevent or interrupt the phone from deep sleeping?
3.Does anyone know of any apps in particular that seem to be causing excessive wakelocks?
4.If a phone is left completely idle should it be in deep sleep the entire time?
5.What is the easiest way to determine what its causing the phone to wake from sleep. (I know that the app better battery stats will work, but I'm unsure how to use it to find the culprit.)
Anyone who knows the answers please help me understand so I can stop obsessing!
Click to expand...
Click to collapse
1. Any time the device is idle (you're not purposely running background activity) and the screen is off.
2. It probably will sometimes, briefly. It depends on what's syncing. In my experience, the only sync that has caused issues is the Google currents app (but it can be easily adjusted).
3. Instant messaging apps tend to hold wakelocks if signed in (EXCEPT GTalk, which has little impact on battery). Skype has been notorious for this as well. Any app that can trigger data activity can wake the device into a wakelock.
4. Theoretically, yes it should (or very close to it). In practice, the most I've seen somebody achieve was around 97% (observable via CPU Spy).
5. BetterBatteryStats and CPUSpy together are what you need. In BBS, you're looking for partial wakelocks, kernel wakelocks, and alarms. Partial wakelocks are held by apps. Any partial wakelock more than a few minutes should be looked into (changing settings, or removing the app all together). In kernel wakelocks, you're typically looking for svnet-dormancy wakelocks. These are wakelocks caused by data activity while the screen is off. This should typically be less than 4%, I suppose. Alarms will tell you what processes are waking the device. Throughout BBS, the app name will probably be pretty evident. In most cases, you can google the package name if you're not sure. The developer of Better Battery Stats provides support in his thread if you provide the dump file (it's fairly simple to "dump" your information into a file for observation).
A good observation is to reset the timers in CPU Spy, turn the screen off, and let the device sit idle for a couple of hours. I'd say anything around 95% of deep sleep is pretty good. Personally, most of the time, I get close to 95% (in complete idle, of course). Looking in CPU Spy after a normal day's usage isn't helpful because it'll appear as if your device isn't entering deep sleep sufficiently.

Phone not Sleeping

I'm having this issue of my phone not sleeping when the phone is off. I checked kernel wakelocks and the number 1 culprit is Power Manager Service. Anybody have any idea what this is. A distant second is wlan_rx_wake but I'm not too worried about this.
The devs are working on it. If you aren't on the latest CM9 build then you should update.
GrayTheWolf said:
The devs are working on it. If you aren't on the latest CM9 build then you should update.
Click to expand...
Click to collapse
I'm actually not on AOSP stuff. I'm on one of Neo's roms.
Edit: I just ran a test and for 34 minutes the phone slept for 33 of them. Even though the phone lost 4 percent of battery in that time. I see people saying they have crazy good battery drain rates (like .25%/hr). I thought i would get better life but I guess thats just the way it is.
jdm2008315 said:
I'm actually not on AOSP stuff. I'm on one of Neo's roms.
Edit: I just ran a test and for 34 minutes the phone slept for 33 of them. Even though the phone lost 4 percent of battery in that time. I see people saying they have crazy good battery drain rates (like .25%/hr). I thought i would get better life but I guess thats just the way it is.
Click to expand...
Click to collapse
that rate is based on usage. keeping apps from starting. keeping apps running in foreground all the time. lots of frozen unnecessary apps. screen brightness between 10-20%. betterbatterystats monitors wakelocks
dyetheskin said:
that rate is based on usage. keeping apps from starting. keeping apps running in foreground all the time. lots of frozen unnecessary apps. screen brightness between 10-20%. betterbatterystats monitors wakelocks
Click to expand...
Click to collapse
When saying .25% per hour I was talking about during sleep but I get 3-4% during sleep. I am going to try and wipe everything and start from scratch. But if my phone is sleeping >90% of the time when the screen is off, there's not much I can do to improve battery drain during sleep no(app wise), and screen brightness won't help at this level cause it's when the screen is off?
have to watch for partial wakelocks or any wakelocks. apps automatically starting when not needed or still running will reduce your amount of deep sleep. use betterbatterystats to monitor usage while it's off

[q] whats up doc

Hi
I ave a S3 and recently the battery has been draining quite quickly.
I have a reserve battery so I keep swapping
Q: will 4.1 rectify or what do you suggest.
thanks people.
Run Better Battery Stats look for wakelocks . Its your apps draining.
jje
Sent from my GT-I9300 using xda premium
JJEgan said:
Run Better Battery Sta
ts look for wakelocks . Its your apps draining.
jje
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
"wakelocks" ?
what's that
cheers
rathomo said:
"wakelocks" ?
what's that
cheers
Click to expand...
Click to collapse
No idea not got Google on my phone .
jje
rathomo said:
"wakelocks" ?
what's that
cheers
Click to expand...
Click to collapse
A wakelock is something that keeps the phone from sleeping properly, thus draining your battery quicker. The most common wakelocks are audioout_1 (any sound played), or networklocation (something that keeps wanting your position)
Try disabling GPS, auto-sync and disable wifi when you're not connected.
rathomo said:
Hi
I ave a S3 and recently the battery has been draining quite quickly.
I have a reserve battery so I keep swapping
Q: will 4.1 rectify or what do you suggest.
thanks people.
Click to expand...
Click to collapse
I upgraded to 4.1 a little while ago and I found that my battery life was pretty much the same.
To try and help rectify the situation I went through and disabled a bunch of apps that I just didn't use. I found that the Samsung apps (sync adapter etc.) were causing some heavy duty battery drain. I should say that my phone didn't have any issues with disabling Samsung software, but I can't be sure all of your apps will keep working.
I'd also suggest installing and running Carat for a week or two. It gives you some good insight into what's using your battery, lets you kill apps that are misbehaving and also lets you know which apps are potential battery hogs or have battery issues. You can then choose what you want to do with misbehaving apps. If it's an app that you just don't need then get rid of it, if it's something you use, perhaps look for an alternative or maybe use a task killer to just control the misbehaving apps, any not everything else. After running Carat for a while I really stripped back the apps that I had installed and only really have the apps that I need / use on my phone. Just be patient as results will take a few days to come through.
After all of that I get around 18 hours of "normal" type use: e.g. a phone calls, SMS, web browsing, corporate email sync (push), a polling email account and 2 Google accounts syncing. I have the Facebook app installed, but I have disabled auto-updates for that as well as Plume and Taptu.
Oh, I also set my phone to airplane mode between 11pm and 5am every day if I'm at home. I use PhoneWeaver to control my phone's profiles. And obviously GPS will drain the battery if it's on, and I also use Wi-Fi where I can, but turn it off if I’m not using it.
With 4.1 you'll find that Now *can* potentially cause some extra drain depending on what you do with it and what your location settings are. For the record, I'm using Now with the location settings on and I'm quite content with my battery drain. It can always be better, but I can live with charging once a day (I plug it in overnight and unplug when I go to work).
Also, give the phone a few days to let it settle in. I noticed quite a difference in battery drain over the first week of flashing, even with the same pattern of usage. One day I'd get 8-10 hours the next 12 or so. So give it a few days and see how you go.
Hope that helps and good luck!
Mike.

[Q] Help - ANDROID SYSTEM, GOOGLE SERVICES AND BATTERY DRAIN RELATIONSHIP

Anyone with some knowledge about the system and their workings (and what caused the battery drain), PLEASE HELP!
Attachment file is screenshots from GSAM, and the help I need is to understand what is causing it, or what would be just as nice is to learn how to stop it.
Basic info
Still .475 firmware
rooted with Vroot
Stamina off, but happens to an extent with but not as severly with Stamina on
I have Greenify installed, but doubt that this is the cause, since it happened before installation too
Only the chinese SU and Google+ disabled by going into system/apps
Here is the flow of what happened.
I Fully charged to 100%, disconnected and went to bed listening to podcasts (Beyond Pod)
I wake up 5 and 1/2 hrs later to find battery down to 15%
I open GSAM, take screenshots of what looks suspicious
I note that App usage is whopping 92%, where the screen is only accounting for 1.1% usage of screen.
Of the 90%+ of power used by apps, close look tells me is 44.7% is Android System, and 41% is Google services
Looking further into these 2 culprits, is where I get lost.
Is it something about wake lock? CPU usage (background)? WifiStateMachine is high up in the list of both Sysytem and Google services?
%numbers tells me that they are something to do with it, but I have no further understanding, thus powerless to prevent or cure.
As the first screenshot will tell u, when things were smooth, I get 15-16 hrs of Batt life
Any suggestions/actions???
If this is any hint, I have no idea, but once I remember seeing in notification bar a notice saying that some app was preventing Stamina mode from going into sleep mode...
It seems I faied to attach screenshots. Here are the missing ones in attachment
Interesting. I also use vroot and 475 kernel workaround to root my 510. Your phone clearly didn't enter deep sleep all that time.. Held awake for 5+ hours, and WiFi is on for almost 5 hours initiated by google service (strange, in my phone google service doesn't initiate WiFi on) but your first screenshot suggests that WiFi is active for only 33 minutes.. Looks like conflicting information.
My ZU also sucks a lot of power when held awake (not as fast as yours though - almost 100% in 5 hour is full screen-on for me; logging gps track with screen off is around 50% down in 4 hours) and the major power drain is the kernel, android service, and google service. Looks like a lot of background processing, but I can't figure out what's the specific cause(s) is..
For those with more proficiency in these things, is there any recommended place in the internet to start deciphering the power usage logs?
unk_damnation said:
For those with more proficiency in these things, is there any recommended place in the internet to start deciphering the power usage logs?
Click to expand...
Click to collapse
Yes, please, anyone?
Just to give update on what has happened since....
Still on .475 HK Firmware.
I have traced back what apps I have installed (in order, un-installed them one by one)
I dont know if the conclusion I reach is correct or not, but results seem to have solved it.
The 2 apps I have rid since are GREENIFY and TITANIUM BACKUP.
My guess is that Greenify was maybe the culprit?
It worked well on my previous device. But Not Z Ultra. Is it because it is SD 800 and it takes different kind of working/updating to fully compliment this SoC, Z ultra being the first out with SD800?
Or am I barking up the wrong tree?
jewelkobayashi said:
Yes, please, anyone?
Just to give update on what has happened since....
Still on .475 HK Firmware.
I have traced back what apps I have installed (in order, un-installed them one by one)
I dont know if the conclusion I reach is correct or not, but results seem to have solved it.
The 2 apps I have rid since are GREENIFY and TITANIUM BACKUP.
My guess is that Greenify was maybe the culprit?
It worked well on my previous device. But Not Z Ultra. Is it because it is SD 800 and it takes different kind of working/updating to fully compliment this SoC, Z ultra being the first out with SD800?
Or am I barking up the wrong tree?
Click to expand...
Click to collapse
I also use greenify. Entered deep sleep with no problem. Stamina mode turned on, too.
unk_damnation said:
I also use greenify. Entered deep sleep with no problem. Stamina mode turned on, too.
Click to expand...
Click to collapse
Does Greenify feel like it is working for you? Can you feel battery life being longer? Depending on your opinion, I might give it a try again...
jewelkobayashi said:
Does Greenify feel like it is working for you? Can you feel battery life being longer? Depending on your opinion, I might give it a try again...
Click to expand...
Click to collapse
Yes, the hibernated apps are not giving notification anymore and gsam battery didn't report any wakelocks in sleep from them. But I can't really say about battery life, though, since in my case, sony's stamina mode is the main factor for battery saving. I treat greenify as a tool to minimizing data footprint.

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 LG G6'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!
I have been on and off mine all day without heavy use due to being at work, and by the time night came without me charging I was around 79%. This is from 5AM to 11PM. But I must admit... I went into the sttings and set EVERYTHING as inactive that I was able to do so and recommend everyone do it. The apps will never turn on or activate unless you manually open one in which case it will then stay active. It's great for apps that do crap in the background which you never use anyway. Oh, and I use Greenify as well, and always keep my tasks clear. So yeah... I'm used to saving battery by habit so my experience is different from most.
My standby time has been brutal... Would not be using my phone for around 1 hr and then id see my battery drop from a 36 to 30.... I closed all apps and even used the smart cleaner to get rid of some.. I dont know whats the problem to be honest. If they can fix the standby drain i could honestly reach for 5 to even 6 hours of screen on time
My standby has been really good, I can leave it off charge overnight and can only go down 2% or so, but once I start using it the % drops heavily after 5 minutes or so. I've got to go through the settings to turn off notifications because I've noticed apps like candy crush giving me notifications
joyj112 said:
My standby time has been brutal... Would not be using my phone for around 1 hr and then id see my battery drop from a 36 to 30.... I closed all apps and even used the smart cleaner to get rid of some.. I dont know whats the problem to be honest. If they can fix the standby drain i could honestly reach for 5 to even 6 hours of screen on time
Click to expand...
Click to collapse
I agree with jaeyo, my standby time is amazing. Off the charger overnight for 8 hours i only lose 2%. I do have AOD scheduled to turn off from 11p to 5a.
chinchillables said:
I have been on and off mine all day without heavy use due to being at work, and by the time night came without me charging I was around 79%. This is from 5AM to 11PM. But I must admit... I went into the sttings and set EVERYTHING as inactive that I was able to do so and recommend everyone do it. The apps will never turn on or activate unless you manually open one in which case it will then stay active. It's great for apps that do crap in the background which you never use anyway. Oh, and I use Greenify as well, and always keep my tasks clear. So yeah... I'm used to saving battery by habit so my experience is different from most.
Click to expand...
Click to collapse
Did you hook your phone up to a computer and use the ADB commands to enable Greenify's aggressive doze? That really helped me, Nougat's built-in doze is still crap compared to Greenify. Also, setting WiFi to inactive while display is off, as well as enabling data saver in data management to restrict mobile background data for all apps helps greatly with wakelocks. Also everyone should consider disabling certain notifications from apps like Maps and Assistant which can create a lot of wakelocks.
I wrote a few tips to help with battery life on Nougat in the G5 section, but it should apply here as well:
https://forum.xda-developers.com/att-lg-g5/how-to/nougat-wreaking-havoc-battery-solutions-t3570944
Standby time wears on you depending on what apps you got running
?????
I found the culprit. Apparently one of my skin apps was causing wakelocks keeping the phone awake the whole time. Deleted it and installed greenify, will see how things goes
PHYCLOPSH said:
Did you hook your phone up to a computer and use the ADB commands to enable Greenify's aggressive doze? That really helped me, Nougat's built-in doze is still crap compared to Greenify. Also, setting WiFi to inactive while display is off, as well as enabling data saver in data management to restrict mobile background data for all apps helps greatly with wakelocks. Also everyone should consider disabling certain notifications from apps like Maps and Assistant which can create a lot of wakelocks.
I wrote a few tips to help with battery life on Nougat in the G5 section, but it should apply here as well:
https://forum.xda-developers.com/att-lg-g5/how-to/nougat-wreaking-havoc-battery-solutions-t3570944
Click to expand...
Click to collapse
No I did not. Heck, I didn't even know I COULD do that. That'll be my objective before tonight though, thanks!
I love Greenify's aggressive doze
Sent from my LG-H872 using Tapatalk
Does Greenify help? I get some seriously terrible standby drain going. Is it LG software that's so bad?
chinchillables said:
I have been on and off mine all day without heavy use due to being at work, and by the time night came without me charging I was around 79%. This is from 5AM to 11PM. But I must admit... I went into the sttings and set EVERYTHING as inactive that I was able to do so and recommend everyone do it. The apps will never turn on or activate unless you manually open one in which case it will then stay active. It's great for apps that do crap in the background which you never use anyway. Oh, and I use Greenify as well, and always keep my tasks clear. So yeah... I'm used to saving battery by habit so my experience is different from most.
Click to expand...
Click to collapse
What exactly did you set to inactive? Which apps?
---------- Post added at 10:50 AM ---------- Previous post was at 10:49 AM ----------
vintagerock said:
I agree with jaeyo, my standby time is amazing. Off the charger overnight for 8 hours i only lose 2%. I do have AOD scheduled to turn off from 11p to 5a.
Click to expand...
Click to collapse
Me too
Honestly dont know how to fix this standby drain.. If ibhad root i would easily find the culprit through betterbatterystats but since i dont have that, cant seem to figure out why my standby drain is so high. I would leave my phone on the desk at 30% not using it all and come back 2 hrs later to 16%. Horrible standby time means losing precious screen on time sad sad
joyj112 said:
Honestly dont know how to fix this standby drain.. If ibhad root i would easily find the culprit through betterbatterystats but since i dont have that, cant seem to figure out why my standby drain is so high. I would leave my phone on the desk at 30% not using it all and come back 2 hrs later to 16%. Horrible standby time means losing precious screen on time sad sad
Click to expand...
Click to collapse
Use Greenify to force Hibernate Quick Memo+. Seems to have solved my standby drain issues.
mr mystery said:
Use Greenify to force Hibernate Quick Memo+. Seems to have solved my standby drain issues.
Click to expand...
Click to collapse
The problem is Quick Memo+ isnt the problen because i dont even have that application. I did a factory reset and it got rid of the app so I dont know what to do
mr mystery said:
Use Greenify to force Hibernate Quick Memo+. Seems to have solved my standby drain issues.
Click to expand...
Click to collapse
Do you need root for Greennify? I would like to start using it.
shaun0207 said:
Do you need root for Greennify? I would like to start using it.
Click to expand...
Click to collapse
You can use greenify by plugging your phone into your computer and use adb commands
joyj112 said:
You can use greenify by plugging your phone into your computer and use adb commands
Click to expand...
Click to collapse
No root needed.
Sent from my LG-H872 using Tapatalk
joyj112 said:
The problem is Quick Memo+ isnt the problen because i dont even have that application. I did a factory reset and it got rid of the app so I dont know what to do
Click to expand...
Click to collapse
You must have it. It's baked into the OS. Look in the essentials folder of the LG (iOS) Home it'll be there
joyj112 said:
You can use greenify by plugging your phone into your computer and use adb commands
Click to expand...
Click to collapse
Don't really know how to use ADB commands. But I will try to figure it out

Categories

Resources