[BUG][WORKAROUND] Battery drain in ICS due to UsbStorageUnmountter wakelock - Galaxy Tab 8.9 General

It looks like the gt 8.9 suffers from an battery draining issue also found on many other Samsung devices:
Bug
If you attach and then remove a USB Storage device, a background service UsbStorageUnmountter is launched that will forever prevent the tab from going into Deep Sleep cpu state.
The "typical" way to unmount a USB storage, is by clicking the notification item ("USB mass storage connected, Select to remove USB mass storage safely"). This will trigger UsbStorageUnmountter to run.
If UsbStorageUnmountter is running, the only way to stop it, seems to be to reboot the tab. As long as it is running, it will keep a wakelock that means your CPU will not use Deep Sleep state. This will cause higher than needed battery usage, at least about 1.5 - 2% drop per 1 hour of idle mode.
Workaround
If you unmount the USB Storage from within "Settings > Storage > UBS OTG storage > Unmount ...", the UsbStorageUnmountter service will not be started, and your tab will be able to use Deep Sleep CPU state.
(credits: I found this in other threads (for the Galaxy S3, confirmed for Galaxy Tab 7.7, ...). source: http://forum.xda-developers.com/showthread.php?t=1767654
Also, just pulling the USB device seems to not trigger UsbStorageUnmountter issue, but that may result in app force closes, or corrupted write operations.
If you realize you unmounted the wrong way, you can just reboot the tab.
More Technical Details...
- Probably affects P7300, P7310, P7500, P7510, as well as a long list of other Samsung devices
- Probably affects all stock ICS. Unknown if it affects HC. Unknown if it affects CM, AOKP, AOSP, ...
- you can see your wakelocks using a brilliant app called BetterBatteryStats. It can show you exactly what's keeping the device awake (i.e. prevent it from Deep Sleep). It's how I found the issue. (I'll attach a screenshot later). It costs $2-3 on the market, but there is a community version available on XDA (search...). Still, well worth to support this app!
- you can see if UsbStorageUnmountter service is running, under the "Android System" process, using app "Quick System Info Pro" (free). It shows exactly when UsbStorageUnmountter gets launched, so you can experiment. So far, no one seems to have found a way to stop UsbStorageUnmountter once it started. And killing the "Android System" actually turns off the tab.
Bottom line
always use the "System > Storage" approach to unmount your Storage device.
Please reply if you find this on any 8.9 or 10.1 tab - need a few confirmations, that it's not just my tab being exotic.
PS: ... if you found this useful, why not click Thanks button?

Related

[Q] "Android OS" Taking Up My Battery

I have used the Droid, Ally, Galaxy S, Galaxy Tab 10.1, Droid X and many other Android devices without this problem. This phone is different. Android OS has been taking up 25-30% of my batter with everything I do. Complete restore, update, custom roms, etc, nothing works. I averaged on my other devices well under 10% of my battery being used for Android OS, but this one uses a crazy insane amount and my battery is dead in 7 hours on 3g only mode! What's the deal?
That is a lot. The most i have seen is like 10%.
I only have 4.5 hours of uptime right now, but mine shows 4%.
4% here.
You have something installed that's using the "os", or some app that relies on a service that is now gone.
if Android OS is that high then you're basically doing nothing with your phone.
Try watching a NetFlix video for an hour, or else playing a game, etc.
You have to realize that your phone never actually turns off (else you'd never receive phone calls ) so that the OS has to be running.
If you're doing nothing, just letting the phone sit there idle, then of the 5% of the battery that you let it take up while you were waiting to see if it went down, 30% of it was consumed by the Android OS. It makes sense if nothing is being used that hte OS itself will be the largest user of battery, b/c, as I mentioned, the OS is still running, even if in sleep mode.
And, TBH, it actually made more sense that the old way of reporting Cell Standby was taking up 'so much' battery - b/c if the phone is idle, then I expect that the phone call monitoring aspects of the OS would take the greatest amount of battery, b/c nothing else is using the battery.
You have to take what you see in battery usage with a grain of salt. If you're not using your phone and you see a 3rd party app taking up 40% then you have something to worry about. If the OS itself is taking up that sort of percentage, it means nothing else was running ot take up the battery.
I agree with John that non-use will cause OS to seem abnormally high.
However, your 7 hours of battery life is terrible:
If you are having short battery life here’s a list of things that can help. Just read through the list and select the items that fit with the way you want to use your phone. Not all items will work for everyone and this list was written for the Droid Bionic but should work for your phone too:
- Don't use an automatic task killer--not even the one that comes with the phone. Reboot your phone and look at what's running. If anything that you've installed is running and there's no reason for it, then uninstall it and find an alternative that behaves. Ignore any stock apps that run on boot as I've found them to be more or less benign.
- Weather widgets, live wallpapers, news/social feeds, any app or service that you use that runs--do without it if you can. If you can’t do without it, lengthen it’s refresh time.
- Don't use antivirus
- Set your WIFI sleep policy to never. The default is "turn off when screen turns off". This will cause the wifi to reconnect every time you open the phone. From any Home Screen select Menu/Settings/Wireless & Networks/ and then use the Menu button to see some new options - select Advanced. Then select Wifi Sleep Policy and set it to Never. Home key to return to Home Screen.
- If you have access to wifi, leave it toggled on as it is more efficient than 3G. Wifi consumes less battery power than 3G.
- I leave GPS toggled on too by the way. Apps use it as needed. When I'm done with Maps or an app that uses it, I'm sure to return to the home screen so GPS can stop. Under wireless settings turn on "Google location services" so that an app is able to use network resources to get your location instead of GPS. I have "VZW location services" turned off--don't know why that option is even there. By the way, I increase the speed of voice output > text to speech > speech rate because I like the directions to get spit out faster. That saves a bit of battery. Turning off the display and just listening for directions help. Also, often I just get the directions and then exit back to the home screen: GPS uses so much battery I try to get it over with ASAP.
- When you get a 1) new battery, 2) do a factory reset, or 3) an OS upgrade - run your battery all the way down until the phone shuts off and then charge the battery all the way up. This will calibrate the phone's understanding of the battery's capacity. Do this once every month or two also, but don't do it too often if you can help it.
- I have my battery set to "Performance Mode" and data is on all the time because I am on call 24x7. If you don't mind, try out a more conservative battery profile to save more gobs of energy.
- Set screen brightness to "Automatic"
- Under Accounts, click on any account listed and turn off sync for any items that you're not interested in syncing. For example, Google Books if you don't use it. Don't use Backup Assistant--I prefer syncing my contacts with Google. You don't need both. Also go into your contacts > menu > display options > backup assistant > UNCHECK. Also do contacts > menu > more > settings > contact storage > and select your Google account and "remember this choice"
- Turn on Bluetooth only when you are going to use it.
- Consider turning off voice privacy. This may not be a big deal but it will save some processing (and therefore battery). It may also improve call quality.
-Turn off haptic feedback, animations, and any un-needed sounds in Android settings and in your apps
- Set your screen timeout to as low a time as you can stand (I use 1 minute) and manually turn the screen off when you’ve finished using the phone.
- Turn off in-pocket detection. In-Pocket Detection has been the source of many issues already.
- Keyboard: turn off vibrate on key press and sounds for any keyboards you use
- Use a red or black screen background. On the original Droid screen--not sure about this Bionic screen--red was the most efficient color that could be displayed.
- Camera app: I like keeping location on and flash on auto. Consider turning location off or at least returning to the home screen ASAP when using camera if location for camera is on.
- In stock browser the default home page is Google and it uses your location. This is a bad idea as it can waste your battery for no reason. Make something else your home page and make sure to close any web page that uses your location when you're done viewing it.
- Charge your phone via the wall charger instead of computer USB as it is faster. Also, don't use long USB cords--use regular power extension cords instead. I stick with the charger that came with the phone. Put the phone on charger when you go to bed every night.
- Consider install the Home Replacement app Zeam. It is basic app that uses very few resources and will help with battery power.
- Emails: I don't know what email app you use, but try this. It saves battery power and in some cases emails arrive quicker. This scheme will have you using only the Gmail app on the phone for all email accounts whether they are pop3 accounts or Gmail.
- If you are using Live Wall Papers, stop!
------------------------------------------------------------------------------------------------------------------
This is a link to some very good videos about saving battery power on the Bionic (there are 4 parts and the other parts will show up as available videos when part 1 finishes):
Battery Saving Video
Part 1: http://www.youtube.com/watch?feature=player_embedded&v=cvWg7SbUgsI
If battery life is still bad: Consider doing a factory reset: These have gotten pretty painless lately by following these simple steps: 1. Make sure Backup and Restore are checked in the Privacy setting. 2. When going through the setup after the reset, turn on wifi as soon as you can (assuming it is available). 3. After you have entered your Gmail account info, you will be presented with a screen that has two check boxes. Basically they are "Do you want Google to backup and restore this phone”. Make sure you check both of those. Your apps will then automatically reinstall (paid and free). Set the phone aside for a minute or two and let the apps download and install. 3. If rooted, use an app such as titanium backup to restore data only to select apps such as Tapatalk and you will not have to re-enter all your login information. I do this for 3-4 apps (Tapatalk, SPB Shell, etc.).
I've been flashing new roms/updates about once per day lately and I can be up and running with all my apps and settings back in place in less than 20 minutes. It's pretty painless now.
When I first bought my Bionic, it was eating up battery like crazy. After 2 replacements phones, I found out that some Bionic's were having an issues with Draining battery. My 3rd Bionic is great. On my original Bionic, it would take me 2 extended batteries and still could not make it through day under moderate use. Now, 1 extended battery will last me all day with heavy use.
There are some faulty Bionic's out there. It was even mentioned on Droid-Life. I think the original one they tested had issues with battery drainning really fast.
Geezer Squid said:
I agree with John that non-use will cause OS to seem abnormally high.
However, your 7 hours of battery life is terrible:
If you are having short battery life here’s a list of things that can help. Just read through the list and select the items that fit with the way you want to use your phone. Not all items will work for everyone and this list was written for the Droid Bionic but should work for your phone too:
- Don't use an automatic task killer--not even the one that comes with the phone. Reboot your phone and look at what's running. If anything that you've installed is running and there's no reason for it, then uninstall it and find an alternative that behaves. Ignore any stock apps that run on boot as I've found them to be more or less benign.
- Weather widgets, live wallpapers, news/social feeds, any app or service that you use that runs--do without it if you can. If you can’t do without it, lengthen it’s refresh time.
- Don't use antivirus
- Set your WIFI sleep policy to never. The default is "turn off when screen turns off". This will cause the wifi to reconnect every time you open the phone. From any Home Screen select Menu/Settings/Wireless & Networks/ and then use the Menu button to see some new options - select Advanced. Then select Wifi Sleep Policy and set it to Never. Home key to return to Home Screen.
- If you have access to wifi, leave it toggled on as it is more efficient than 3G. Wifi consumes less battery power than 3G.
- I leave GPS toggled on too by the way. Apps use it as needed. When I'm done with Maps or an app that uses it, I'm sure to return to the home screen so GPS can stop. Under wireless settings turn on "Google location services" so that an app is able to use network resources to get your location instead of GPS. I have "VZW location services" turned off--don't know why that option is even there. By the way, I increase the speed of voice output > text to speech > speech rate because I like the directions to get spit out faster. That saves a bit of battery. Turning off the display and just listening for directions help. Also, often I just get the directions and then exit back to the home screen: GPS uses so much battery I try to get it over with ASAP.
- When you get a 1) new battery, 2) do a factory reset, or 3) an OS upgrade - run your battery all the way down until the phone shuts off and then charge the battery all the way up. This will calibrate the phone's understanding of the battery's capacity. Do this once every month or two also, but don't do it too often if you can help it.
- I have my battery set to "Performance Mode" and data is on all the time because I am on call 24x7. If you don't mind, try out a more conservative battery profile to save more gobs of energy.
- Set screen brightness to "Automatic"
- Under Accounts, click on any account listed and turn off sync for any items that you're not interested in syncing. For example, Google Books if you don't use it. Don't use Backup Assistant--I prefer syncing my contacts with Google. You don't need both. Also go into your contacts > menu > display options > backup assistant > UNCHECK. Also do contacts > menu > more > settings > contact storage > and select your Google account and "remember this choice"
- Turn on Bluetooth only when you are going to use it.
- Consider turning off voice privacy. This may not be a big deal but it will save some processing (and therefore battery). It may also improve call quality.
-Turn off haptic feedback, animations, and any un-needed sounds in Android settings and in your apps
- Set your screen timeout to as low a time as you can stand (I use 1 minute) and manually turn the screen off when you’ve finished using the phone.
- Turn off in-pocket detection. In-Pocket Detection has been the source of many issues already.
- Keyboard: turn off vibrate on key press and sounds for any keyboards you use
- Use a red or black screen background. On the original Droid screen--not sure about this Bionic screen--red was the most efficient color that could be displayed.
- Camera app: I like keeping location on and flash on auto. Consider turning location off or at least returning to the home screen ASAP when using camera if location for camera is on.
- In stock browser the default home page is Google and it uses your location. This is a bad idea as it can waste your battery for no reason. Make something else your home page and make sure to close any web page that uses your location when you're done viewing it.
- Charge your phone via the wall charger instead of computer USB as it is faster. Also, don't use long USB cords--use regular power extension cords instead. I stick with the charger that came with the phone. Put the phone on charger when you go to bed every night.
- Consider install the Home Replacement app Zeam. It is basic app that uses very few resources and will help with battery power.
- Emails: I don't know what email app you use, but try this. It saves battery power and in some cases emails arrive quicker. This scheme will have you using only the Gmail app on the phone for all email accounts whether they are pop3 accounts or Gmail.
- If you are using Live Wall Papers, stop!
------------------------------------------------------------------------------------------------------------------
This is a link to some very good videos about saving battery power on the Bionic (there are 4 parts and the other parts will show up as available videos when part 1 finishes):
Battery Saving Video
Part 1: http://www.youtube.com/watch?feature=player_embedded&v=cvWg7SbUgsI
If battery life is still bad: Consider doing a factory reset: These have gotten pretty painless lately by following these simple steps: 1. Make sure Backup and Restore are checked in the Privacy setting. 2. When going through the setup after the reset, turn on wifi as soon as you can (assuming it is available). 3. After you have entered your Gmail account info, you will be presented with a screen that has two check boxes. Basically they are "Do you want Google to backup and restore this phone”. Make sure you check both of those. Your apps will then automatically reinstall (paid and free). Set the phone aside for a minute or two and let the apps download and install. 3. If rooted, use an app such as titanium backup to restore data only to select apps such as Tapatalk and you will not have to re-enter all your login information. I do this for 3-4 apps (Tapatalk, SPB Shell, etc.).
I've been flashing new roms/updates about once per day lately and I can be up and running with all my apps and settings back in place in less than 20 minutes. It's pretty painless now.
Click to expand...
Click to collapse
Good points.
Juroid said:
When I first bought my Bionic, it was eating up battery like crazy. After 2 replacements phones, I found out that some Bionic's were having an issues with Draining battery. My 3rd Bionic is great. On my original Bionic, it would take me 2 extended batteries and still could not make it through day under moderate use. Now, 1 extended battery will last me all day with heavy use.
There are some faulty Bionic's out there. It was even mentioned on Droid-Life. I think the original one they tested had issues with battery draining really fast.
Click to expand...
Click to collapse
That is weird. I wonder....could it be due to actual batteries as opposed to the phones?
But in the OP's case, I doubt it - it would be too coincidental that his battery were to fail right as he applied the update.
@OP - you might also try conditioning the battery, fully charging and then running it down a couple of times and seeing if it stabilizes. It might have to do with the update wiping the stored battery stats (long shot, I know, but still)?

