[Q] WTF is SSRMv2:Monitor?! - Galaxy Note 3 Q&A, Help & Troubleshooting

In my logcat there appear messages like this one over and over:
Code:
SSRMv2:Monitor ( 914): SIOP:: AP = 270 (read only)
I tried google and everything but couldnt figure out what this is or does.
But I dont want to be monitored! =)
The process id is the system_server.
Do you guys have the same in logcat?

I'm also seeing this in my phone. Also, my phone is not going to "Deep Sleep" at all after around 10minutes of a reboot. It just started happening today.
Are you also observing the same? No Deep sleep? My phone is staying at 250Mhz constantly without going to sleep sleep most of the time.
I also have line like (somewhere at the very top of logcat)
I/SSRMv2:Monitor( 2770): fileWriteInt : /sys/class/power_supply/battery/siop_level value : 100
Click to expand...
Click to collapse

ANT+ ?
It might be ANT+ radio, I wouldn't worry too much as it is low powered. Mine falls into a deep sleep just fine.

Related

Possible cause and solution to X10 Battery? -"No Sleep Bug"

Hey guys,
Just updated to the x10 after my samsung galaxy died on me, so far i am rather happy - except for the lack of root, but that will come.
I have noticed many complaints on the forum about battery life, and have experienced the same thing myself. From my experience, i think this looks like the same issue that was faced on a leak of 1.6 for the galaxy - it was referred to as the "No Sleep Bug".
TBH, the name says it all - for some reason, in many builds of android 1.6, phones were not sleeping correctly. There are many theories as to why, from cpu not being allowed to sleep, to permanent communication with google servers.
Despite all these different theories, one thing seemed to fix the problem - turning off all location services. Some people argue that a different carrier build, turning off just 'share with google' under location, turning off just AGPS etc. would fix it, but from my experience, the only real way to fix the issue was to turn off all GPS usage unless you need it. The once you have used it, reboot your phone.
This fix obviously sucks, and a new fix has recently been released by a veritable android-demigod around the Galaxy.
HERE IS A THREAD ABOUT NO SLEEP ON i7500 GALAXY;
(ok, some stupid rule says i can't post links - can a mod help me out?)
HERE IS THE FIX FOR THAT PARTICULAR BUG;
(ok, some stupid rule says i can't post links - can a mod help me out?)
LINKS ARE IN POST #5 - THANKS TO ONDOTEAM (would still be nice to get them in this original post though)
Now, from my experience, no sleep behave exactly the same way on the x10 as it does on the Galaxy;
1) I turn of all location services, and my battery life at least doubles.
2) After said turning off of services, 'spare parts' no longer says 100% running time under battery usage - in fact it can be as low as 10%.
These two factors are identical to my experience with Galaxy. SO; is there any way drakaz's fix can be applied to our X10's? It seems to me that the files he mods are standard Android system files, not sony/samsung specific.
Now i am no developer, so i dont know it this is possible - the first question that comes to mind for me is "do we need root access, or can this be done through developer tools using the android SDK?"
Can anyone help shed anymore light on this?
Seems to work for me. I disabled all location services. Spare Parts went down from 100% to 7.6%.
I'll just have to enable GPS when I need to use it..
Awesome! Glad to hear it has helped.
Let's keep testing this guys - if it does show up to be a big cause, then perhaps the devs around this place can help is figure out a patch for Drakas' mod to make it work with our x10's!
n3man said:
Awesome! Glad to hear it has helped.
Let's keep testing this guys - if it does show up to be a big cause, then perhaps the devs around this place can help is figure out a patch for Drakas' mod to make it work with our x10's!
Click to expand...
Click to collapse
Hello send me a PM with links, I will try to post it
http://androidforums.com/samsung-i7500/61168-no-sleep-has-nothing-do-anything.html
http://androidforums.com/samsung-i7500/78471-no-sleep-bug-fixed-drakaz.html
Links from n3man
No sleep is easy to fix, took me a while to figure it...
Turn your screen brightness from manual to auto, spare parts will now start showing proper running stats, no more 100% running.
The screen is a little dark in auto but it will cure the 100% running.
GPS and location services etc make no difference to my X10i, I am running the 1.6 version unbranded UK handset, the only thing to stop mine running 100% is to put the screen on Auto.
ronnyuk said:
No sleep is easy to fix, took me a while to figure it...
Turn your screen brightness from manual to auto, spare parts will now start showing proper running stats, no more 100% running.
The screen is a little dark in auto but it will cure the 100% running.
GPS and location services etc make no difference to my X10i, I am running the 1.6 version unbranded UK handset, the only thing to stop mine running 100% is to put the screen on Auto.
Click to expand...
Click to collapse
LOL... this is already going the way of the Galaxy thread!
My phone came out of the box with auto-brightness and i never changed that option, yet i still had no sleep.
Drakaz has done some fairly deep digging and is next to certain that it is an artefact of the geolocation bug discussed in the thread in which the problem was fixed.
I can't see "Spare Parts" in About Phone -> Battery Info
tuxStyle said:
I can't see "Spare Parts" in About Phone -> Battery Info
Click to expand...
Click to collapse
Me neither.. I was wondering about that myself!..
Although I'd half assumed that they were referring to the total "up-time" figure which you can see at the bottom of the "about phone"; "Status" screen.. But perhaps not.?
Spare Parts is a standalone Program ...
(i don't know for sure if it is in the market or downloadable as .apk from somewhere here in the forum ...)
Bax
im_iceman said:
Me neither.. I was wondering about that myself!..
Although I'd half assumed that they were referring to the total "up-time" figure which you can see at the bottom of the "about phone"; "Status" screen.. But perhaps not.?
Click to expand...
Click to collapse
You can download it here
Spare parts is indeed available from the market - it is a much more powerful tool for indicating battery usage than the regular android methods. The galaxy stared on 1.5 which had NO indicator of battery usage statistics at all, so we all learned about spare parts very fast.
Perhaps that is why no x10 users have realised about the potential no sleep bug; because so far only the android usage indicators have been used?...
Anyway, hopefully this can help us all understand the way our phones are working better together
n3man said:
Spare parts is indeed available from the market - it is a much more powerful tool for indicating battery usage than the regular android methods. The galaxy stared on 1.5 which had NO indicator of battery usage statistics at all, so we all learned about spare parts very fast.
Perhaps that is why no x10 users have realised about the potential no sleep bug; because so far only the android usage indicators have been used?...
Anyway, hopefully this can help us all understand the way our phones are working better together
Click to expand...
Click to collapse
14% it's mine value for running time, not 100%. By the way thats 30 minutes of 210 in total :S
I'm also experiencing "No sleep bug" after i used GPS. I use Battery Graph to plot my power consumption and after I use GPS, I can clearly see that power consumption is high even if i turn the phone in plane mode.
In addition SE widget, used to turn on/off GPS, seems to not work very well for me. So, to fix the bug, i manually disable GPS in parameter menu and restart my phone. After that power consumption is hardly null (20% in 8h with MP3 on almost all the time).
mimok said:
I'm also experiencing "No sleep bug" after i used GPS. I use Battery Graph to plot my power consumption and after I use GPS, I can clearly see that power consumption is high even if i turn the phone in plane mode.
In addition SE widget, used to turn on/off GPS, seems to not work very well for me. So, to fix the bug, i manually disable GPS in parameter menu and restart my phone. After that power consumption is hardly null (20% in 8h with MP3 on almost all the time).
Click to expand...
Click to collapse
Do you have 3G always on?
My phone has no trouble sleeping.
Gps hasn't really been an issue but I keep it off when not needed.
Here's my solid settings:
1) No auto sync
2) No moxier
3) Gps off
4) Restart after using wireless
As long as it's like this my phone lasts 2 days easily
ondoteam said:
Do you have 3G always on?
Click to expand...
Click to collapse
Yes, but I made a lot of test with and without 3G enabled and 3G seems not to be a problem for me. I think my problem comes from GPS.
ondoteam said:
Do you have 3G always on?
Click to expand...
Click to collapse
3G always on.
n3man said:
LOL... this is already going the way of the Galaxy thread!
My phone came out of the box with auto-brightness and i never changed that option, yet i still had no sleep.
Drakaz has done some fairly deep digging and is next to certain that it is an artefact of the geolocation bug discussed in the thread in which the problem was fixed.
Click to expand...
Click to collapse
I have been playing with mine for a month to work out what caused mine to not go into sleep, I keep GPS wifi etc on 24/7 but in spare parts I was running 100%, after numerous reinstalls and removing everything i chanced on turning on auto screen brightness, now when i unplug my x10 the running sits at the correct level.
No Geolocation bug here
I have this problem with 100% on and off. Sometimes when I check its under control (~10%), other times its at 100%. I have GPS off, no WiFi, auto brightness... don't know why it sometimes just gets stuck at 100% :/

