[Q] High running time/Not sleeping - Galaxy S I9000 Q&A, Help & Troubleshooting

We all know we could check the running time vs screen on time in spare parts, and a little more information about the battery usage. However in no way that I could determine which app/process is preventing my device from entering sleep. Is there any way I can find the culprit without to uninstall every app gradually?

Related

[Q] Making battery usage show which apps ACTUALLY use the battery?

Is there some way to get the LG O2x to actually show more information on battery useage?. I find the present information provided all too lacking to be used for anything but as a meh factor.
The information shown can not be used to actually determine which apps it is that often drains the battery or whether its is WIFI, BT or other services that is sucking the battery dead.
I know my old HTC Desire displayed all this information without any problem, making it at lot easier for me to determine whether I should leave certain things running or shut them off when I left home. However the LG does not, but is there some way to change this?
Cause its somewhat annoying me that I can bring it to work and then in a matter of 1h it can drain as much as 20+% and I have no chance in hell determining what is that is sucking the battery dry even when I am not using my phone.
So help please

[Q] My phone keeps dying!

In the last week or so I have picked up my phone three times and it has been dead.
The power button doesn't turn it on again.
I have to take the battery out and then restart it.
I'm running a rooted 2.35 JVT.
I have nothing untoward running ...
Settings
Sense analogue clock
DRM content
Software update
SnsService
Google Play Store
Samsung keypad
Apart from Angry Birds, there's almost nothing else, and nothing new for months except Bad Piggies.
deanbilly said:
In the last week or so I have picked up my phone three times and it has been dead.
The power button doesn't turn it on again.
I have to take the battery out and then restart it.
I'm running a rooted 2.35 JVT.
I have nothing untoward running ...
Settings
Sense analogue clock
DRM content
Software update
SnsService
Google Play Store
Samsung keypad
Apart from Angry Birds, there's almost nothing else, and nothing new for months except Bad Piggies.
Click to expand...
Click to collapse
Could it be a dead battery?
otherwise, tried to wipe and (re)flash a rom?
The battery is fine, and the ROM has been there for well over a year with no problems.
Finding the root cause of battery drain...
deanbilly said:
In the last week or so I have picked up my phone three times and it has been dead.
Click to expand...
Click to collapse
There are a number of standard steps to run through to find the root cause of battery problems, assuming the drain is caused by the OS or apps and not actually due to a physically failing battery.
I have been tracking a few battery issues myself recently and this is what I have learned from doing some reading on XDA:
There are two free apps on the app market that are typically used to diagnose battery problems:
Better Battery Stats
CPU Spy
I would recommend installing both apps. The third place to look is in the battery details in the system settings...sorry I can't remember what they look like on Gingerbread because upgraded to Jelly Bean a couple months ago, though I do remember there was less information in the stock battery info on Gingerbread.
IF you are not, indeed dealing with a physically dead battery, then the root of your battery drain is most likely caused by a background process or app that is keeping the processor in a partially active state even though the screen is turned off and one would assume the phone should not be using any power.
Android OS will automatically change the running speed of the processor in the phone based on the demand of the system. If only a few background tasks are running and updating information the speed might be 200 or 400 Mhz. If the system is running full out servicing a graphic intensive game the processor will likely be running at the full 1000 MHz speed. The speed of the processor will directly effect the battery drain.
The expectation is that when we turn the display off (not power down, just put the phone to sleep) the processor should need fewer resources and slow down, tending towards a state known as "Deep Sleep". At this point the processor us using very minimal amounts of power. Any app or process that is active in the background will prevent the processor from getting to Deep Sleep. The CPU spy app will allow you to check how much time the phone runs at various speeds. Once you install it and run it, then reset the timers in the menu and turn your screen off for about 10 or 15 minutes. Then 'refresh' the timers. Normally, you should see most of the time accumulated in Deep Sleep. There are standard background tasks such as syncing with the cell tower, updating time, mail, checking alarms etc. That will engage the processor momentarily but they should be relatively short compared to the deep sleep time. In my case, an errand process was keeping my phone at 100Mhz constantly preventing deep sleep.
Once you know that something is keeping the phone awake in the background, you can use Better Battery Stats to narrow down which process or app it is the cause. This app allows you to track the individual processes that are consuming the most time and preventing 'wakelocks'. Wakelocks are essentially an app preventing the sleep state and are very well explained in this post: http://forum.xda-developers.com/showthread.php?t=1827676
The battery info in the system settings can also be used to give clues though again, I can't remember how much detail was included in Gingerbread..
If your problem only started happening recently, then it could be a new app that you installed recently, a feature or setting you changed recently or possibly a recent update to an app that was already installed. Try to think back at any recent events that could have triggered a change in the system.
Common problem apps I have read about are:
- Facebook - seems to be bad at using lots of background processor time. (Don't run this app but reading several posts shows its a processor hog)
- Google Apps that sync - Gmail, Chrome (syncs browser history, tabs etc.), Google location stats.
The wakelocks link goes into a great deal of detail and is hugely valuable in nailing your issue down.
Good Luck, let use know via a post if you find the root cause...
Sorry, maybe I wasn't clear about it being 'dead'.
The battery is 100% or thereabouts, no problems ever with the battery.
The phone looked as though it was turned off, but wouldn't turn on again with the power button.
I have to take the battery out and put it back again, then it starts on the button.
I've cleaned the contacts, and it still happened.
User error.
Sent from my GT-I9100 using xda app-developers app
To me, it sounds more like a rogue process messing up power managing or response, but it's hard to tell what it could actually be.
For instance, you might come a cross a game that leaves your phone locked in max cpu frequency, draining the battery without explanation.
If it was me, I'd re-flash the rom from Odin, perhaps with an sd card wipe too.
Sent from horseback.

SnapDragon battery guru

This might seem like a question but its not.
Personally what is your opinion on the snapdragon battery guru? Like does it help you out at all?
Any comments on it? I Tried it on my HTC before i broke it (had it for 2 months lmfao) and it was in learning mode and started doing crazy stuff to my phone like turning things on and off and it got annoying but im thinking of using it now since my htc got like 16 hours of battery and i only get about half of that now even after tweaking everything.
Im currently not using it but yes it does help a bit
In my experience it wakelocked my device quite a lot, especially if you move around too much (work, travel). It's whole operation is based on user location, so it has to wake your phone to fetch location and do whatever it needs to do. In the it was a ****ton of wakelocks.
Your experience may vary, try it out yourself and monitor it with wakelock detector.
jaweinre said:
In my experience it wakelocked my device quite a lot, especially if you move around too much (work, travel). It's whole operation is based on user location, so it has to wake your phone to fetch location and do whatever it needs to do. In the it was a ****ton of wakelocks.
Your experience may vary, try it out yourself and monitor it with wakelock detector.
Click to expand...
Click to collapse
thanks to the wifi problem that comes with kitkat i have to keep my location on "device only" and the app keeps asking for 'location services required'
It Helps
I have been using it for months now. It does help with battery life. I like how it automatically refreshes apps based on usage. I have tons of apps but very few i want to refresh automatically. The low power mode is nice to get the most out of my remaining battery without me having to turn off everything and dim the screen manually.

ssp_sensor_hub_wake_lock - need to catch this battery thief

Hello there . Using Better Battery Stats I found out about this process which takes my phone out of Deep Sleep for about 5 minutes every hour. Totally annoying.
My phone is seriously trimmed down. I'm very strict when it comes to what is running. Data connection is almost permanently disabled, no weather widgets anywhere (that I'm aware of), no sensors active, extremely few processes in background, and even those that are have been thoroughly vetted. I'm using Disable Service / Greenify & Autostart to seriously trim down on whatever is running.
I did notice that when the phone is in Airplane mode, ssp_sensor_hub_wake_lock is keeping my phone alive "only" about 1 minute / hour. That is still too much, since I do NOT have any sensors that should be active at that time.
CONCLUSION AND THE ACTUAL QUESTION:
How can I investigate WHAT PROCESS starts ssp_sensor_hub_wake_lock OR ALTERNATIVELY get any logs / debug that could lead me to the culprit.
Thank you in advance!
try better battery stats