Battery drain due to RILJ. (Solved!)

Hi everybody,
I have seen quite a number of users get troubled and complain about high battery drain in JB roms. Most of them have used BetterBattery or other applications and found that RILJ seems to be the culprit. But I haven't seen anyone suggest a solution until now.
So I spent sometime tinkering with the settings and found that on CM10 roms (and may be others as well) turning off the Background Location Reporting removes the RILJ wakelock and stops the battery drain. The reason I guess is that since RILJ might be responsible for providing approximate location (using cell tower identification) it maintains a wakelock to do so.
I am using PA 2.10 so the following instructions are based on that. Other roms should have similar steps.
Here's how you turn Background Location Reporting off.
1. Go to System Settings
2. Under accounts, select Google/Maps and Latitude
3. Maps will fire up and it should show the Location Settings screen.
4. On the top tap Location Reporting and select Do not update your location.
That's it.
Now observe BetterBattery for a few hours and you should see a significant change in the listings and also battery drain. For me battery consumption went from ~1% per 3-5 mins on idle to ~1% per hour on idle.
One side effect of this change (I am guessing) could be that Google Now might not be able to show the location triggered cards. So take your pick on what is more important for you, battery life or value added services.
Cheers
Sent from my GT-N7000 using xda app-developers app
Just come across this via CM forums - I'm on I9100, but I guess it's the same thing. Trying this for a few hours to see what happens. I've seen a dramatic increase in battery usage over the past few days, strangely just after the most recent Maps update...
Quick update - turning that off doesn't change anything for me. Looks like Google Now still knows where I am and therefore there's another setting checking my location. I'm going to try turning Google Now off for a bit too.
Update again: it's not Google Now for me either. Need to do some further looking to try and track down what the exact request is!
good job
Thanks to the RILJ, my battery drain is 10% per hour right now and I'm going to try this solution immediately. Thanks a lot!
Ahalford has already done an indepth research on this subject and summarized all the wakelocks with possible solutions for each, RIL is one of them...
http://forum.xda-developers.com/showthread.php?p=31352333
Sent from my GT-N7000 using Tapatalk 2
will try it, ill report it tomorrow.
thank you for your solution.
nice job. just change the setting and wait for result.
Thanks! This has saved me from pulling out what little hair I have haha.
I really am close to killing myself due to sadness and disappointment because of my phone's battery life. lol. I have a Galaxy Note 2(4.1.1 ver) and my battery lasts for 12-16 hours. I use it mostly for Facebook, Google, Viber and YouTube. I have other typical social networking/comm apps (YM,Skype, Instagram,Twitter) but I dont use them often. I have less than 10 games (Temple Run2, Angry Birds, Diamond Dash) but I dont play for more than 15 mins. I have observed that when my phone is NOT in use, it decreases by 7-10% per hour during the day. At night, before I go to sleep, it is a fully charged phone and when I wake up, 25% of the battery's life is gone within 8hrs of not touching it even to check the time. I dont know if its the normal draining rate of the battery, if its a factory defect on the battery or the phone itself, or if it is the app or android system. My phone is just 4 days old, or maybe 5. Im hoping when the phone turns a week old, things will be better. Or should I try to kill myself now?
PS. I really want to try the solution given above coz upon reading it I realized that viber/fb etc is now showing my location. but i cant seem to find this on my phone. Can someone help me pleaseeeeee.
Alternative way to pick "Do not update your location"
Elai012488 said:
I really am close to killing myself due to sadness and disappointment because of my phone's battery life. lol. I have a Galaxy Note 2(4.1.1 ver) and my battery lasts for 12-16 hours. I use it mostly for Facebook, Google, Viber and YouTube. I have other typical social networking/comm apps (YM,Skype, Instagram,Twitter) but I dont use them often. I have less than 10 games (Temple Run2, Angry Birds, Diamond Dash) but I dont play for more than 15 mins. I have observed that when my phone is NOT in use, it decreases by 7-10% per hour during the day. At night, before I go to sleep, it is a fully charged phone and when I wake up, 25% of the battery's life is gone within 8hrs of not touching it even to check the time. I dont know if its the normal draining rate of the battery, if its a factory defect on the battery or the phone itself, or if it is the app or android system. My phone is just 4 days old, or maybe 5. Im hoping when the phone turns a week old, things will be better. Or should I try to kill myself now?
PS. I really want to try the solution given above coz upon reading it I realized that viber/fb etc is now showing my location. but i cant seem to find this on my phone. Can someone help me pleaseeeeee.
Click to expand...
Click to collapse
Alternative method for turning on the setting "Your location is not updated":
1) Open the google maps app.
2) Press the physical "menu" button on your phone to get into settings for maps.
3) Click on settings in the menu that pops up.
4) Click on "Location Settings" in the menu that comes up.
5) Wait a second for "Location reporting" to update.
6) Click on "Location reporting".
7) Choose the "Do not update your location" option.
8) You're done.
This is how I did this on my Galaxy S3 and it seems to have fixed the RILJ wakelock issue I've been getting. It was waking up the cpu almost 300 times an hour. Hope it works for you.
samsung galaxy note gt n7000
hypocorism said:
Alternative method for turning on the setting "Your location is not updated":
1) Open the google maps app.
2) Press the physical "menu" button on your phone to get into settings for maps.
3) Click on settings in the menu that pops up.
4) Click on "Location Settings" in the menu that comes up.
5) Wait a second for "Location reporting" to update.
6) Click on "Location reporting".
7) Choose the "Do not update your location" option.
8) You're done.
This is how I did this on my Galaxy S3 and it seems to have fixed the RILJ wakelock issue I've been getting. It was waking up the cpu almost 300 times an hour. Hope it works for you.
Click to expand...
Click to collapse
Also Add an apk.... Geenify....puts your applications on hibernate unlike killing....you can use them as you want still wont drain your battery...give a shot it will help you a lot.
Check this link: http://forum.xda-developers.com/showthread.php?p=39163079#post39163079
satven21 said:
Also Add an apk.... Geenify....puts your applications on hibernate unlike killing....you can use them as you want still wont drain your battery...give a shot it will help you a lot.
Check this link: http://forum.xda-developers.com/showthread.php?p=39163079#post39163079
Click to expand...
Click to collapse
I had the same rilj battery drain on S2. Disactivating the google app NEWS AND WEATHER battery drain due rilj is gone.
in case i deleted google maps what i can do bro?
hypocorism said:
Alternative method for turning on the setting "Your location is not updated":
1) Open the google maps app.
2) Press the physical "menu" button on your phone to get into settings for maps.
3) Click on settings in the menu that pops up.
4) Click on "Location Settings" in the menu that comes up.
5) Wait a second for "Location reporting" to update.
6) Click on "Location reporting".
7) Choose the "Do not update your location" option.
8) You're done.
This is how I did this on my Galaxy S3 and it seems to have fixed the RILJ wakelock issue I've been getting. It was waking up the cpu almost 300 times an hour. Hope it works for you.
Click to expand...
Click to collapse
any suggestion for a solution?

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

