[Tips] Deep Sleep - LG Optimus 3D

My phone was still always awake with too much battery drain (40% only the night).
After searching i find this in the build.prop :
pm.sleep_mode=1 but after changing the number with 2 my battery recover breathe
If you have battery drain during night because your phone stay awake test it and don't forget to share your exp

loll said:
My phone was still always awake with too much battery drain (40% only the night).
After searching i find this in the build.prop :
pm.sleep_mode=1 but after changing the number with 2 my battery recover breathe
If you have battery drain during night because your phone stay awake test it and don't forget to share your exp
Click to expand...
Click to collapse
1. switch off MOBILE data transfer
2. system setting -> wifi -> advanced settings -> keep wi-fi during sleep = never
3. unsinstall tweeter, FBI (FaceBook Ing)
4. if you have e-mail program - tell it not to check for e-mails automatically but only manually
5. Instal WakeLock detector to see the program that prevent your device of sleeping.

After installing stock ICS I have encountered a battery drain from time to time. Sometimes my phone consumed battery really slow (better than on GB ROM) resulting in 50 h of battery life with 3G/WiFi always on. But there were days where battery was consumed very quickly (no more than 18 h on idle with 3G/WiFi on) and the phone was slightly warm. Reboot usually helped, but after day or two the problem was coming back.
I installed Wakelock Detector app and noticed that there is *backup* process that does not allow the phone to enter deep sleep. I entered Settings -> Backup and reset and unchecked "Backup my data". I have been testing it since yesterday but the problem seems to be gone already. Anyone who is experiencing battery drain on ICS should try this solution.

Related

Wakelocks

Any ideas on managing the wakelocks on Android and specifically on the Infinity?
I've checked the option of switching off WiFi with screen-off, but in my battery usage stats I still see that over 10% of battery is consumed by Google Services with 672 wake locks & device waked 77 times (WiFi drain itself is 13,5%, so quite OK). This is what GSam Battery Monitor shows. Android stock battery management (in Settings) shows 51% drain by Google Services and 26% by WiFi (but I believe these stats are wrong most of the time or just measure a different thing, as they show tablet inactive with 2% bar and it has been inactive most of the time actually).
I have google auto-sync on and I need it, but I still think this is too high a number. I don't get 672 e-mails daily, so these shouldn't be PUSH notifications etc.
I'm not sure if I'm the only one seeing these high numbers there?
Have you tried CPUspy for finding out how much time in deep sleep you have?
Better Battery Stats is also a needed tool to find more about wakelocks
Sent from my GT-N7000 using xda app-developers app
Yes, I'm looking at it from time to time, but thanks for this. I had some issues when I started this thread, after wipe and re-flashing new firmware it seems OK in the stats: Deep Sleep 44%, 102MHZ 16%, 1500MHz 24% (running on balanced mode, interactive governor).
I'm still curious to get to know how to manage wakelocks under Android from (low) system level however.

Wifi draining battery??