(bounty) Find a fix for the "android os" battery bug

I starting a bounty for fixing the android os bug.
Anyone that fixes this bug gets the bounty. (not samsung or google tho)
Donations so far:
Doc 30$
dan13l 30$
TML1504 30$
Has anyone checked to see if its google maps chewing it up? It did this on some other phones with the latest update.
neubauej said:
Has anyone checked to see if its google maps chewing it up? It did this on some other phones with the latest update.
Click to expand...
Click to collapse
Keep the discussions in the other threads.
But maps is not the cause.
Switch Wifi sleep policy to "never sleep"
From the page for this issue on Google Code (others have linked to this page already but apparently no one here has bothered to actually read it):
code.google.com/p/android/issues/detail?id=15057
There appear to be two main causes of extreme battery consumption by the Android OS process.
#1 is the Wifi sleep policy of "wifi off when screen off", which is usually the default. If you haven't made a point of changing yours, it's probably still on this setting. In the Wifi settings page (where the SSID list is), press menu, then advanced, then Wifi sleep policy. Change it to "Never". A more blunt-force solution is to keep Wifi switched off all the time.
#2 is some combination of Google Latitude and location services (GPS and Wifi). This one seems to be less common and many people say it's definitely not the problem. It may be related to #1 in that a problem with the Wifi is causing location requests to fail, somehow causing extra processing.
Comment 23:
The increased consumption only occurs, when I have the wifi sleep policy set to "sleep while display is off". In this case the battery consumption is very high while the display is off.
Comment 31:
Only changing Wi-Fi sleep policy to Never from "Never when plugged in" fixed this for me for now.
Comment 40:
I can confirm that "Always on" WiFi policy solves the problem for me
Comment 53:
By putting "always on" to the wifi sleep policy, I'm now at 25% battery after 1 day 7 hours of usage (since last charge)
Comment 54:
The recommendation of changing the wifi sleep setting to 'Never' appears to have worked for me as well.
Comment 88:
Both "always on wifi" as well as "turning wifi off manually" work for me. The heavy battery drain only occurs in combination with the "wifi sleep while screen is off" policy.
Comment 90:
I have 'never sleep' policy for WiFi, and battery life is just fine.
Phone easily can sustain a day with some 40% battery remaining.
Click to expand...
Click to collapse
And so on...
A poll to see whether these solutions work for everyone would be good. I probably can't make it because I just registered.
Disclaimer: I have ordered but not yet received my Galaxy S II. The info in this post is not my firsthand knowledge, just some quick research.
ninewise said:
From the page for this issue on Google Code (others have linked to this page already but apparently no one here has bothered to actually read it):
code.google.com/p/android/issues/detail?id=15057
There appear to be two main causes of extreme battery consumption by the Android OS process.
#1 is the Wifi sleep policy of "wifi off when screen off", which is usually the default. If you haven't made a point of changing yours, it's probably still on this setting. In the Wifi settings page (where the SSID list is), press menu, then advanced, then Wifi sleep policy. Change it to "Never". A more blunt-force solution is to keep Wifi switched off all the time.
#2 is some combination of Google Latitude and location services (GPS and Wifi). This one seems to be less common and many people say it's definitely not the problem. It may be related to #1 in that a problem with the Wifi is causing location requests to fail, somehow causing extra processing.
And so on...
A poll to see whether these solutions work for everyone would be good. I probably can't make it because I just registered.
Disclaimer: I have ordered but not yet received my Galaxy S II. The info in this post is not my firsthand knowledge, just some quick research.
Click to expand...
Click to collapse
These fixes wont cure it for sgs 2.
See attached. It's not the wifi policy.
I too will pledge $30 for a working fix once I've verified that the problem is solved.
Sent from my GT-I9100 using XDA Premium App
dan13l said:
See attached. It's not the wifi policy.
I too will pledge $30 for a working fix once I've verified that the problem is solved.
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
Nice, i will update 1st post with all the findings so far.
"android os" bug is NOT:
Wifi bug (always on)
Maps bug
Any installed apps bug
Operator bug
Latitude bug
count me in with $30 as well
DocRambone said:
Nice, i will update 1st post with all the findings so far.
"android os" bug is NOT:
Wifi bug (always on)
Maps bug
Any installed apps bug
Operator bug
Latitude bug
Click to expand...
Click to collapse
I had similar issue on SGS, my problem was because aparently I got a faulty modem file, I noticed my signal bar going up and down continously.
Has anyone tried changing modem?? I don't have a SGS2 so I don't really know if there are modems to choose from...
Good Luck Doc.
gtluis said:
I had similar issue on SGS, my problem was because aparently I got a faulty modem file, I noticed my signal bar going up and down continously.
Has anyone tried changing modem?? I don't have a SGS2 so I don't really know if there are modems to choose from...
Good Luck Doc.
Click to expand...
Click to collapse
Getting a good idea now, a first setup on 3g network (no wifi), avoid the dir 655 routers and you be fine.
Wifi policy is set to "never" by default, so I can't see why it would help anyway.
That said with KE1 and a factory reset, although I have higher than would usually be expected AOS usage, my battery drain issue hasn't been all that bad - from a full charge today (7hr 15 on battery) to 83% with maybe 20 minutes angry birds, and the occasional checking of emails, texts and facebook and playing around with it a bit...
Screen on time 31 minutes... Android OS at 20% now and Wifi Sharing(!?) on 13%.
So not too bad, but it could be better IMHO - equates to about one and a half days of light use - definitely room for improvement.
There are so many threads about battery so not sure which one I should post it but..
I saw some strange things in Logcat. I get alot of those errors :
E/lights ( 2701): write_int: path /sys/class/backlight/pwm-backlight/brightness, value 170
E/lights ( 2701): write_int: path /sys/class/leds/blue/brightness, value 0
I don't exactly know what the error means(well they are related to the menu and return backlight I think), but the E/ stands for error in case you didn't knew.
Do you guys get the same kind of errors in logcat?
I've noticed 2 things:
If I wake it up, the cpu frequency doesn't go below 800mHz. (with only 4% load)
Only after I've started an app (not a widget etc.) it went down to 200.
(look at the "Temp+CPU V2" widget on the screenshot)
And the camera seems to run further if you don't go back out.
After a shot in school, I pressed the power button and at home, it felt VERY hot (front and back) and the battery level went down in 3% steps every 1-2 minutes.
But the camera wasn't listed in the battery stats, only Android OS, which was eating 70%.
Screenshot
Android OS Battery bug
Hi!
1. Install SystemPanelLite Task Manager from the market.
2. Run SystemPanel and open settings and check the "System processes" option. Close settings.
3. Scroll down in the process list until you find the process "android.process.media". If you have a CPU usage of more then 10-30s and the process usage gauge to the left moves up and down you probably have the Android OS battery bug.
At this point you can try the following;
- Shut down your phone. (Not just turn it of. The complete shut-down-power-off-thingy)
- Remove your external SD card.
- Start up your phone again.
- When the scan media is complete, do step 3 above again. If you don't see the problem at step 3 your SD card has a corrupt filesystem. And needs to be reformated. Follow these steps;
- Backup your data first!!!
- Settings -> SD card & phone storage
- Unmount SD card
- Format SD card
- Restore files from your backup.
If the problem persists your internal SD card might have a corrupt filesystem and needs to be reformated. Follow these steps;
- Backup your data first!!!
- Settings -> SD card & phone storage
- Format internal storage
- Restore files from your backup.
More details; What happens when you have a corrupt filesystem is that android.process.media tries to read a file but fails over and over again. The filesystem might not look corrupt to you. And you can read and write files on the SD card without problems. But at some point the android.process.media failes to read the files and loops like crazy, draining your battery.
I had a corrupt filesystem (FAT32) on my external SD card. I also had Android OS battery usage of 60-70% and a fast draining battery. I hope this can help others.
Best regards,
/Pontus
My android.process.media is 27 secs. Is this in the acceptable range?
Hi!
It's a bit high I'd say. I've got like 2000+ photos and I'm at 9 s after a days use.
Take a look here;
Settings -> Applications -> Battery usage
If Android OS is above 50% then you should consider my suggestions.
Most importans, does your phone get hot and use a lot of battery without heavy use?
Removing your external SD card and rebooting your device isn't that much work. If that gets rid of your problems, then reformat your SD card.
FAT32 isn't the most robust filesystem.
Best regards,
/Pontus
how can i remove the languages which i dont need?
what's causing the battery drain inside Android OS
After doing further investigations with watchdog, the Android OS battery drain is caused in stand-by by:
1. suspend (linux process)
2. events/0 (linux process)
They use heavily the processor while in standby... I've seen alert of up to 80% of CPU in both processes.

