Battery Problems - Nexus 5 Q&A, Help & Troubleshooting

I'm using a Nexus 5, its my first Android device, and so my first time rooting.
I rooted yesterday using the Android SDK, and installed TWRP.
The root worked perfectly, and I have tested it. All I have done since rooting (unlocked boot loader at the same time, so I'm clean on stock), is install a few Play Apps like Twitter, WhatsApp and then BusyBox and dSploit.
I haven't added any customisations or anything, and my battery is now awful!
i.imgur/AkdAKjW.jpg (Can't post links yet)
My screen has been on for 50 minutes...
I have brightness on the lowest setting, have turned off vibrate on touch, turned off Wi-Fi, turned off Location, set to use 3G not 4G, set display to turn off after 15 seconds...
Im sure it can't be anything to do with the root, but I don't really know too much about it. Is there a problem with 4.4.2 and battery life?
What else can I do to improve it?
Ideally I'd like to be able to have a max of 3-4 hours screen time, and the device to last for 14-15 hours.
I was easily getting 14 hours before I rooted/updated, but now my battery life has just screwed up.
Why is the OS using up so much?

7ewis said:
I'm using a Nexus 5, its my first Android device, and so my first time rooting.
I rooted yesterday using the Android SDK, and installed TWRP.
The root worked perfectly, and I have tested it. All I have done since rooting (unlocked boot loader at the same time, so I'm clean on stock), is install a few Play Apps like Twitter, WhatsApp and then BusyBox and dSploit.
I haven't added any customisations or anything, and my battery is now awful!
i.imgur/AkdAKjW.jpg (Can't post links yet)
My screen has been on for 50 minutes...
I have brightness on the lowest setting, have turned off vibrate on touch, turned off Wi-Fi, turned off Location, set to use 3G not 4G, set display to turn off after 15 seconds...
Im sure it can't be anything to do with the root, but I don't really know too much about it. Is there a problem with 4.4.2 and battery life?
What else can I do to improve it?
Ideally I'd like to be able to have a max of 3-4 hours screen time, and the device to last for 14-15 hours.
I was easily getting 14 hours before I rooted/updated, but now my battery life has just screwed up.
Why is the OS using up so much?
Click to expand...
Click to collapse
Is this not the first charge since you first saw the problem? The Android OS bug occurs sometimes. I would reboot and see how it is on the next full cycle.

sreen may be turning in coz some apps might be asking for root access.
I think you try greenify app and hybernate useless apps, m sure this will help you.

Related

[Q] Help With Nexus S 4G Battery Problem

I have had the Nexus S 4G since November and i like it but it always only charged to 94%. But recently (last month and to now) I have somehow gotten it to sometimes charge up to 96% or even 98%. Well just 15 mins ago from when i'm posting this, the phone just shut down and it still had like 45% or so left of battery, it wouldnt turn on so i pluges it to my laptop and it says its charging so i turned it on while its charging and its still on 0% battery for the past 15 mins now. I go to school every weekday and i need it each day so i need to fix this as soon as i can.
I have it rooted on the OTA 4.1.1 JellyBean.
What I can remember was it started to slow down and kick me out of kik, opera, text+ and so on so i deleted a N64 emulator that sent me ads in my notifications, along with Orbot, NSTools, Kernel Manager, Rom Manager, and a couple more apps. So it may have to do with one of those being uninstalled. Just someone please help because I have alot of people I talk to that get angry at me when i dont msg them soon and I cant hace it pluged in all the time..
xBr4v3x said:
I have had the Nexus S 4G since November and i like it but it always only charged to 94%. But recently (last month and to now) I have somehow gotten it to sometimes charge up to 96% or even 98%. Well just 15 mins ago from when i'm posting this, the phone just shut down and it still had like 45% or so left of battery, it wouldnt turn on so i pluges it to my laptop and it says its charging so i turned it on while its charging and its still on 0% battery for the past 15 mins now. I go to school every weekday and i need it each day so i need to fix this as soon as i can.
I have it rooted on the OTA 4.1.1 JellyBean.
What I can remember was it started to slow down and kick me out of kik, opera, text+ and so on so i deleted a N64 emulator that sent me ads in my notifications, along with Orbot, NSTools, Kernel Manager, Rom Manager, and a couple more apps. So it may have to do with one of those being uninstalled. Just someone please help because I have alot of people I talk to that get angry at me when i dont msg them soon and I cant hace it pluged in all the time..
Click to expand...
Click to collapse
Sounds like you have either a power hungry app, or you rbattery calibration is way out of whack.
Power-Hungry Apps:
Check your battery stats and see how much battery a certain app is using by going into Settings>Battery then check for apps that are using a lot of your CPU and using much of your battery charge.
Battery Calibration:
Litium-Ion batteries like the one found in your Nexus S have a small memory chip inside of them to report battery stats to your phone amog other tasks. This chip can become un-calibrated and not report proper stas causing your phone to think you have no battery when you actually do have some juice left.
As you are rooted, you have many options:
Apps:
- http://play.google.com/store/apps/details?id=com.nema.batterycalibration
- http://play.google.com/store/apps/details?id=com.ignisoft.battery.calibration&hl=en
- http://play.google.com/store/apps/details?id=net.jonrichards.batterycalibrator.ui&hl=en
- http://play.google.com/store/apps/details?id=com.liteup.calibratebattery.free&hl=en
Recovery:
This depends on your recovery, I will assume you use ClockworkMod or vanilla recovery. If so, you can us this detailed guide: http://forum.xda-developers.com/showthread.php?t=1616598
Good luck! If you need anymore info, don't hesitate to ask and please don't forget to click the "Thanks" button if I helped you
~HeroKhar
1.To overcome battery drain you can also use app Greenify from Google Play, which allows you to hibernate (in time) such of your apps. But, be carefull, not all apps work properly when hibernated (sms, calender etc). You have to try.
2. Also, you can check how it looks with so called "wakelocks" (ratio between awake and real screen on in your phone) with BetterBatteryStats (also from Play). It is a little bit complicated app, but when you understand, its can help a lot.

[Q] Which Kernel should I use to reduce battery drain? [CM 10.1]

Hey everyone!
I flashed CM 10.1 yesterday (cm_p500-userdebug-cm-10.1 from jenkins. androidarmv6.org/job/android/ and I'm amazed how smooth and perfect it is working (A huge 'Thank you!!' to the developer )
The problem is that my battery drain is awful. It took less than 8 hours today to completely discharge, though I hardly touched it.
I used Battery Calibration and also installed "WakeLock Detektor" to see where the problem is, and it stated that my phone isn't asleep 99% of the time though the display is turned off most of the time :crying:
The main reason is a kernel-related thing named "suspend_backoff" that keeps it awake.
I wanted to install a different kernel, but I got no clue which one... I actually planned on installing the recent DorimanX-Kernel, but then recognized that this is only available for the Galaxy SII
Can anyone recommend a Kernel that keeps my system running smooth but the battery drain at a minimum? I basically need my phone for Messaging (SMS, WhatsApp, E-Mail), Calendar and once in a while as navigation system. So no need for spectacular game performances or so.
Are there other Ways to improve my battery life on that phone (I've read all the general tips for improving battery life)? Maybe some OC things I can change manually?
I'm grateful for any help. Thanks!
Helbelinc said:
Hey everyone!
I flashed CM 10.1 yesterday (cm_p500-userdebug-cm-10.1 from jenkins. androidarmv6.org/job/android/ and I'm amazed how smooth and perfect it is working (A huge 'Thank you!!' to the developer )
The problem is that my battery drain is awful. It took less than 8 hours today to completely discharge, though I hardly touched it.
I used Battery Calibration and also installed "WakeLock Detektor" to see where the problem is, and it stated that my phone isn't asleep 99% of the time though the display is turned off most of the time :crying:
The main reason is a kernel-related thing named "suspend_backoff" that keeps it awake.
I wanted to install a different kernel, but I got no clue which one... I actually planned on installing the recent DorimanX-Kernel, but then recognized that this is only available for the Galaxy SII
Can anyone recommend a Kernel that keeps my system running smooth but the battery drain at a minimum? I basically need my phone for Messaging (SMS, WhatsApp, E-Mail), Calendar and once in a while as navigation system. So no need for spectacular game performances or so.
Are there other Ways to improve my battery life on that phone (I've read all the general tips for improving battery life)? Maybe some OC things I can change manually?
I'm grateful for any help. Thanks!
Click to expand...
Click to collapse
I found SweetnSour's version 11 kernel quite good with cm10.1.
However, the ROM needs some help to get good battery life:
Install 2xBatterysaver. It will turn off data and WIFI when the screen is off (turn them on periodically to allow syncing). There are various apps like this one.
Control WIFI. Use Y5 battery saver or Whiz WIFI manager. Y5 is tiny and effective but crashes on cm10.2. Both check for favorite hotspots, leave WIFI on and turn it off when leaving the hotspot.
Thanks for your quick response!
Just tried to flash Sweetnsour's Kernel, but it won't work. I flashed this one --> versionFINAL-CFS.zip
Is that the correct one or rather one of those? -->" version11-CFS-TWRP.zip" or "version11-CFS.zip"
Edit: What actually are CFS respectively TWRP? Searched the forums but couldn't find an answer
[solved] or rather [solvished]
After days of trial and error, cutting and re-enabling all connections from WiFi to 3G and hibernating, un- and re-installing basically all of my apps and trying loads of other roms I didn't love as much as this in the least, I found the source for my phone being awake basically 100% of the time.
The changelog of the mod stated that there's still this WiFi-issue that keeps the phone awake.
Well, though I've tried before, It now works: switching off the WiFi connection finally gets my phone to sleep.
I think I'll just be running on my mobile data for the followin days or weeks until this bug has been fixed.
Btw: A little hint for the developer (I'm posting here, since I'm a noob and can't post in the developers forum): When switching the WiFi options to turn out WiFi whenever screen goes dark, it won't connect afterwards. I always needed to reboot my phone when I wanted WiFi to work again. (This bug also caused my mobile data not to work. It apparently thought WiFi was running, though it couldn't connect.)

[Q] Please Help ! Android System Battery Drain on Nexus 5 after KitKat 4.4.2 update

Hi,
The battery life of my Nexus 5 has taken a dramatic hit since the 4.4.2 update. I think the culprit is Android System but the GSAM battery graph seems to suggest that the culprit is Android OS kernel. My Nexus 5 is on 4.4.2, unrooted, stock ROM and the build no. is KOT49H.
In short, my phone does not seem to have a wakelock issue but I can't verify because 4.4 does not allow wakelock access without root. It sleeps fine at night and in daytime when it is not in use. I only lose around 5% or less overnight with 2x battery turning off the data connection and only turning on data connection once every night. The problem is the Android System which drains at least 17% (sometimes 25%) of battery everyday and routinely sits on top my of battery usage chart with or without me actually using the phone. My usage per charge is typically around 6-7 hours with around 1 hour 45 minutes screen on time. I had extraordinary battery life before the update to 4.4.2 (lasting more than 1 day with over 3 or 4 hours screen on time). Now my battery life is completely shot. The battery graphs attached already represent one of the better days. Some days the Android system will drain at 25% or more. You will note my phone relatively slept fine without draining at night in the first 7 or 8 hours and then the battery drain started to take a nose dive after I woke up. I feel that whenever I start using the phone (with the screen being turned on), the battery drain will occur. My observations are as follows:
1. I use LTE but the reception at my home and work for LTE is not good so the radio jumps between LTE and H+ from time to time however I do not think the radio jumping contributes that much to the drain. The drain stays the same even when I am at a place with good LTE reception. I use wifi at home but i cannot connect to wifi at work (which sadly is another issue). The wifi is always off unless i use it at home. I do NOT have wifi scanning in the settings. I have wifi battery optimization on. I never use bluetooth.
2. My google now is off. My location setting is completely off with no location reporting etc..
3. My Google + auto back up is off. I do not use Facebook, Facebook messenger, Instagram, snapchat etc. I mostly use Feedly, Whatsapp, Gmails and look at stock quotes every day. I seldom take pictures, videos or listen to music.
4. I only have one widget dashclock widget. I have removed feedly and stock quote widgets from the home screen but they don't seem to affect my battery usage that much.
5. I use Automateit but only have a few rules such as setting vibrate on weekdays etc.. I do not have any profiles which are related to GPS or location which i understand would drain battery. I also use Dynamic Notification, Light Flow, Lux, Nova Launcher, Notification Toggle and the memory in general is always below 65% in the background. I also use 2x battery to save battery which is set at switching off data after I turn off the screen and it will only turn data in the background every 10 minutes.
6. I have tried safe mode and 9 out of 10 times the Android system drain remains the same. The only way to lower the Android system drain (albeit temporary) is when I turn off the phone and plug it in for a charge, then turn it on when it is full and still plugged in. After I unplug it, the Android System drain will lower to say 7 or 8 % but it will slowly creep back up to 20% within an hour or so.
7. The CPU usage overlay routinely has 9 + readings on the top when the screen is turned on (but with no app running). I think it means very high CPU usage.
8. I do not think Feedly is causing any problems. I deleted the app and the drain remains. I also do not think GSAM is that useful as pointed out by another member here. It points to one app. You delete that app and then the drain remains it will point to something else.
9. I have been using Greenify (non-root) but it does not seem to help with my battery drain as the drain might be caused by system apps or processes within the OS.
I don't know what else to do and this problem has been troubling me for more than 1 month now. Please help !
Update on 24/2/2014:
I have given up and factory reset my phone. After I reset my phone, the apps were installed via Google Play automatically. I also switched to ART. It was fine initially for at least one day. The apps were there but I did not use or enable most of them as I wanted to transfer all my data and tweaked the settings in one goal. I mostly just used Feedly, Whatsapp and Maps for navigation. Even with Maps and high accuracy GPS on, the Android System would go below 10% even though it would temporarily increase to say above 20% during navigation. This morning, I thought the battery seemed ok so I enabled Lux, Dynamic Notifications, Lightflow, Automateit, Nova Launcher and restore the settings to most of the apps.
The Android System drain came back within 2 hours and hit 25% of the total battery drain. My phone's battery dropped from 100% to 40 % in less than 5 hours and the screen on time was only around 1 hour! I never did any battery intensive actions. The most was turning on the phone to check my battery and whatsapped less than 10 messages back and forth ! Since the drain re-appeared, I have turned off completely the location setting, Google Now, sync for Google Plus, auto-backup for Google Plus. I have removed all widgets and disabled Dynamic Notifications, Nova Launcher, Light Flow, Lux. The drain still remains the same at 23% or more.
This is driving me absolutely crazy and I am sick and tired of spending so much time and energy on sorting out the cause for drain (and to no avail!) I spent a lot more time on trying to fix the phone than really utilizing the phone for my benefit !! I just sent an email to the Google tech support and hope they will help instead of sending me generic self-help sheet. Thanks all for listening and trying to help. I am just really disappointed with Google this time.
Use bbs to get wakelock info.
Feedly has got to go too
Sent from my Nexus 5 using Tapatalk
rootSU said:
Use bbs to get wakelock info.
Feedly has got to go too
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Thanks for your reply. My N5 is not rooted so I do not have access to wakelock stats anymore.
I have removed Feedly but the android system drain persists.
Not a lot that can be done without knowing the cause. Consider factory reset?
Sent from my Nexus 5 using Tapatalk
rootSU said:
Not a lot that can be done without knowing the cause. Consider factory reset?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I am hoping I don have to resort to factory reset and can wait for the 4.4.3 update but I guess my patience is running out.
Thanks for your help.
My missus' LG-P880 has exactly the same problem. Just started happening one day. It seems to be wakelock locator alarms according to bbs but there doesn't appear to be any reason for it. Its been driving me mad too. Luckily tho she's rooted so using app opps i disabled Google services location and it's kinda helped
Sent from my Nexus 5 using Tapatalk
Did you try another kernel ? When I changed to franco kernel, my battery life is better.
having weak LTE signal kills the battery but it should not be this bad.
Maybe you should try a factory reset and see if the problem still persist, if not then you have an rogue app somewhere.
You can use the process of elimination.
Start with disabling Dynamic notifications and Light flow as those have high potential for battery drain.
Sent from my Nexus 5 using Tapatalk
Elias_grodin said:
I am hoping I don have to resort to factory reset and can wait for the 4.4.3 update but I guess my patience is running out.
Thanks for your help.
Click to expand...
Click to collapse
Restart your phone in safe mode, and see the battery drainage...maybe it can help you.
It seems good for me
Sent from my Nexus 5 using Tapatalk
I had this same problem the other night. Get app ops starter from the play store. In there turn location off in Google play services and android system. Note, this may impact other apps. I don't use any that I need location for so it works for me.
Sent from my Nexus 5
I had a similar issue as well. For me I turned off a couple things and it really helped:
1. Turned off Cerberus, I believe checking location too often or incorrectly or something.
2. Turned off Account sync for Play Newstand. Noticed when a sync would occur, it would hang on Newstand for much too long which I think was waking device and keeping device awake during it's long syncs. Everything else would only take a min or two total.
3. Set G+ photo sync to only sync when on wifi and charging.
4. Removed Yahoo Weather app. Noticed yahoo weather app staying alive a lot too.
5. Removed Whatsapp. Probably unnecessary really, but any of those messaging/weather/location apps that I don't use often (if ever) I removed to make sure they weren't checking location in the background.
So far, I'm at 78% battery today when I would have been at around 30-40% usually, so that combo has made a huge difference.
It's going to be different for everyone I think, but basically just make sure you don't have any excess apps checking location in the background. And at least for me there seems to be something wrong with Play Newsstand sync hanging for long periods of time.
Yea... Even i had the same issues... Latest version killes ma deep sleep mode nd also some of a rules disappeared....
I was having similar issues and was able to narrow it down to syncing Google Services...
I found that often times Google Drive would get hung up when syncing in the background and chew up my battery.
What Google Services do you have set to auto-sync? I would narrow it down to the ones you only really need to have synced in the background and have the others sync up for you when you open them.
Also, in regards to your LTE/H+ signal, have you tried to flash another radio to see if there is any improvement? A poor signal can have a pretty significant impact on battery life as well.
Lastly, as mentioned by another user, Better Battery Stats, though requiring root, will make it a lot easier to track down the culprit of the issue if it indeed a rogue app somewhere.
Try different keyboard. I've a suspicion that latest Google Keyboard is the culprit.
I was having some unexplainable with BBS (no locks, etc.) battery drain. Which can only be resolved (though temporarily) with reboot.
So, I installed alternative keyboard (Swype in my case) and using it. So far, second day I don't have battery drain.
Update
Please refer to the OP for update. Thanks all.
battery after reset
After a second factory reset, I did not install a lot of the apps which I suspect have something to do with my drain - including Swype, Dynamic Notifications, Nova Launcher, LightFlow, Task Manager, 2x battery, Lux, Notification Toggle, Dash Clock, Automateit. I have also set my location to device only with no location history and history. I have also disabled Google Now. I have not restored my photos, music and videos to the phone yet. I have disabled sync for Google Plus, Google Drive etc.. I have also disabled auto back up for Google Plus. I am on ART.
The battery life (with around 25 % left) was around 6 hours 30 minutes or a bit more but with close to 2 hours 40 minutes screen on time. The screen was the biggest draw. Android system comes in second with around 13%. This is obviously better than before where I managed to squeeze maybe a hour or 30 minutes more but with 2x battery turned on in the background. I mostly used the phone for battery checking, whatsapp, Feedly, web surfing. I played games for around 20 minutes. I was not on wifi most of the time. Is this battery performance normal?
Thanks in advance.
Replacement offer by Google
Elias_grodin said:
After a second factory reset, I did not install a lot of the apps which I suspect have something to do with my drain - including Swype, Dynamic Notifications, Nova Launcher, LightFlow, Task Manager, 2x battery, Lux, Notification Toggle, Dash Clock, Automateit. I have also set my location to device only with no location history and history. I have also disabled Google Now. I have not restored my photos, music and videos to the phone yet. I have disabled sync for Google Plus, Google Drive etc.. I have also disabled auto back up for Google Plus. I am on ART.
The battery life (with around 25 % left) was around 6 hours 30 minutes or a bit more but with close to 2 hours 40 minutes screen on time. The screen was the biggest draw. Android system comes in second with around 13%. This is obviously better than before where I managed to squeeze maybe a hour or 30 minutes more but with 2x battery turned on in the background. I mostly used the phone for battery checking, whatsapp, Feedly, web surfing. I played games for around 20 minutes. I was not on wifi most of the time. Is this battery performance normal?
Thanks in advance.
Click to expand...
Click to collapse
I have reset the phone three times. After the third attempt, the battery drain for Android System would go back up to 20% plus. By the test of elimination, I thought I narrowed down the possible culprit to Light Flow and Dynamic Notifications. I uninstalled both of them but the battery drain remained 20% plus.
Google was willing to replace my device. I asked them whether the battery drain is likely a hardware or a software issue or a combination of both. They said (to my surprise) it is hardware issue. It seems they have come across quite a number of similar cases. I always thought it was a bug within 4.4.2 or in the google apps such as Google Play Services etc. and could be fixed by a patch or something. The phone also means a lot to me as it was a gift from my gf. I just don't want to go through the hassle of replacing the device if it is a software problem but I guess I am running out of choices unless I decide to wait for the update. What do you guys think?
It's definitely not a hardware issue. If you Google it there's threads all over the place with all different makes and models of phones having the same problem and no one can figure out why, apart from it definitely seems something to do with Google services (GmsCore.apk)
Your best option is to root your phone and use app ops and turn location access off for every app that doesn't need it. (pretty much everything apart from maps and weather apps)
Sent from my Nexus 5 using Tapatalk

[Completed] My phone NEVER goes into deep sleep (Samsung Galaxy S6)

Dear all,
I am writing this post to hopefully get some help or directions regarding my issue, because I have already spent hours and hours looking on the internet trying fixes on my phone without anything working for me so far.. So I am getting a bit hopeless....
I recently got a Samsung Galaxy S6 (SM-920I model), and since the beginning i have been shocked by how CRAPPY the battery life was. To give you some ideas, my phone loses around 3-5% of battery per hour when idling and screen off, meaning I am not doing anything at all with my phone. Overnight, I lose about 15-20% battery with my phone on airplane mode, power saving, or whatever else you want, when it is not doing anything at all..
I know that my problem is a deep sleep problem, quite easy to identify i guess, so I have spent a lot of time reading and trying to fix it by myself but so far nothing worked.
To give you some background, after unpacking the phone I quickly upgraded Android from 5.0 to 5.1.1, so I cannot tell how it was working at 5.0. It is only after that I saw that a lot of people have issues on 5.1, but it is strange because just before having my S6, I was having a OnePlus One on 5.1 and I didn't have such battery problems and everything worked fine except turning off the "keep awake" setting option for GooglePlayServices.
What I can say though, is that since I upgraded I never had so much difficulties trying to fix a problem on any Android phone than before. Basically, since day 1, my phone never went a single time into deep sleep mode.
So far, to fix this, I tried all the following:
- Reflash the stock firmware (Samsung 5.1.1) --> many times, with full Cache/davik wipe and factory resets
- Root my phone using UniKernel
- Install custom ROM (I am running XtreStoLite version 2.2) + all kinds of wipe/factory reset
- Flash different kernel that are shipped with the ROM (there are 5 different ones if I remember)
- Use my phone with only stock apps (to see if the problem comes from one of my apps)
- Cold reboots
- The "DeepSleepFix" using the Android terminal as described on some forums (cannot post the link for now since I'm new..)
- And desperately, try to use my phone normally for now
Overall, I would say that my battery would last roughly 15 -20h in total with normal usage, not even heavy, which quite sucks..
I can show the no deep sleep issue easily to you with some screenshots (will put a link to the screenshots here when I have 10 posts... for now I can't..) , I have tried many applications to try to find the root cause such as:
- WLD
- 3C CPU
- BetterBatteryStats
- GSAM
etc.
I am monitoring my phone closely for the past 1-2 weeks and so far I have never seen it being in deep sleep at all (ah yes... 0.2s in total max all the time..). Also, when I check on the default Battery menu of Android, after a full day I would usually see "Android OS" on top and using 20-30% of the battery at least.
The problem seems to boil down to a process called "LHD" in the kernel wakelock. This is keeping my phone awake 100% of the time, whether I am using the phone or if I am not. However, even with this info I tried to search online and I cannot find anything about "LHD", so I am really stuck right now.. Do anybody knows what it is and why it is a problem for me?
If any of you have a solution or can give me some guidelines to help me fix this issue, I would really appreciate any help. If you need more information from me also let me know.
Thank you for taking the time to read me,
Best regards.
ImPain said:
Dear all,
I am writing this post to hopefully get some help or directions regarding my issue, because I have already spent hours and hours looking on the internet trying fixes on my phone without anything working for me so far.. So I am getting a bit hopeless....
I recently got a Samsung Galaxy S6 (SM-920I model), and since the beginning i have been shocked by how CRAPPY the battery life was. To give you some ideas, my phone loses around 3-5% of battery per hour when idling and screen off, meaning I am not doing anything at all with my phone. Overnight, I lose about 15-20% battery with my phone on airplane mode, power saving, or whatever else you want, when it is not doing anything at all..
I know that my problem is a deep sleep problem, quite easy to identify i guess, so I have spent a lot of time reading and trying to fix it by myself but so far nothing worked.
To give you some background, after unpacking the phone I quickly upgraded Android from 5.0 to 5.1.1, so I cannot tell how it was working at 5.0. It is only after that I saw that a lot of people have issues on 5.1, but it is strange because just before having my S6, I was having a OnePlus One on 5.1 and I didn't have such battery problems and everything worked fine except turning off the "keep awake" setting option for GooglePlayServices.
What I can say though, is that since I upgraded I never had so much difficulties trying to fix a problem on any Android phone than before. Basically, since day 1, my phone never went a single time into deep sleep mode.
So far, to fix this, I tried all the following:
- Reflash the stock firmware (Samsung 5.1.1) --> many times, with full Cache/davik wipe and factory resets
- Root my phone using UniKernel
- Install custom ROM (I am running XtreStoLite version 2.2) + all kinds of wipe/factory reset
- Flash different kernel that are shipped with the ROM (there are 5 different ones if I remember)
- Use my phone with only stock apps (to see if the problem comes from one of my apps)
- Cold reboots
- The "DeepSleepFix" using the Android terminal as described on some forums (cannot post the link for now since I'm new..)
- And desperately, try to use my phone normally for now
Overall, I would say that my battery would last roughly 15 -20h in total with normal usage, not even heavy, which quite sucks..
I can show the no deep sleep issue easily to you with some screenshots (will put a link to the screenshots here when I have 10 posts... for now I can't..) , I have tried many applications to try to find the root cause such as:
- WLD
- 3C CPU
- BetterBatteryStats
- GSAM
etc.
I am monitoring my phone closely for the past 1-2 weeks and so far I have never seen it being in deep sleep at all (ah yes... 0.2s in total max all the time..). Also, when I check on the default Battery menu of Android, after a full day I would usually see "Android OS" on top and using 20-30% of the battery at least.
The problem seems to boil down to a process called "LHD" in the kernel wakelock. This is keeping my phone awake 100% of the time, whether I am using the phone or if I am not. However, even with this info I tried to search online and I cannot find anything about "LHD", so I am really stuck right now.. Do anybody knows what it is and why it is a problem for me?
If any of you have a solution or can give me some guidelines to help me fix this issue, I would really appreciate any help. If you need more information from me also let me know.
Thank you for taking the time to read me,
Best regards.
Click to expand...
Click to collapse
Hello and thank you for using XDA Assist.
Sorry to hear about your trouble but we cannot provide technical support nor can other members reply to your posts here on XDA Assist. Fortunately there is an XDA area dedicated to the Samsung Galaxy S6 at http://forum.xda-developers.com/galaxy-s6 which would be a good starting place. I suggest you post your question with all relevant details in the friendly Q&A forum there at http://forum.xda-developers.com/galaxy-s6/help where the experts familiar with your device will be best able to guide you.
Good luck!
This thread is closed.

Alarmclock works while Android is shutdown?

Hello Forum,
why does my alarm clock work while the phone is turned out? What is the name of this function and how can I turn it off?
I think it uses battery, because I charged my old phone (switched off, emergency phone) a week ago and now its empty.
Thanks
Peter
peterfarge said:
Hello Forum,
why does my alarm clock work while the phone is turned out? What is the name of this function and how can I turn it off?
I think it uses battery, because I charged my old phone (switched off, emergency phone) a week ago and now its empty.
Thanks
Peter
Click to expand...
Click to collapse
Hi, what phone do you have ?
I remember this was an issue for certain phones (but that was 6 years ago lol). Your phone must be really old !
And about the battery life when shut down, how long does it last usually?
Now for the upfront solutions:
Delete the alarm you sat up.
And if you have a removable battery on this phone, removing it would have a very good effect on battery life.
Have a good one
Its an Elephone P7000. I want to charge it and use it as a secondary phone. I turn it only on when my main phone has no battery. Last month I bought a new battery for this phone, on the battery is written "production date 2015". The battery last a whole day when the phone is turned on.
I'm really interested what is running the whole time in the background when Android is turned off. Is it some kind of BIOS? Is it the bootloader? Can you give me the name of this "program"?
PS: When my Xiaomi phone if turned of, the alarm does not work.
peterfarge said:
Its an Elephone P7000. I want to charge it and use it as a secondary phone. I turn it only on when my main phone has no battery. Last month I bought a new battery for this phone, on the battery is written "production date 2015". The battery last a whole day when the phone is turned on.
I'm really interested what is running the whole time in the background when Android is turned off. Is it some kind of BIOS? Is it the bootloader? Can you give me the name of this "program"?
PS: When my Xiaomi phone if turned of, the alarm does not work.
Click to expand...
Click to collapse
A battery life thread which may help is:
https://forum.xda-developers.com/showthread.php?t=1179809
PS: I have never heard of an android phone that respects alarms when the phone is off, as android is not running But I always wondered why not, since my previous non-smart phones all did.
This App analyses the energy consumption of Android and the Apps, but that is not my problem. My problem is that the charged phone loses energy while it is turned off.
And secondly I'm really interested what is running in the background while the phone is turned off. Is is a firmeware from Elephone? I removed the original Elephone rom and switched to Cyagenomod and then to Rublix. But original Bootloader and other Elephone stuff my still be there.
I asked in a german Android forum and they said it is the fastboot function. But I think this is only a possibility of Android to boot fast when is is wakened from the watchdog I'm searching. (That the alarm clock starts immediately and not minutes after the targeted wakeup time.)
peterfarge said:
This App analyses the energy consumption of Android and the Apps, but that is not my problem. My problem is that the charged phone loses energy while it is turned off.
And secondly I'm really interested what is running in the background while the phone is turned off. Is is a firmeware from Elephone? I removed the original Elephone rom and switched to Cyagenomod and then to Rublix. But original Bootloader and other Elephone stuff my still be there.
I asked in a german Android forum and they said it is the fastboot function. But I think this is only a possibility of Android to boot fast when is is wakened from the watchdog I'm searching. (That the alarm clock starts immediately and not minutes after the targeted wakeup time.)
Click to expand...
Click to collapse
Yes, when you flash a custom ROM, all you are really changing is the system partition itself and maybe the kernel, everything else from your original firmware is still there: e.g. bootloader, modem, etc, etc..
Fastboot has nothing to do with how quickly the device boots, fastboot is a bootable function/mode used to flash/manage the device using the adb/fastboot software while booted into fastboot mode. Some devices have a feature that allows for fast booting, but that is a different animal than fastboot.
Your device has an internal clock the same as a PC does, that is how a PC keeps correct time even when the system is powered off and still shows the correct time when you boot the system. As for what is causing the battery to die even turned off, that may be a different issue than the power used by the internal clock.
All of my old devices lose charge after sitting in a draw for some time without being used, it isn't really an "issue" or problem, it is just the nature of the beast. Batteries do not store power indefinitely.
You can find out more about lithium-ion instability and the particulars of their construction and how they actually work if you do some google searches on the subject.
Sent from my SM-S767VL using Tapatalk
peterfarge said:
And secondly I'm really interested what is running in the background while the phone is turned off.
Click to expand...
Click to collapse
Are you rooted? running Magisk?
The smartphone is rooted with SuperSU.
This watchdog is more than a Bios clock. It wakes the smartphone at a given time. So the android system configures this background watchdog somehow. Maybe there are more things that it can do?
My Motorola Moto E (LineageOS) starts always with a wrong time. (WhatsApp is complaining about it at the start) So there seems to be no watchdog.
peterfarge said:
I'm really interested what is running the whole time in the background when Android is turned off. Is it some kind of BIOS? Is it the bootloader? Can you give me the name of this "program"?
Click to expand...
Click to collapse
peterfarge said:
The smartphone is rooted with SuperSU.
Click to expand...
Click to collapse
OK, if you are rooted, I would try running a boot-script that logs what is running on your phone every X minutes. If your lucky, the boot-script will log while the phone is "OFF".
something like the following maybe:
Code:
#!/system/bin/sh
top >> /sdcard/runnig_processes.log;
You may need to find a path that is actually mounted in your "OFF" state.
Also, I wouldn't keep this as a permanent thing, simply a test.
I dont think that this works. The uptime shows that the smartphone is running since 6 hours. I think if I put the script somewhere in the android system it wont be executed while android is turned off.
I have done some search. It seems that the P7000 has a Real Time Clock (RTC) in the MT6752 SOC. This chip can be configured to wakeup Android. I can see it at "cat /sys/class/rtc/rtc0/name".
There is also the charging screen despite the phone is turned off. The SOC can do a lot of things when android is not running.
peterfarge said:
I dont think that this works. The uptime shows that the smartphone is running since 6 hours. I think if I put the script somewhere in the android system it wont be executed while android is turned off.
I have done some search. It seems that the P7000 has a Real Time Clock (RTC) in the MT6752 SOC. This chip can be configured to wakeup Android. I can see it at "cat /sys/class/rtc/rtc0/name".
There is also the charging screen despite the phone is turned off. The SOC can do a lot of things when android is not running.
Click to expand...
Click to collapse
It does sound like android is not running on your phone for the phone-off-alarms, since it has a real time clock (I didnt read it, sorry).
As for the charging animation, all my phones have that too, but I think that is only the bootloader and ONLY while charging. ie connected to power, so discharging isn't an issue.
I suggested the above, as waaaay back when I modified my first phone, when I added a bunch of boot scripts that logged heavily, I *think* i was surprised when I noticed once (its back in gingerbread days) that I had logs from the start up of when I turned it off. But that was now many moons ago. It was just an idea, that shouldn't be too hard to test, even though all you have said points to it failing. And now that I think of it, the charging animation on that first phone I had, was actually PNG images (as animation frames) sitting on the android file system path; but again, that was during charging, not completely off.

Categories

Resources