I've only had my nexus for a week now and I'm trying to hunt down the reason I'm getting poor battery life. At first it was nlp wakelocks but that went away on its own somehow. Now its my wifi draining battery, in 8 hours of idle overnight it went from 100% to 79% and wifi was the top usage. I've never seen this before on any phone with any rom so I'm not sure what to do about it.
Hi,
Try Settings/Wi-Fi/Menu/Advanced/ and untick Scanning always available...
This is what I did to improve my battery:
1. Location Services : If you are not in a neighborhood with a lot of wifi spots you will most likely feel this draining your battery life. Under settings make sure that Location Services is set to battery saving and not High accuracy.
2. Widgets : Weather widgets, games eat battery by constantly fetching information . Check the settings for these widgets and make sure they are using wifi and not updating the weather information every 30 mins or so. I keep my settings to update weather information every hour to keep it reasonable. The Gmail widget sometimes eats your battery too. I removed the widget and used an icon in the dock at the bottom to check my email. Another thing I noticed was that some widgets are just more battery intensive than others. For example I found HD widgets consumed nearly twice as much battery as Chronus on the home screen but both displayed the same information.
3. Restart your phone : Sometimes residual processes from closed apps could cause issues. Restart your phone if you haven't done it in a while and it should clear up any unnecessary things.
4. Keep wifi on during sleep : I made sure my phone uses wifi even when its sleeping. 3g / 4g eats the battery like crazy if you turn off wifi when your phone sleeps. This should be a default setting as pointed out by some users. In my case it had been changed probably when I was tinkering with the phone. You can find this setting in the Settings -> Wifi -> advanced -> Keep wifi on during sleep.
You can also use apps like Greenify , Tasker , and Llama.
5. Don't use Automatic Brightness : Turns out if the sensors are constantly looking to adjust brightness it takes up more battery. I set my brightness at around 60% and it works just fine throughout the day.
6. Use wifi over 3G/4G/LTE if possible
7. Switch off wifi when using Data: Android doesnt switch off your WiFi when you use data because Google wants you to use it for Locations and help build their database of networks.Switch off WiFi completely when using data to save a good chunk of battery.
8. Turn off Vibration on touch : Typing uses quite a bit of battery over the course of a day. Try switching Vibration on touch off.
9. Use Franco Kernel: : This will require rooting your device however it makes it a lot more power efficient.
10. Turn down the Facebook refresh rate : Make sure it updates not very often( every 3-4 hours) or never. IMO your phone is better off without Facebook or any other battery hog social networking apps.

[Q] About Battery Life