[Q] phone never goes into deep sleep

i figured out that to have arround 5 ma in standby ur phone must goes in deep sleep wich seems to be one of the cpu frequencies (i guess so) that is lower than 245 mhz ...u can check that by installing cpuspy ( a small app that shows the time spent on each frequencie ...) well in my case the app show the deep sleep as unused and spend all the time stuck on 245 mhz while screen is off ...
is there any way that might help to make the phone goes in deep sleep or to find the app that let the phone awake after screen is off
SetCPU, It;s available for free on XDA (and donation is avaible on market) has a lot of different settings, including profiles. http://forum.xda-developers.com/showthread.php?t=505419
Eelkede said:
SetCPU, It;s available for free on XDA (and donation is avaible on market) has a lot of different settings, including profiles. http://forum.xda-developers.com/showthread.php?t=505419
Click to expand...
Click to collapse
i tried it before ..but there's no option that will let the phone goes in deep sleep when screen is off ...u can just set the lowest value wich is 245 ...and my phone do it even without set cpu ... i need something that will force my phone to that state ...or to know how to find the app preventing my phone from sleeping.
thnks anyway
im not really sure this is of any help but Sleep myPhone is available on the market free. it will send your phone into airplane mode so im not sure if thats what you would want though. if you think its a app doing it install a app backup program if you dont have 1 already (i like appmonster) and uninstall 1 by 1 or as a short group intill it works again.
htccraze said:
im not really sure this is of any help but Sleep myPhone is available on the market free. it will send your phone into airplane mode so im not sure if thats what you would want though. if you think its a app doing it install a app backup program if you dont have 1 already (i like appmonster) and uninstall 1 by 1 or as a short group intill it works again.
Click to expand...
Click to collapse
if ur battery drain is about 7ma in standby it means ur cpu goes in deep sleep with airplane or without ...but my battery drain is 60 wich mean my phone stay awake in standby with airplane mode or without ...u understand my issue now:-D :-D
?
i had to read it a 2nd time but yeah i follow now it was pretty early in the am when i wrote that and could of benifited from some sleep. haha.
htccraze said:
i had to read it a 2nd time but yeah i follow now it was pretty early in the am when i wrote that and could of benifited from some sleep. haha.
Click to expand...
Click to collapse
I guess u and my phone need a deep sleep haha
hey dude, have u tried using watchdog lite to see what apps are running in the background. Could easily be a rogue app thats stopping the phone from sleeping. You could backup your rom with CWM then do a fresh install of hyperdroid and see if you still have the issue.
DramatikBeats said:
hey dude, have u tried using watchdog lite to see what apps are running in the background. Could easily be a rogue app thats stopping the phone from sleeping. You could backup your rom with CWM then do a fresh install of hyperdroid and see if you still have the issue.
Click to expand...
Click to collapse
i did many times and with diffrent roms ... and this happend even with a fresh install and nothing installed yet ...so iguess that might be caused by an app included in the rom
i installed the app & mine showed the same thing on RAFDROID HD at 1st. it listed deep sleep as "unused CPU states" along with several others. i let my phone rest a few mins and its showing deep sleep for about 4 mins and at 4%. i was thinking maybe there might have been a clitch in the app some how but with my testing it seems that the app works fine. what ROM are you using? kinda curious now. maybe i'll flash it over to see if i have the same problem.
htccraze said:
i installed the app & mine showed the same thing on RAFDROID HD at 1st. it listed deep sleep as "unused CPU states" along with several others. i let my phone rest a few mins and its showing deep sleep for about 4 mins and at 4%. i was thinking maybe there might have been a clitch in the app some how but with my testing it seems that the app works fine. what ROM are you using? kinda curious now. maybe i'll flash it over to see if i have the same problem.
Click to expand...
Click to collapse
i'm using hyperdroid cm7 ...but i tested in typhoon cm7 and nexus hd ...and a sense rom i dont remmember the name, it's annoying to drain battery in standby