Mobile Dock Power Saving Mode Not Working

Hi all- Lately I have been getting terrible battery drain when my tablet sleeps while docked. I noticed that even though I have the Asus custom option for Mobiledock power saving mode enabled it does not work. I remember with my T101 I would have to enable, disable, and reenabel but that does not work. If I sleep the tablet and press any key on the dock it wakes. I suspect this is since the last recent update as the problem also seems to have started recently. My tablet is completely stock and not rooted yet.
Anyone else notice this?
Thanks
Moderater- Sorry, I was doing search on this and thought I was still in the question/troubleshooting forum. You might want to move this thread. mm
Install wake lock detector to see which apps are keeping your tablet awake.
sbdags said:
Install wake lock detector to see which apps are keeping your tablet awake.
Click to expand...
Click to collapse
Just installed. Will post back results. Thanks.
sbdags said:
Install wake lock detector to see which apps are keeping your tablet awake.
Click to expand...
Click to collapse
marcmarshall said:
Just installed. Will post back results. Thanks.
Click to expand...
Click to collapse
Wakelock manager is not working properly on my system. When I try to perform any action I just get a message that says "unable to perform requested action at this time, try again later." That said, it did open to the CPU wakelock page that was sorted by duration. The top of the list was Avast Mobile Security with a duration of only 9secs. I'm guessing that does not pose much of a problem.
I previously have BatteryStats Plus installed. It also is no longer working and is constantly crashing but I have been checking it since the battery drain problem started. It has a page for "potentially draining apps" that I am guessing also has to do with wakelocks. It has always reported that there are "no potentially draining apps"
What I also need to do, and should have tried already, is to sleep the tablet without the dock and see how the battery holds up.
I do know that the Asus Custom Setting for Mobiledock Battery Saving Mode is not working. Any key on the dock will still wake the tablet with this enabled. I suspect this is the problem. I should mention that I also have the tablet in Ultra Battery Saving Mode.
Can anyone with the latest update installed tell me if the Mobiledock Battery Saving Mode in setting under the Asus Custom Settings is working for them?
Thanks
marcmarshall said:
Wakelock manager is not working properly on my system. When I try to perform any action I just get a message that says "unable to perform requested action at this time, try again later." That said, it did open to the CPU wakelock page that was sorted by duration. The top of the list was Avast Mobile Security with a duration of only 9secs. I'm guessing that does not pose much of a problem.
I previously have BatteryStats Plus installed. It also is no longer working and is constantly crashing but I have been checking it since the battery drain problem started. It has a page for "potentially draining apps" that I am guessing also has to do with wakelocks. It has always reported that there are "no potentially draining apps"
What I also need to do, and should have tried already, is to sleep the tablet without the dock and see how the battery holds up.
I do know that the Asus Custom Setting for Mobiledock Battery Saving Mode is not working. Any key on the dock will still wake the tablet with this enabled. I suspect this is the problem. I should mention that I also have the tablet in Ultra Battery Saving Mode.
Can anyone with the latest update installed tell me if the Mobiledock Battery Saving Mode in setting under the Asus Custom Settings is working for them?
Thanks
Click to expand...
Click to collapse
Sounds like your device is not sleeping at all so you need to find out why - which wake lock detector or better battery stats would do - so you need to get a logcat of why they are not working
Sounds like you have major issues to me....
sbdags said:
Sounds like your device is not sleeping at all so you need to find out why - which wake lock detector or better battery stats would do - so you need to get a logcat of why they are not working
Sounds like you have major issues to me....
Click to expand...
Click to collapse
Well I know from the reviews that Better Battery Stats has been crashing for a lot of folks. A logcat is a good idea. Maybe it's time to finally root and flash a new rom as well. Thanks
I have no significant drain with tablet sleeping when not docked. This is similiar to early problems with the TF101.
Is anyone else having dock draining issues? Is the dock power saving mode working for anyone?