Hi,
I have a question regarding battery life of the OPO. I'm still not sure whether I have a defective battery, or some apps drains my battery like crazy (or both?). I hope you can help me with this.
In the first 2 weeks since I got it, I use my OPO for mid to heavy activities (a lot of Whatsapp, Youtube, streaming music, etc). I always start the day with 100% battery and I thought it was normal to see the battery drops to at least 20% at the end of the day. To be honest, I didn't check the battery stats in Settings even once in this time frame, and due to my heavy usage, once again I thought this was normal.
Until one night I decided to plug the charger earlier than usual, unplug it around 11pm (w/ 100% battery), then I fell asleep. I was shocked the next morning (8am) when I saw the battery has decreased to 65% with no activities whatsoever. I check the battery usage in Settings and then saw Google Play Services (GPservice) at the top of the list with 45% usage, with "keep awake" time almost identical to total time on battery. I did some research and found some advice including 1) denying GPservice abilities to "keep awake" and "wake up" via privacy guard (from this thread http://forum.xda-developers.com/oneplus-one/general/guide-google-play-services-battery-t2832525), 2) turn off location, 3) turn off sync, but none of them seems the solution to my problem. Since then, I always check the battery usage and reset it, to see if GPservice still at the top. Sadly it still there. After I reset the stats, go to sleep directly and check it about 1 hour later, GPservice uses 40% - 60% of the battery usage, draining about 6% battery / hour.
With screen on a few minutes, it easily drops to 5th or 6th place with ~7% usage, with screen and main apps I use on the 1st and 2nd place. When I googled about this using Firefox, that's when I start worrying about something else, the battery itself. With wi-fi and low brightness (less than >20% if I convert it from the slide bar), browsing with Firefox decrease the battery 1% in 2-3 minutes, no or low usage drains 1% in about 5-6 minutes. In contrast, charging increase the battery 1% in 1 minute. Is that normal? IDK, usually bad battery increasing faster when charging and decrease significantly when in use.
Please help, especially about the excessive GPservice battery usage. And if it's possible, I prefer non-root solution for it. Thanks and sorry for my bad English.
OPO - stock rom (unrooted XNPH44S)
Google Play Services 6.7.76 (reverted back to 5.0.89 factory version but things pretty much the same)
cliffflip said:
Hi,
I have a question regarding battery life of the OPO. I'm still not sure whether I have a defective battery, or some apps drains my battery like crazy (or both?). I hope you can help me with this.
In the first 2 weeks since I got it, I use my OPO for mid to heavy activities (a lot of Whatsapp, Youtube, streaming music, etc). I always start the day with 100% battery and I thought it was normal to see the battery drops to at least 20% at the end of the day. To be honest, I didn't check the battery stats in Settings even once in this time frame, and due to my heavy usage, once again I thought this was normal.
Until one night I decided to plug the charger earlier than usual, unplug it around 11pm (w/ 100% battery), then I fell asleep. I was shocked the next morning (8am) when I saw the battery has decreased to 65% with no activities whatsoever. I check the battery usage in Settings and then saw Google Play Services (GPservice) at the top of the list with 45% usage, with "keep awake" time almost identical to total time on battery. I did some research and found some advice including 1) denying GPservice abilities to "keep awake" and "wake up" via privacy guard (from this thread http://forum.xda-developers.com/oneplus-one/general/guide-google-play-services-battery-t2832525), 2) turn off location, 3) turn off sync, but none of them seems the solution to my problem. Since then, I always check the battery usage and reset it, to see if GPservice still at the top. Sadly it still there. After I reset the stats, go to sleep directly and check it about 1 hour later, GPservice uses 40% - 60% of the battery usage, draining about 6% battery / hour.
With screen on a few minutes, it easily drops to 5th or 6th place with ~7% usage, with screen and main apps I use on the 1st and 2nd place. When I googled about this using Firefox, that's when I start worrying about something else, the battery itself. With wi-fi and low brightness (less than >20% if I convert it from the slide bar), browsing with Firefox decrease the battery 1% in 2-3 minutes, no or low usage drains 1% in about 5-6 minutes. In contrast, charging increase the battery 1% in 1 minute. Is that normal? IDK, usually bad battery increasing faster when charging and decrease significantly when in use.
Please help, especially about the excessive GPservice battery usage. And if it's possible, I prefer non-root solution for it. Thanks and sorry for my bad English.
OPO - stock rom (unrooted XNPH44S)
Google Play Services 6.7.76 (reverted back to 5.0.89 factory version but things pretty much the same)
Click to expand...
Click to collapse
Definitely sounds like somethings not right, what apps do you have that access or could potentially access your location? If you're still not having any luck, as a last resort you could try a fresh install of CM11S and install your apps one by one to see if you can determine if any are responsible for sucking battery.
Give the below app a try:
https://play.google.com/store/apps/details?id=com.playfulgeeks.gservicefix&hl=en_GB
Install Gsam to see if you can gain any more insight into whats causing battery drain.
https://play.google.com/store/apps/details?id=com.gsamlabs.bbm
cliffflip said:
Hi,
Until one night I decided to plug the charger earlier than usual, unplug it around 11pm (w/ 100% battery), then I fell asleep. I was shocked the next morning (8am) when I saw the battery has decreased to 65% with no activities whatsoever. I check the battery usage in Settings and then saw Google Play Services (GPservice) at the top of the list with 45% usage, with "keep awake" time almost identical to total time on battery.
Click to expand...
Click to collapse
did you try to use this App: http://forum.xda-developers.com/showthread.php?t=1179809
there you can see which app prevents your phone from going to sleep (partial Wakelocks)
gsmyth said:
Definitely sounds like somethings not right, what apps do you have that access or could potentially access your location? If you're still not having any luck, as a last resort you could try a fresh install of CM11S and install your apps one by one to see if you can determine if any are responsible for sucking battery.
Give the below app a try:
https://play.google.com/store/apps/details?id=com.playfulgeeks.gservicefix&hl=en_GB
Install Gsam to see if you can gain any more insight into whats causing battery drain.
https://play.google.com/store/apps/details?id=com.gsamlabs.bbm
Click to expand...
Click to collapse
Maps, Google Fit, Google Now, among other things.
CMIIW but I read somewhere that GServicefix does the same like privacy guard, denying some service to keep awake, wake up, etc.
So I installed Gsam and run it about 1 hour. Interestingly in there, Kernel (Android OS) is on the top the % list with 60% usage (mostly phone in idle/sleep). When I switch sorting to Kernel Wakelocks, it shows event0-798 & event2-798 as the top 2 wakelocks with around 7000 wakelocks. I'll update in few hours, thanks.
drcyber said:
did you try to use this App: http://forum.xda-developers.com/showthread.php?t=1179809
there you can see which app prevents your phone from going to sleep (partial Wakelocks)
Click to expand...
Click to collapse
From what I read on the Play Store description, Kitkat and above requires root?
cliffflip said:
Maps, Google Fit, Google Now, among other things.
So I installed Gsam and run it about 1 hour. Interestingly in there, Kernel (Android OS) is on the top the % list with 60% usage (mostly phone in idle/sleep). When I switch sorting to Kernel Wakelocks, it shows event0-798 & event2-798 as the top 2 wakelocks with around 7000 wakelocks. I'll update in few hours, thanks.
Click to expand...
Click to collapse
Please post screenshot of gsam
Try clear cache+dalvic cache in recovery
Hi, sorry for the late reply.
It seems reboot the phone a few times solves the problem. Battery usage now seems normal when idle, even with location & sync turned on.

Terrible idle battery life after update.

Hi!
After I've updated my phone to 18.5.C.0.25 the battery life went very bad. 2 minutes writing SMS - 1% of battery gone. During night 15-20%, when the phone is doing nothing! Clean install through PC Companion, reseting to the factory settings, charging to 90, 80, 70% and then up to 100% didn't work. How to fix it? Anyone else has this problem? Stamina is on, the signal is good. What can be the problem?
Which variant are you using?
Following methods worked for me to reduce battery usage:
# clean install by flasing stock ftf using flashtool (downloaded by xperifirm)
# changing network mode from auto to gsm only (only when you don't need to use 3g/4g data)
# rooting phone, removing unnecessary apps(also some system apps and bloatwares) and managing autostart apps by allowing least number of apps to be started when system boots up
# stamina mode on > extended standby and extended usage is on (located inside the stamina option)
# turn off location service if not necessary, turn off wifi during sleep(keep wifi on only when charging), disable scanning always available for wifi, wifi optimization on
# turn off auto sync if not necessary
# remove widgets which drains battery faster by refreshing repeatedly (for example i've removed weather widget from screens)
# use auto brightness on and chose battery saving mode if applicable (lol no need to mention i guess! )
(btw, i'm using my phone with auto-rotate and wifi on all the time, now my phone provides me 2days of backup with around +/-6hrs screen on time on an average)
D2203. I have preffered 3G set, because my SIM doesn't support LTE
"# rooting phone, removing unnecessary apps(also some system apps and bloatwares) and managing autostart apps by allowing least number of apps to be started when system boots up"
I will try that
"# stamina mode on > extended standby and extended usage is on (located inside the stamina option)"
In use from the very beginning
"# turn off location service if not necessary, turn off wifi during sleep(keep wifi on only when charging), disable scanning always available for wifi, wifi optimization on
# turn off auto sync if not necessary
# remove widgets which drains battery faster by refreshing repeatedly (for example i've removed weather widget from screens)"
Done.
"# use auto brightness on and chose battery saving mode if applicable (lol no need to mention i guess! )"
I don't know why, but the brightness is very often set near maximum. Bug? The light sensor is ok (checked in CPU-Z)
The next question is, why the charging from 99 to 100% is taking so long? The next irritating fact is that the battery can stay on 99% for several hours and suddenly it's down to 92% in one minute. Is there any option to calibrate the battery gauge?
Magnum44pl said:
D2203. I have preffered 3G set, because my SIM doesn't support LTE
"# rooting phone, removing unnecessary apps(also some system apps and bloatwares) and managing autostart apps by allowing least number of apps to be started when system boots up"
I will try that
"# stamina mode on > extended standby and extended usage is on (located inside the stamina option)"
In use from the very beginning
"# turn off location service if not necessary, turn off wifi during sleep(keep wifi on only when charging), disable scanning always available for wifi, wifi optimization on
# turn off auto sync if not necessary
# remove widgets which drains battery faster by refreshing repeatedly (for example i've removed weather widget from screens)"
Done.
"# use auto brightness on and chose battery saving mode if applicable (lol no need to mention i guess! )"
I don't know why, but the brightness is very often set near maximum. Bug? The light sensor is ok (checked in CPU-Z)
The next question is, why the charging from 99 to 100% is taking so long? The next irritating fact is that the battery can stay on 99% for several hours and suddenly it's down to 92% in one minute. Is there any option to calibrate the battery gauge?
Click to expand...
Click to collapse
Well.. I haven't faced screen brightness issue like this yet, but an incompatible custom kernel can cause that, are you using any?
Charging from 99 to 100% can take upto 20mins i guess, because the last 10% is called trickle charging (or something like that) which means, the system will charge the battery in a periodic manner to ensure battery health.
Sudden drop of battery level can be caused by several different reasons, if the physical status of your battery is ok, try to find out the culprit which is draining your battery that way (you can figure it out by going power management > battery usage, here it'll show the battery consumption rate of various apps. right now i'm using CM11, last night i found that my battery was drained around 17% while staying in idle mode for around 6hrs! then i've found that the culprit was the nfc app which caused the huge battery drainage! Then i just removed nfc app (lol! ) because nfc was not working in CM11 either!)
Finally, many says that you can calibrate your your battery by discharging your battery to 1% and then re-charge it again to 100% in continuous manner and repeat this process couple of times to calibrate battery... some also say to hard turn off your phone after 100% charging by pressing volume up + power key for few seconds and then switch it on again, in that case if you find your phone battery is below 100% then charge it again to 100% continuously... But the thing I believe, if you find your phone in this situation that it shows drastically reduced battery level after phone restart, it's not any app, it's the damaged battery which is causing poor battery performance.
Thanks for reading, I hope you find this post helpful!

[Fixed] Standby battery drain

Hello everyone!
So this thread is for those guys that are still having the standby drain even after trying everything and got no help.
My Device Is not Rooted​Since last 2 weeks my device was having super standby drain and I couldn't help that.
First I thought that it was due to the battery wearing out. But I had this phone(exynos version) for around eight months and that is not enough time for the battery to drain out fast. So I started looking for the fixes in the xda threads but none of them had a mass effect on what i was suffering from.
Then I read about that app named the "Better Battery Stats".
https://play.google.com/store/apps/details?id=com.asksven.betterbatterystats&hl=en
I used this app to monitor the usage that was being done by different apps.
Most of the battery i.e 61% was being consumed by the apps that were running in the background. And the second big consumer was the android system. So as was mentioned in most of the posts what I tried.
1) Settings> Display> Resolution> Fhd to hd
2)Settings> Device Maintenance> Battery> Save Power and All apps put into always sleeping apps.
3)Setting> Connections> Location> Google Locaation History and disabled it.
4)AOD Disabled.
5)Sync Disabled.
6)Wifi> Advenced> Keep wifi turned on while sleep and set it to never.
7) Reset> Reset network settings
8) Boot into recovery and wipe cache patition
9) Reset factory data(Wipe everything).
And after doing all these steps nothing much changed my battery life since when i after resetting my phone again updated all apps from play store and resetting battery got an SOT of around 3 hours.
Then I again started searching for the problem.
I installed the accuBattery app from play store.
https://play.google.com/store/apps/details?id=com.digibites.accubattery&hl=en
And saw that phone was not entering deep sleep for hours that was causing the standby drain!
The major reasons for the drain were.
1) TOUCHWIZ HOME!
2) Google Chrome.
3) Facebook app.
To fix that I applied Lawnchair as my default launcher.
set the theme to dark. Disabled the location permission in the facebook app. And disabled google chrome.
Other settings that also helped were
Change the resolution to hd. Disable google location history.
And boom.... It worked Like a Charm....
Now to add an extra something to the battery life i switch to MID Power Saving mode. That Also helps alot when phone is not being used as it stops background data usage by apps.
Now the average sot that i get from my phone is around 6 to 7 hours.
And the phone sleeps like a baby. 5% Drain in 10h and wifi was on for the whole night. Deep sleep for 9h 41m.
PS: I use most of the time my phone for gaming and heavy usage.
Hope this will work for you guys too.
Screenshots Are attached for the proof!!
Thanks for this man
How are your notifications? I'm having a lot of trouble with delayed notifications, emails/messenger/etc just wake up when I take the phone and I don't even have to wait more than 5-10mins for what seems to be doze to kill everything.
I get whatsapp calls that I miss because the phone never receives it.
And STILL my battery life is far from great.. borderline bad I'd say. So sad
In settings go to device maintenance and hit battery you'll see an option for "always sleeping apps" enter any apps you don't want to run in the bsckground, which will probably be most of them. Saves a lot of data and a lot of battery.

Categories

Resources