[Q] Google & Galaxy S4 battery drain

Hello all,
I am writing to try if someone could help me solve a problem that's turning out to be quite disturbing.
First of all, it's important to say that both me and my brother owned an iPhone 4 and we decided to sell it and buy an S4 instead. So, we bought 2 Galaxies S4 in the same day, from the same shop, and I'll make some comparisons in this thread.
In the first days I bought my phone, I had a problem with battery drain. When I checked the battery menu on the phone, I could see that "Google services" were the culprit of the disaster. This way, I got my brother's phone and set everything exactly like set on his phone. It didn't work.
After some research, I decided to uncheck a couple of things that were checked to Sync, such as "Contacts", "Application Data", "Person/People Details" (not sure how it is written in English version), "Google Pictures" and "Picasa Albums", and I kept Gmail and Calendar, cause I need them.
The problem disappeared. Google Services if not even in the list anymore, and when it shows up, its consumption is around 2, 3%. Just for information, in my brother's phone, everything about Sync is active.
I attached a picture where it is possible to see that Google Maps is doing the ridiculous role of sucking 20% of the battery, and it has actually often gone up to 25%. I had this issue a couple of days ago, but it went away with no explanation. At that time, my "Location history" was off.
On Tuesday, as decided to turn this "Location history" on again, because it is a good feature for me to have and, moreover, my brother has everything active and his Google Maps doesn't usually show up on top of the battery draining apps, and when it does, it is with 3-4%.
On Wednesday, the battery consumption was apparently normal, but from Thursday on, I have been seeing this tiny piece of disturbance at the top much more than the screen by the way!
The apps I have downloaded are:
[when I write YES, it means my brother also has this app; when I write NO, he doesn't have]
WhatsApp - YES
CNN - NO
Shazam - NO
PicsArt - YES
Cut the Rope - NO
Facebook - YES
Viber - NO
9gag - NO
Messenger (facebook) - NO, but mine is not logged in
Skype - NO
Twitter - NO
Google Earth - NO
Google Translate - NO
Battery Doctor - NO
Flashlight - YES
Adobe Reader - NO
Doodle Jump - NO
Angry birds - NO
TED videos - NO
Flow Free - YES
Wordweb dictionary - NO
Swiftkey - NO
Can anyone help me finding what's going on? Just for info, sometimes the apps "Phone" and "Messages" are crazy next to 20% as well.
Thanks and, if you solve my problem, I will bless you so much that you may win the lottery.
unfortunately that battery screenshot isn't very helpful. It shows the battery usage percentage as a whole, so if all the apps are using a small amount of battery, they still have to add up to 100%, you can't really get an idea of how much CPU time they've used.
I recommend installing an app called BetterBatteryStats, it'll help you track down the culprit. post the BBS dump here if you want and I'll try and take a look.
omniwolf said:
unfortunately that battery screenshot isn't very helpful. It shows the battery usage percentage as a whole, so if all the apps are using a small amount of battery, they still have to add up to 100%, you can't really get an idea of how much CPU time they've used.
I recommend installing an app called BetterBatteryStats, it'll help you track down the culprit. post the BBS dump here if you want and I'll try and take a look.
Click to expand...
Click to collapse
I attached the dump, if you could help me, I'd be very thankful.
Thanks in advance, actually!
I've found this thread over here:
forums . androidcentral . com/samsung-galaxy-s3/287155-google-maps-battery-drain-issue-solved.html
[spaces added]
And I've just done what the guy suggests (uninstalling the updates and reinstalling again), tomorrow I come with news!
Right now, the Google Maps app is not anymore in that ranking.
One thing I found helped was to turn off the "wifi when asleep" option which is somewhere in the advanced wifi settings.
spencer_uk said:
One thing I found helped was to turn off the "wifi when asleep" option which is somewhere in the advanced wifi settings.
Click to expand...
Click to collapse
Thanks, I have to try this thing as well...
People,
Just for info, I left my phone on the battery over night. It was a disaster.
My battery is 64% and I haven't used the phone.
But now, Google maps is not on the top anymore. Its position has been taken by Phone and Messages.
It's ridiculous, please see the attached files. What the heck is going on with this phone?
Desperate for help.
Thanks a lot!
maykonsantini said:
Thanks, I have to try this thing as well...
Click to expand...
Click to collapse
I've just checked here and both I and my brother have this option enabled. My brother doesn't experience any battery drainage issues.
Processes using most battery are still Phone and Messages.
Does anyone know what I can try to solve this? Google Maps problem is apparently not the problem anymore.
yeah you have a wakelock issue - 36% deep sleep sucks.
These are your culprits:
Code:
RILJ (Telefone): 2 h 15 m 59 s (8159 s) Count:9196 24,2%
MMS Connectivity (com.android.mms.Mensagem): 1 h 33 m 59 s (5639 s) Count:118 16,7%
l2_hsic (): 1 h 29 m 27 s (5367 s) Cnt:(c/wc/ec)9504/1185/9503 15,9%
umts_ipc0 (): 1 h 17 m 24 s (4644 s) Cnt:(c/wc/ec)9230/658/9229 13,8%
radio-interface (): 1 h 16 m 55 s (4615 s) Cnt:(c/wc/ec)4598/214/0 13,7%
rpm_hsic (): 42 m 9 s (2529 s) Cnt:(c/wc/ec)9505/596/0 7,5%
all network/radio stuff. I assume you're both using the same mobile network?
i'm not sure what to suggest really. Maybe you'll have to take the phone back to where you bought it and ask them? probably the first step would be to install exactly the same apps that your brother has, also check the process section in BBS, it isn't dumped by default, but might be interesting.
omniwolf said:
yeah you have a wakelock issue - 36% deep sleep sucks.
These are your culprits:
Code:
RILJ (Telefone): 2 h 15 m 59 s (8159 s) Count:9196 24,2%
MMS Connectivity (com.android.mms.Mensagem): 1 h 33 m 59 s (5639 s) Count:118 16,7%
l2_hsic (): 1 h 29 m 27 s (5367 s) Cnt:(c/wc/ec)9504/1185/9503 15,9%
umts_ipc0 (): 1 h 17 m 24 s (4644 s) Cnt:(c/wc/ec)9230/658/9229 13,8%
radio-interface (): 1 h 16 m 55 s (4615 s) Cnt:(c/wc/ec)4598/214/0 13,7%
rpm_hsic (): 42 m 9 s (2529 s) Cnt:(c/wc/ec)9505/596/0 7,5%
all network/radio stuff. I assume you're both using the same mobile network?
i'm not sure what to suggest really. Maybe you'll have to take the phone back to where you bought it and ask them? probably the first step would be to install exactly the same apps that your brother has, also check the process section in BBS, it isn't dumped by default, but might be interesting.
Click to expand...
Click to collapse
Yes, we're both using the same network... and if you don't know what to suggest, I am starting to think I'm in a big trouble.
Both phones have been bought factory unlocked and at a shop totally independent from our carrier.
I attached to this post a screenshot of the battery section today, and a dumpfile of the processes.
I also noticed that my Message Center (in Messages Options) is different from his. I don't know if it should be or not.
I cannot seem to find any app of mine that could use "Phone" and "Messages" processes. Do you have a shot? It would be really awful to uninstall everything I have and then start installing again...
In a desperate try, I'll order a new microsim from my carrier, cause mine is about 7 years old. I don't know the impact of it, but I'll never get to know until I try it.
I can't even find information about this issue on Google, 'cause if I search for "phone app draining battery" it basically shows me everything related to general phone battery problems.
That's disturbing.
Thank you again!
Curious: every single time I turn on the phone, it says on the lock screen:
"It is impossible to send your message now. It will be sent when the service is available."
Are you sure you have closed the phone and messages by holding down the home button and swiping to close apps? I know it sounds basic but it's happened to me before, left messenger active and drained 36 percent on my galaxy tab 2 10.1 tablet! Which has a 7000mah battery. Just goes to show how much battery these apps can use if you dont close them. If you have then I don't know its very strange usually the android os is using the most on mkne closly followed by device idle if I leave mine on overnight
Sent from my GT-P5110 using xda app-developers app
Do you have bad signal? That can drain the battery
Sent from my GT-I9505 using xda premium
Hi guys.
Yes, I had closed the applications, deleted cache, tried everything I could.
I gave up and did a factory reset.
It's been something like 1 hour, and these processes are not top ranked anymore. On the other hand, Google Services is back, with 40%.
That's a shame... never had such problem with my old and gold iPhone.
If I only knew this...
maykonsantini said:
Yes, we're both using the same network... and if you don't know what to suggest, I am starting to think I'm in a big trouble.
Both phones have been bought factory unlocked and at a shop totally independent from our carrier.
I attached to this post a screenshot of the battery section today, and a dumpfile of the processes.
I also noticed that my Message Center (in Messages Options) is different from his. I don't know if it should be or not.
I cannot seem to find any app of mine that could use "Phone" and "Messages" processes. Do you have a shot? It would be really awful to uninstall everything I have and then start installing again...
In a desperate try, I'll order a new microsim from my carrier, cause mine is about 7 years old. I don't know the impact of it, but I'll never get to know until I try it.
I can't even find information about this issue on Google, 'cause if I search for "phone app draining battery" it basically shows me everything related to general phone battery problems.
That's disturbing.
Thank you again!
Click to expand...
Click to collapse
ok, nothing special in this log.
maykonsantini said:
Curious: every single time I turn on the phone, it says on the lock screen:
"It is impossible to send your message now. It will be sent when the service is available."
Click to expand...
Click to collapse
That definitely seems like something to chase up - possibly an SMS is stuck in a sending loop or something.. (but as you've hard reset this is moot i suppose).
samkent6 said:
Are you sure you have closed the phone and messages by holding down the home button and swiping to close apps? I know it sounds basic but it's happened to me before,
Click to expand...
Click to collapse
swiping the app away in the "alt+tab" screen won't do anymore than just pressing the back button to exit. If you exit the app by pressing the home button, the app will persist for a while, but android's memory allocation proceses will clean it up soon enough.
maykonsantini said:
Hi guys.
Yes, I had closed the applications, deleted cache, tried everything I could.
I gave up and did a factory reset.
It's been something like 1 hour, and these processes are not top ranked anymore. On the other hand, Google Services is back, with 40%.
That's a shame... never had such problem with my old and gold iPhone.
If I only knew this...
Click to expand...
Click to collapse
OK, google is back, but how's your battery life. get another BBS dump after 10 hours of idle and let's have a look.
maykonsantini said:
Hello all,
I am writing to try if someone could help me solve a problem that's turning out to be quite disturbing.
First of all, it's important to say that both me and my brother owned an iPhone 4 and we decided to sell it and buy an S4 instead. So, we bought 2 Galaxies S4 in the same day, from the same shop, and I'll make some comparisons in this thread.
In the first days I bought my phone, I had a problem with battery drain. When I checked the battery menu on the phone, I could see that "Google services" were the culprit of the disaster. This way, I got my brother's phone and set everything exactly like set on his phone. It didn't work.
After some research, I decided to uncheck a couple of things that were checked to Sync, such as "Contacts", "Application Data", "Person/People Details" (not sure how it is written in English version), "Google Pictures" and "Picasa Albums", and I kept Gmail and Calendar, cause I need them.
The problem disappeared. Google Services if not even in the list anymore, and when it shows up, its consumption is around 2, 3%. Just for information, in my brother's phone, everything about Sync is active.
I attached a picture where it is possible to see that Google Maps is doing the ridiculous role of sucking 20% of the battery, and it has actually often gone up to 25%. I had this issue a couple of days ago, but it went away with no explanation. At that time, my "Location history" was off.
On Tuesday, as decided to turn this "Location history" on again, because it is a good feature for me to have and, moreover, my brother has everything active and his Google Maps doesn't usually show up on top of the battery draining apps, and when it does, it is with 3-4%.
On Wednesday, the battery consumption was apparently normal, but from Thursday on, I have been seeing this tiny piece of disturbance at the top much more than the screen by the way!
The apps I have downloaded are:
[when I write YES, it means my brother also has this app; when I write NO, he doesn't have]
WhatsApp - YES
CNN - NO
Shazam - NO
PicsArt - YES
Cut the Rope - NO
Facebook - YES
Viber - NO
9gag - NO
Messenger (facebook) - NO, but mine is not logged in
Skype - NO
Twitter - NO
Google Earth - NO
Google Translate - NO
Battery Doctor - NO
Flashlight - YES
Adobe Reader - NO
Doodle Jump - NO
Angry birds - NO
TED videos - NO
Flow Free - YES
Wordweb dictionary - NO
Swiftkey - NO
Can anyone help me finding what's going on? Just for info, sometimes the apps "Phone" and "Messages" are crazy next to 20% as well.
Thanks and, if you solve my problem, I will bless you so much that you may win the lottery.
Click to expand...
Click to collapse
Turn off google maps?
omniwolf said:
That definitely seems like something to chase up - possibly an SMS is stuck in a sending loop or something.. (but as you've hard reset this is moot i suppose).
Click to expand...
Click to collapse
That message apparently is not showing up anymore. If it does, I'll come with news.
omniwolf said:
OK, google is back, but how's your battery life. get another BBS dump after 10 hours of idle and let's have a look.
Click to expand...
Click to collapse
Google Services went away now, but Google Maps is still the top app with 20%. I don't know if it's really wrong or it's just because I've just installed it and it's maybe trying to gather some initial information, and then it will disappear. What do you think?
If Google Maps keep being on top the whole day tomorrow, I am thinking of trying the same fix that worked for me the last time (uninstalling updates and then reinstalling them).
I didn't download BetterBatteryStats yesterday. I've just downloaded it, I'll keep it tracking tonight and post the dump here tomorrow, ok?
NoobieUser said:
Turn off google maps?
Click to expand...
Click to collapse
I can't see a point turning off Google Maps. First of all, I'd lose some features I find important and valuable in the phone.
Moreover, Google Maps is activated on my brother's phone and it's all right.
I think I need to focus on fixing it, but never turning off.
Thanks for the help, guys!
make sure your location services (latitude, google now) stuff is turned off, it'll drain like hell.
remember, just because maps is at the top of the list doesn't mean it's draining heaps, it might just mean it's the worst of a list of low drainers.
samkent6 said:
Are you sure you have closed the phone and messages by holding down the home button and swiping to close apps?
Click to expand...
Click to collapse
That doesn't close apps. That just removes them from the list of recently used apps that you get to from holding down the home button.
Nor are the apps on that list "open". It's just a list of recently used apps.
There are *some* apps that genuinely do remain open in the background and consume battery. Usually this means the app is misbehaving, but there are some apps that naturally consume a lot of battery in the background, such as Google Latitude, and some features of Google Now, if you have them set to keep track of your location.
omniwolf said:
ok, nothing special in this log.
[...]
OK, google is back, but how's your battery life. get another BBS dump after 10 hours of idle and let's have a look.
Click to expand...
Click to collapse
omniwolf said:
remember, just because maps is at the top of the list doesn't mean it's draining heaps, it might just mean it's the worst of a list of low drainers.
Click to expand...
Click to collapse
Good morning!
Well, today Google Maps is still at the top, usage around 20%. But I can see drastic battery life improvement:
I fully charged my phone, removed the charger and went to bed. Woke up after ~ 7 hours and the battery was 93%. If it is not completely solved, I'm getting close to it. Do you think it's normal now or Google Maps is in fact still draining more battery than it should?
I'm attaching a new BBS dumpfile.
It would be nice if you could teach me a bit of how you read this log as well.
Friend, thanks a lot, really.
that seems pretty reasonable drain now, I'd say your problem is fixed.
how to read the BBS file. All of this info can be gleaned from the BBS app, you don't have to dump the file unless you want to share you stats with others.
Not all of the BBS dump is useful. here's the stuff i look for:
Since 8 h 52 m 55 s <- how long this BBS session has gone for.
Level lost [%]: Bat.: -9% (100% to 91%) [1,0%/h] <- 9% lost over the above time, which equates to 1%/hour. 1%/hour is a reasonable amount for idling, the best i have got it to is about 0.6%/hour, but this is with a rooted debloated ROM, and custom undervolted kernel
Deep Sleep (): 8 h 20 m 16 s (30016 s) Ratio: 93,9% <- 94% deep sleep. this means that for the BBS session (~9 hours in this case), 6% of the time the phone was awake due to some process (wakelock) bringing the phone out of deep sleep. You want as much deep sleep as possible - the phone is in a super low power state (having shut down various components to reduce battery usage) when in deep sleep. 94% deep sleep is excellent. If you look at your previous deep sleep, it was 36% - shocking
Awake (): 32 m 39 s (1959 s) Ratio: 6,1% <- as i mentioned above - 6% awake, or 32 minutes
Screen On (): 7 m 33 s (453 s) Ratio: 1,4% <- 7 minutes of the session time you had the screen on. if you subtract 7 minutes from the awake time (32 - 7 = 25mins), it'll give you the amount of awake time you have with the screen off. the phone MUST be awake when the screen is on - this is obvious. However, when the screen is off, you're aiming for the least amount of awake time (or another way of putting it - the most amount of deep sleep). for 25 mins of screen off time your phone was awake instead of in the deep sleep state. You'll never get it to 0, the phone has to wake up for various tasks. 25 mins of awake time over 9 hours is totally acceptable IMO. This stuff is just "proving" your deep sleep %. It's not really giving you any new info.
Wakelocks <- this section describes all the user level applications that are keeping your phone awake when it could be in deep sleep. In the BBS app, this section is called Partial Wakelocks. I would probably pay attention to entries that are 10% and higher. in your case your worst Partial Wakelock is:
NetworkLocationLocator (com.google.android.apps.maps.Mapas): 9 m 21 s (561 s) Count:114 1,8% <- so 1.8% (9 minutes). totally acceptable IMO. you'd probably have to uninstall Maps to remove this, i don't think there's any settings you can do to get it lower.
Kernel Wakelocks <- these describe kernel wakelocks - so system wakelocks. You will have much less ability to affect these without rooting the phone and hacking away at it. Your worst is:
PowerManagerService (): 12 m 1 s (721 s) Cntc/wc/ec)627/25/0 2,3% <- PowerManagerService is a grouping of all the Wakelocks - all the partial wakelocks in the above section form this single kernel wakelock. So you can mostly ignore this entry, because you'll be dealing with it in the above section.
The next 4 kernel wakelocks are to do with wifi and network, and are all tiny and insignificant (2% and less).
If you'd like to thank me, feel free to click the Thanks button on my posts

Yoga 2 830/1050 high wakelocks - cause and workaround (root only)

Got to play with a Yoga 2 1050F for the past few days and was absolutely horrified how wakelocks kept the Yoga awake for about 30-50% of the time when it was supposed to be in deep sleep.
The wakelock in question is battery_wake_lock. It's not so much that it is triggered unusually often; rather, deep sleep is prevented by how long the wakelock is held with each trigger.
Lenovo implements the wakelock in the BQ27x00 battery driver that is shipped with the kernel of their Lollipop distribution. In the KitKat distribution, while it was initialized in the source code, it was never actually triggered. In fact, I have looked at multiple other source distributions, and not a single one uses wakelocks in the BQ27x00 battery driver. Thanks Lenovo.
In short, whenever there is a brief resume from deep sleep, for example triggered by an alarm from com.google.android.gms, the battery driver runs the bq27x00_battery_suspend_resume() function, which creates the battery_wake_lock wakelock and adds the battery polling task bq27x00_battery_poll to the kernel workqueue:
Code:
if (suspend_resume == RESUME_STR){
wake_lock(&di->wake_lock);
schedule_delayed_work(&di->work, 0);
}
The polling function bq27x00_battery_poll() would call bq27x00_update() to get new information about the battery, which would then also clear the wakelock.
Since the queued polling task is supposed to be run as soon as possible (delay = 0), the wakelock should be released immediately as well. No problem, right? Well, this would be only true if the polling task wasn't already active in the queue from a previous wakeup!
The person who added the battery_wake_lock didn't consider that bq27x00_battery_poll() adds itself to the kernel workqueue and is then triggered on a defined poll interval (default is 60 seconds as hardcoded in the Lenovo source). What does this mean? It means that it's possible, and highly likely, that when the Yoga briefly resumes from deep sleep, that there is still a queued battery polling job in the kernel workqueue. As a result, the code from above, even though it's meant to be triggered immediately, has to wait until the existing queued job has been executed. And that can take up to 60 seconds or to whatever the polling interval is defined. And that is why we are seeing those nasty long battery_wake_lock wakelocks that keep the device from deep sleep half the time.
Tldr: Each time the Yoga briefly resumes from deep sleep (which is normal and happens frequently - albeit it should be only briefly), the battery drivers adds a wakelock which prevents the device from going back to deep sleep for up to 60 seconds. If you have a total of 20 alarms per hour (not unusual - see com.google.android.gms - and normally not an issue since they are meant to be very brief), it means that Lenovo's battery wakelock keeps your device awake for up to 20 minutes or about 30% of the time!
Why did Lenovo add this wakelock? I am not sure, as I haven't seen it anywhere else implemented. In fact, Lenovo removed all wakelocks again from the battery driver in the Android 5.1 release for the Yoga Tab 3 series.
So what's the workaround?
If you have root, you can reduce the polling interval by modifying the poll_interval driver parameter. For example, I reduced the interval to 20 seconds:
Code:
$ cat /sys/module/bq27x00_battery_x8/parameters/poll_interval
60
$ echo 20 > /sys/module/bq27x00_battery_x8/parameters/poll_interval
$ cat /sys/module/bq27x00_battery_x8/parameters/poll_interval
20
While it seems counterproductive at first to reduce the interval and thus increase the number of battery polls, it makes perfect sense if you consider that it also allows the kernel queue to clear faster. Before it could take up to 60 seconds for the wakelock to be released; now it takes only up to 20 seconds. Ideally, when you have the device on, you'd want to set the interval parameter to a higher number again (your battery status is updated every 20 seconds now instead of every 60 seconds), although I haven't noticed any difference in performance or battery life so that's probably not an issue.
Speaking of battery life, attached you see how well my device was doing over last night. The battery charge went down by 1% - from 73% to 72% - in 8 hours! Not bad, is it?
Lastly, I am currently using the YT2-1050F-USR-S100067_1507101258_WW52_ROW firmware and haven't upgraded to the latest OTA yet. It's possible that Lenovo has fixed the issue, although I highly doubt it judging from the lack of discussions in this regard in the Lenovo forums.
Please Lenovo, fix this.
An interesting read, but for the majority of uses including myself- what does it mean in simple language and how can we put it to use.
Most uses do not have the technical knowledge to use this and even those whose tablets are rooted,will probably not know where to look or even make the changes suggested..
Please remember we are not all competent in programming or technical language,help us by keeping it simple,with easy to follow instructions.
@corasman, first and foremost I hope someone from Lenovo will read this thread and forward it to the team responsible for doing the Yoga firmware upgrades.
Meanwhile, in a practical manner, it all depends if you have root access to your device. If you don't, then I am afraid you cannot do anything to workaround this issue. If you do have root, there are multiple ways. The easiest way is to use an automation app like Automagic or Tasker, and have it dynamically adjust the poll_interval parameter depending on whether the screen is on or off. If anyone is interested I can attach my Automagic "flows" here that will do the job. Again - you need root for this.
doctorow said:
@corasman, first and foremost I hope someone from Lenovo will read this thread and forward it to the team responsible for doing the Yoga firmware upgrades.
Meanwhile, in a practical manner, it all depends if you have root access to your device. If you don't, then I am afraid you cannot do anything to workaround this issue. If you do have root, there are multiple ways. The easiest way is to use an automation app like Automagic or Tasker, and have it dynamically adjust the poll_interval parameter depending on whether the screen is on or off. If anyone is interested I can attach my Automagic "flows" here that will do the job. Again - you need root for this.
Click to expand...
Click to collapse
I'll have a go at this and report back,I am rooted and also have TWRP installed and backed up,If you can attach you "flows" please, I grabbed Automagic- where do I add the flows and execute them.
corasman said:
I'll have a go at this and report back,I am rooted and also have TWRP installed and backed up,If you can attach you "flows" please, I grabbed Automagic- where do I add the flows and execute them.
Click to expand...
Click to collapse
Sounds good! Attached you find the Automagic flows. Make sure in the Automagic preferences to have it "start after boot" and also enable "Root functions (Experimental)".
Btw, my overnight awake time is now ~1%.
doctorow said:
Sounds good! Attached you find the Automagic flows. Make sure in the Automagic preferences to have it "start after boot" and also enable "Root functions (Experimental)".
Btw, my overnight awake time is now ~1%.
Click to expand...
Click to collapse
Sorry, that is way over my head, I have had a look in system\power\wakelock and it is empty so assuming it's not doing anything. I am on the latest update,so could be the reason.
corasman said:
Sorry, that is way over my head, I have had a look in system\power\wakelock and it is empty so assuming it's not doing anything. I am on the latest update,so could be the reason.
Click to expand...
Click to collapse
Where did you see this? As far as I know the default system power manager doesn't show wakelocks. Uhm, the flows should be easy to import. Copy the XML file attached in my post above to your device. Then. when you start Automagic, click on its menu (top right button) -> Manage -> Import Flows/Widgets. There you can point to the xml file. It should be imported and the rest should go automatic. What's important is that you enable root in Automagic, which you can do in menu -> Manage -> Preferences.
doctorow said:
Where did you see this? As far as I know the default system power manager doesn't show wakelocks. Uhm, the flows should be easy to import. Copy the XML file attached in my post above to your device. Then. when you start Automagic, click on its menu (top right button) -> Manage -> Import Flows/Widgets. There you can point to the xml file. It should be imported and the rest should go automatic. What's important is that you enable root in Automagic, which you can do in menu -> Manage -> Preferences.
Click to expand...
Click to collapse
I have saved as an XML file,but when I try to import to Automagic it says invalid file.
I have sorted it,used a different XML programming.
Hopefully have it running---yoga battery fix(2 files running)off and on,is that right.
Thanks for the tip, I implemented it in Tasker. I'm on the latest firmware and confirm that the default timer is still 60 seconds btw.
Though I noticed that the first post's code snippet sets the timer to 20 seconds and the Automagic flow sets it to 1. I assume you tested with both timer settings and the 1 second performed better?
My overnight usage of seven and a half hours is one percent.
That's just shutdown to sleep and nothing else turned off.
iampanis said:
Thanks for the tip, I implemented it in Tasker. I'm on the latest firmware and confirm that the default timer is still 60 seconds btw.
Click to expand...
Click to collapse
Thanks for checking. I will update to the latest firmware eventually but what you could check is if the duration of kernel wakelocks decreases with your firmware when the display is switched off after applying the fix (the total "awake" should go down considerably) . The poll interval itself is not the problem - it's the wakelock that they added to the battery driver which is directly influenced by the polling interval. The fix doesn't remove the wakelock or reduce the number of wakelocks. It reduces the duration because it makes sure that the kernel queue is quickly cleared. It was obviously something the Lenovo developer didn't consider.
I have added the same logic to Tasker and attached the Tasker profiles to this thread. Tested only briefly but seems to do the trick.
Though I noticed that the first post's code snippet sets the timer to 20 seconds and the Automagic flow sets it to 1. I assume you tested with both timer settings and the 1 second performed better?
Click to expand...
Click to collapse
This is correct. It was before I decided to dynamically switch the polling interval depending on whether the device is on or off, and depending on whether it is charging or not. A charging device btw is always awake due to safety issues (you want the battery driver to catch an overheating battery...), meaning there are no suspend/resume calls to the battery driver, meaning the wakelock won't even be initiated.
corasman said:
My overnight usage of seven and a half hours is one percent.
That's just shutdown to sleep and nothing else turned off.
Click to expand...
Click to collapse
Nice.
Hello,
I had the same problem on my 1050F, rooted the tablet, installed Tasker and used your project - it works flawlessly However, I am wondering what are the long-term effects of lowering the poll interval for the battery (if any), do you have any conclusions after testing this workaround for a prolonged amount of time? Is lowering the poll interval to 1 safe or some sort of buffer value (10-20s) should be used instead?
I am no developer, just a regular user, but I'd be happy to get some feedback regarding this issue, especially that Lenovo seems to be non-responsive about the problem.
Anybody knows if this issue has been fixed in the lasts updates?
No, not fixed. I am having issues with Tasker not running the profiles correctly, and it's frustrating to wake up and find the battery flat in the morning given it's not the fastest device to charge !
I had this working fine in tasker until recently and now my yoga in on 30% awake and not sure why the tasker profiles dont seem to be working anymore, nothing else short of a few app updates has changed
Hi to all,
I do not know why, but the script don't work for me, it is in "execute" in automagic but the battery continues to discharge during the night.
I set everything up as described, does anyone know how to solve it?
Thanks

Categories

Resources