Exynos Note 9 screen off battery drain (not entering deep sleep)

Hello!
I've owned a N960F for about 2 months now and recently I'm dealing with extremely high screen off battery drain. Looking at the stats offered by the battery tab in device care I am unable to pinpoint the cause.
Furthermore, accubattery shows very low deep sleep time. Last night it managed to achieve an incredible amount of deep sleep of 0 minutes and drain 12% in just 5h 20 minutes of screen off time.
Screen on time is not a problem, while using the phone the battery usage is normal and I am pleased by it's performance, but it is greatly affected by the screen of consumption.
Does anyone have an idea what might be causing the device to not enter deep sleep mode? Or how to find out what the problem could be that makes it use up so much juice?
Thanks in advance!
Screenshots (the accubattery is from yesterday, while the device care one I screenshot just now):
https://cdn.discordapp.com/attachme...25/Screenshot_20190712-024601_AccuBattery.jpg
https://cdn.discordapp.com/attachme...05728/Screenshot_20190712-030220_Settings.jpg
Difficult to tell, possibility is an app in the background preventing deep sleep.
When you use device care and then select battery, followed by settings you get a further screen of options, you may be aware of this.
I have used these settings, it might help.
An alternative approach is to uninstall an app to see if the phone then goes into deep sleep
paul_59 said:
Difficult to tell, possibility is an app in the background preventing deep sleep.
When you use device care and then select battery, followed by settings you get a further screen of options, you may be aware of this.
I have used these settings, it might help.
An alternative approach is to uninstall an app to see if the phone then goes into deep sleep
Click to expand...
Click to collapse
I can't seem to pinpoint any app that could cause this problem and my settings were already as shown in your screenshots
jd14771 said:
i found a wierd bug recently. If you're google account has a sync error, like gmail, contacts, messages, ECT.. it will not enter deep sleep.
go to settings>accounts&backup>accounts> Google account>sync account>
Do you see anything with a circle formed by two arrows? those items can't snyc in the background for some reason. usually because the phone has put the app to sleep, optimized it, or restricted background data access. turns out my contacts arent syncing right now, glad i checked.
use this to try and help troubleshoot if you need help.
https://www.unlockunit.com/blog/google-contacts-not-syncing-need/
Click to expand...
Click to collapse
this might actually have been it, I found a weird Office account that was not syncing (I don't even remember adding it) and I removed it, I'll update if it has fixed the issue
jd14771 said:
for me, the problem was that my Contacts app was set to non-optimized ect ect... but the googlecontactsbackup app was set to optimized. I didn't even know that apps could have dependencies that show up as other apps. (i installed google contacts to replace samsung's people app).
i went from 1%-1.5% drain per hour, too .5% drain. significant change for me since im already heavily debloated.. thanks for making me look that deep lol. this is why people prefer iphones i suppose.
Click to expand...
Click to collapse
Are you debloat with adb and console?
Which apps disabled?
I think that Note 9 exynos have problem with consumming battery in sleep mode.
My N9 always "drain" 3-4 % in night after little debloat but A5 without debloat and with more apps consumming only 1-0% per night.

Categories

Resources