Insane heat and battery drain when screen on

Hello, I've been looking for solutions to this problem for a while now. Basically when my screen is on and system is awake the top part of my screen and backside will heat up to about 50C, it burns on the touch. Betterbatterystats gave a temperature of 52C and avg of 50. Needless to say, my battery also runs out very quickly like this, also dropping about 5% an hour when the screen is off.
Another thing I've noticed is that SDcard takes 25% of my battery usage, and when I go to storage settings, it will infinitely calculate. I mounted my storages and chkdsked them, fixed some corrupted files but the problem still persists. The only storage I haven't mounted is the internal storage, which I'm unable to do. I can't seem to connect to adb from recovery and mounting /data alone does nothing. After about 10 mins of using the phone, it becomes too hot(burns my hand) and it will shut down.
I've replaced 2 batteries so it's very unlikely that it's a battery issue. Also tried other chargers and wiping everything.
Phone OS: 4.1.2 stock LT5 before.
Did factory wipe/dalvik wipe + flash to CM11 4.4.4 and the problem is still present.
Betterbatterystats doesn't indicate a draining app, just high temperature.
Removing the external SD card and sim card had no impact.
I'm getting deep sleep when I turn off the screen, so it's not media scan being stuck. Mediascan disabled and problem still persists.
Pretty much out of ideas here, and hoping that you guys could help me out.
Any help is very much appreciated.
Poopfeast said:
Hello, I've been looking for solutions to this problem for a while now. Basically when my screen is on and system is awake the top part of my screen and backside will heat up to about 50C, it burns on the touch.....
Pretty much out of ideas here, and hoping that you guys could help me out.
Any help is very much appreciated.
Click to expand...
Click to collapse
It's not just you. I experienced the same, as have others, for example see http://forum.xda-developers.com/galaxy-note/help/process-bug-kitkat-roms-t2834819.
If you really need Kitkat I suggest Omnirom as it didn't have the heat issues when I most recently tried it out again, about a week or two ago. The other Kitkat ROMs I tried all turned my GT-N7000 into a hand warmer/hot plate, as did some older ROMs. There are good reasons why GT-N7000 is no longer officially supported in CM - really serious bugs with very few people still willing to try to fix them. Otherwise stock Samsung + root works great with no killer bugs and huge battery life Anyone still remember when this device first appeared and it was famous for having longest battery life of any smart phone? Run stock Samsung, rooted or not, and disable all the stuff you don't use, enable the power saving mode and it still is one of the best. Not kewl tho.....:laugh:
julian67 said:
It's not just you. I experienced the same, as have others, for example see http://forum.xda-developers.com/galaxy-note/help/process-bug-kitkat-roms-t2834819.
If you really need Kitkat I suggest Omnirom as it didn't have the heat issues when I most recently tried it out again, about a week or two ago. The other Kitkat ROMs I tried all turned my GT-N7000 into a hand warmer/hot plate, as did some older ROMs. There are good reasons why GT-N7000 is no longer officially supported in CM - really serious bugs with very few people still willing to try to fix them. Otherwise stock Samsung + root works great with no killer bugs and huge battery life Anyone still remember when this device first appeared and it was famous for having longest battery life of any smart phone? Run stock Samsung, rooted or not, and disable all the stuff you don't use, enable the power saving mode and it still is one of the best. Not kewl tho.....:laugh:
Click to expand...
Click to collapse
Thanks for your response. I wasn't aware of this situation. But I was having this heating problem on Samsung stock firmware 4.1.2 too?
edit: just flashed to omnirom and it's still burning my hand.
In the team win recovery repairing internal storage gives me the error: unable to repair /emmc, so I just wiped it, problem is still there.
Poopfeast said:
Thanks for your response. I wasn't aware of this situation. But I was having this heating problem on Samsung stock firmware 4.1.2 too?
Click to expand...
Click to collapse
The heat comes when the CPU is working at max. This should be quite rare but can occasionally go on for a long time, for example if there is a lot of media content to be indexed. This would usually happen for just a few minutes after booting. Example: I use Archos video player and it indexes 1000s of movies on my home LAN via smb or upnp - this adds some overhead at startup but then settles to zero impact. It can also happen on connection changes as these are a trigger for lots of apps/services to activate/phone home/update profiles or content and so on. You could also experience heavy load on CPU if your 3G connection and/or wifi signals are poor and the device is constantly seeking better signal.
Some stuff you can do:
in stock Samsung enable power save mode - this limits the max CPU state to 1000MHz.
in a rooted custom ROM you can use any of several utilities to do the same.
This makes near enough no difference to normal use but will just throttle back the CPU when it is trying to max out.
You can disable notifications for open wifi networks.
In stock Samsung you can safely disable any of the apps that you don't use.
In rooted custom ROM you can do the same but you also have the ability to disable stuff which you need just to boot to a working environment so be careful.
Disable GPS when you don't need it. Disable bluetooth if you don't need it.
and so on....
If you use an external microSDHC card try it formatted as exfat instead of fat32/vfat. There is a horrible bug with spontaneous unmounting of the extra cards but it works better if they are formatted exfat.
On rooted stock Samsung my Note runs nice and cool and just warms up a bit if I spend hours playing games. It never gets hot like it did with custom ROMS. If I get into a mega brain dead bug eyed game session with sound high and screen on and very bright I get about 6 hours battery life. If I use it a bit more normally I get anything from 10 to 17 hours between battery changes, with screen time between 3 and 6 hours, and that includes using batteries that are a couple of years old. I never even got close to this kind of performance with custom ROMs. YMMV etc.
julian67 said:
The heat comes when the CPU is working at max. This should be quite rare but can occasionally go on for a long time, for example if there is a lot of media content to be indexed. This would usually happen for just a few minutes after booting. Example: I use Archos video player and it indexes 1000s of movies on my home LAN via smb or upnp - this adds some overhead at startup but then settles to zero impact. It can also happen on connection changes as these are a trigger for lots of apps/services to activate/phone home/update profiles or content and so on. You could also experience heavy load on CPU if your 3G connection and/or wifi signals are poor and the device is constantly seeking better signal.
Some stuff you can do:
in stock Samsung enable power save mode - this limits the max CPU state to 1000MHz.
in a rooted custom ROM you can use any of several utilities to do the same.
This makes near enough no difference to normal use but will just throttle back the CPU when it is trying to max out.
You can disable notifications for open wifi networks.
In stock Samsung you can safely disable any of the apps that you don't use.
In rooted custom ROM you can do the same but you also have the ability to disable stuff which you need just to boot to a working environment so be careful.
Disable GPS when you don't need it. Disable bluetooth if you don't need it.
and so on....
If you use an external microSDHC card try it formatted as exfat instead of fat32/vfat. There is a horrible bug with spontaneous unmounting of the extra cards but it works better if they are formatted exfat.
On rooted stock Samsung my Note runs nice and cool and just warms up a bit if I spend hours playing games. It never gets hot like it did with custom ROMS. If I get into a mega brain dead bug eyed game session with sound high and screen on and very bright I get about 6 hours battery life. If I use it a bit more normally I get anything from 10 to 17 hours between battery changes, with screen time between 3 and 6 hours, and that includes using batteries that are a couple of years old. I never even got close to this kind of performance with custom ROMs. YMMV etc.
Click to expand...
Click to collapse
Thanks for taking your time to write this. I've already disabled GPS/sync and turned on power saving. Clearing the storage now lets android calculate properly, and the Media/sdcard is gone from battery usage. But it's still running very hot and draining. CPUspy says 20% on 1400 and the rest on 800mhz when I'm using it. The system is freezing often and generally really slow.
EDIT: just used eMMC check and it says I'm brickbugged :'(
type VYL00M
Ran the test but it says passed.
Temperature seems to drop to a reasonable 35C when I'm in airplane mode.
With everything on and sync off it's not going above 40C even when watching videos or something, so I guess it's all good now.
So basically what I've done to fix it:
Wipe internal storage and repair all partitions
Flash to OmniROM
Turn off Sync/GPS
Problem seemed to be mainly on the internal storage corruption, maybe related to my bugged chip.
Poopfeast said:
.....
EDIT: just used eMMC check and it says I'm brickbugged :'(
type VYL00M
Ran the test but it says passed.......maybe related to my bugged chip.
Click to expand...
Click to collapse
According to eMMC Brickbug Check my Note is exactly the same as yours - supposedly "Insane chip" but Memory check passed with no problems, and guess what? It works 100% perfectly running 4.1.2 rooted. I have the full capacity of storage available to me, apps do not freeze, everything works as good as new. It is absolutely stable and reliable and terribly boring (just how I like it). It never surprises me or does any weird stuff at boot or crashes or freezes. All the hardware features work, all the supported video and audio codecs and formats work, the networking is rock solid, I can rely on my VPN when away from home, GPS gets a fix in no time, battery life is excellent, video playback is great etc. etc..
I bought my 16GB GT-N7000 a few months ago, a used item on ebay. It is an unlocked retail UK item (boxed with all manuals, paperwork, accessories etc) so no network/vendor bloatware but it was supplied by the seller with Supernexus ROM installed and was obviously suffering from the usual problems often described by users of custom ROMs on exynos. After various frustrating episodes and trials of different ROMs I used ODIN 3.09 to flash an official Samsung ICS 4.04 firmware and 16GB pit file to restore the partition table and stock firmware. Then I ran Kies on Windows XP on the "virgin" restoration. It recognised the hardware and the firmware and notified me of the update to 4.1.2. I went ahead and updated over ethernet and also captured the official 4.1.2 firmware for purpose of backup.
Since then I have tried out various ROMs and have always been able to revert to stock Samsung 4.1.2 via ODIN and without going back to the scary brickbug "insane" ICS versions. As far as I can tell the brick bug is irrelevant if you aren't stuck on ICS. After trying numerous ROMs of various android versions I am in no doubt at all that if you spend half the time setting up a rooted stock Samsung firmware as most people spend setting up ROM X/Y/Z you actually get a much more reliable and useful device.
If you need a known-good pit file for a 16GB GT-N7000 you can use this: ftp://takla.linuxd.org/Q1_20110914_16GB.pit
I had a similar issue lately. Go to developer settings and activate the cpu load display. Processes and their cpu load along with a bar graph will appear on the screen. I found out that google's music app was hanging on my phone. This did not show up in BetterBatteryStats!!!

Categories

Resources