Sudden battery drain (bad settings by accident) on Paranoid - LG Optimus 4X HD

Hey guys,
I'm running the Paranoid Android ROM. Since a few days I noticed a battery drop of maybe 70-75% (compared to 5-10% before) in flight mode without touching the phone once for about 9 hours.
A few days ago I took the phone out of my pocket and the screen was on and I "touched around" (notepad was opened, also contacts and my alarm clock). Do any settings in there strike you as a possible battery drainer?
In my battery stats, Android System is shown to be using like 75% percent of the battery. Now it's Google Play Services, for some reason (the play store is not turned on, neither maps, neither any sync option as far as i checked it).
I have WakeLock installed:
1013 1m 53s, x163:
--> AudioMix x163
Phone 1m 42s, x452:
--> RILJ x437
Android System, 1m 24s, x607:
--> Activity Manager Launch x233
--> AlarmManager x253
Those are the most striking. Does anything seem off to you?
Thank you very much in advance, I don't know what to do anymore!

Possible Solution
giga111 said:
Hey guys,
I'm running the Paranoid Android ROM. Since a few days I noticed a battery drop of maybe 70-75% (compared to 5-10% before) in flight mode without touching the phone once for about 9 hours.
A few days ago I took the phone out of my pocket and the screen was on and I "touched around" (notepad was opened, also contacts and my alarm clock). Do any settings in there strike you as a possible battery drainer?
In my battery stats, Android System is shown to be using like 75% percent of the battery. Now it's Google Play Services, for some reason (the play store is not turned on, neither maps, neither any sync option as far as i checked it).
I have WakeLock installed:
1013 1m 53s, x163:
--> AudioMix x163
Phone 1m 42s, x452:
--> RILJ x437
Android System, 1m 24s, x607:
--> Activity Manager Launch x233
--> AlarmManager x253
Those are the most striking. Does anything seem off to you?
Thank you very much in advance, I don't know what to do anymore!
Click to expand...
Click to collapse
I'm not sure if Wakelock does this automatically, but try manually disabling some selections to do with Play Services. I believe this is quite a common issue.
Try Settings > Privacy > Privacy Guard > Menu(3 dots top right of screen and enable "built in apps") > long press Google Play Services > Turn off Wake Up/Keep Awake if not already.
It may help, hope it does.

SorryImALittleSlow said:
I'm not sure if Wakelock does this automatically, but try manually disabling some selections to do with Play Services. I believe this is quite a common issue.
Try Settings > Privacy > Privacy Guard > Menu(3 dots top right of screen and enable "built in apps") > long press Google Play Services > Turn off Wake Up/Keep Awake if not already.
It may help, hope it does.
Click to expand...
Click to collapse
Unfortunately, paranoid Android doesnt seem to show the system apps (settings -> system -> "app permissions" (translated)). Under "app permissions" I can choose "keep active" (translated), I guess that's the original "Keep Awake". Under privacy the privacy-guard-option-area is missing, so I guess I found the equivalent menu item.
I'm trying the app WakeLock and over the night I didnt lose one percent of the battery! But I would rather like to have deep sleep without an extra app. How the hell could that happen, anyway...
Thanks for your help, I appreciate it!

Related

[GUIDE][CM9/CM10] Battery Optimization

Some of this advice is based upon our current understanding of bugs in CM9 and how to best workaround causes of battery drain until the developers are able to fix their causes. If you have suggestions for further improve this guide, please reply.
Power Saving Options
Google Talk is logged in by default.
You probably did not want this? Go into the Talk app, hit Menu button and Sign Out.
Turn off haptic feedback and touch sounds
By default the phone vibrates when you touch menu options or type on the onscreen keyboard. Vibration uses a lot of power. Sounds when you touch the screen also use a little power.
- Settings > Sound > scroll down to System
Dial pad touch tones - many users like it, others turn it off so it is silent when dialing the phone to avoid bothering other people.
Touch sounds - default touch sound is very subtle so many choose to keep it. You can save a little power if you turn it off
Screen lock sound - also subtle, I personally keep it.
Vibrate on touch - strongly recommend to turn this off if you want to maximize battery life.
- Settings > Language & input > Android keyboard > toggles to the right of it
Vibrate on keypress - turn this off to maximize battery.
Alternatively, you can make the vibration much smaller in Advanced settings near the bottom. Keypress vibration duration settings of 5ms is nice. It is a tiny reaction you can feel from pressing an onscreen keyboard button.
Turn off LED Notifications
- Settings > Display > Pulse notification light
Blinking LED notifications are nice. Unfortunately, the Epic CPU is unable to sleep while blinking the LED because it relies on software timers. For this reason, it is strongly recommended that you turn off LED notifications entirely if you wish to maximize battery life. As measured by CPU Spy, maximum CPU deep sleep can jump from 65% to over 95% with this option turned off. You can still hear the notification chime and vibration when you have an incoming message.
- Settings > Display > Pulse low battery light
You may also want to turn this off for the same reason. If you do not, the battery will drain even faster when the battery is already low.
Put Wifi to Sleep while phone is sleeping
- Settings > Wifi (touch the icon on the left) > Menu button > Advanced > Keep Wi-fi on during sleep
Strongly recommended to choose Only when plugged in. The behavior of this option is different from Gingerbread. Rather than turning off the wifi, CM9 instead seems to put it into a semi-sleep state. Data is turned off, but it can recover very quickly when needed. If you want Wifi to turn off entirely, Juice Defender Plus or Ultimate edition is capable of controlling Wifi sleep states while the screen is off. It is uncertain if Juice Defender disabled Wifi really uses less power than semi-sleeping Wifi as set by CM9.
No Signal? Use Airplane mode
- Settings > Battery > Cell standby
If your Time without signal is a high percentage, then your phone's radio is using extra power trying to find a cell tower that does not exist. If you are in rural areas with weak or no cell signal, your phone uses significantly more power as it tries to find a cell tower. Enable airplane mode in order to conserve your battery until you return to civilization.
Turn off Facebook Notifications and Background Data
In the Facebook app, hit Menu > Settings. Uncheck Notifications, and it also turns off background data refresh. This allows Facebook to fully close instead of always running in the background draining your battery and using some previous RAM.
If you want Facebook and its background service to die completely, use this procedure.
- Settings > Developer options > Kill app back button > Enable
From now on, when you are done using Facebook, hold down the Back button. This will completely kill Facebook until you run it again.
Turn off Data and Sync when you do not need it.
Different types of users
Why should your phone be busy while the screen is off?
Juice Defender - understanding the benefits and drawbacks
Reduce the number of applications that start automatically.
Apps you install will sometimes (and in most cases) have triggering events to start those applications in the background when certain events are triggered. In most cases, it is safe to disable that app from automatically triggering and instead launch that app when you want it as you normally would. By reducing the starting of applications, I have found that I also save battery because, well, my phone is doing less work and less work equals more battery.
I have seen some apps autostart even though you have disabled autostart events for that app (unclear yet why that's happening). If you find that is the case, and you want to stop it from running, try moving that app to the SD card using a program such as DroidSail along with disabling events. Why? Apps on SD cards at present do not receive the on_boot_complete event. Please note, this may break some functionality such as widgets.
In order to decide what to disable, you need to understand how you will use the app and whether you need it to run in the background. You can use an app such as Autostarts to control the startup on Android (At the writing of this it costs $1.03 USD).
When selecting apps to disable autostarting in Autostarts, stay clear of ones highlighted in Yellow as they are system apps.
- Look for these key events:
After Startup
Connectivity Changed
Other events can also be disabled but remember, by disabling events that start apps, you can be breaking the functionality that the app gives you. For example, disabling ‘after startup’ on an app such as AdAway will render the webserver that runs as part of that application to not run on boot. Be smart, but disable what makes sense.
If something doesn’t work right and you are not sure what you disabled for that app, simply uninstall it and reinstall it.
Stop syncing things that you don’t use regularly.
You can always manually sync them when you need them.
Access the menu here: Menu -> System Settings -> Accounts and Sync
For example, I use Gmail, Google Contacts, Google Calendar, and Google Browser regularly so I let that sync. I disable Google Currents, Google Docs, and Google Chrome Beta because I rarely use them. When I want to use them (once every couple weeks), I start the app and sync them manually.
Source: Cyanogenmod Epic 4G
Great guide ... congrats to Original Poster: wtogami
THANK YOU!
Re: [GUIDE][CM9] Battery Optimization
Finally, someone with a little bit of sense, even on the N4 I use most of those tips and get 2 days of battery with moderate use.
Enviado desde mi Nexus 4 usando Tapatalk
Very good man. Thank you.
What about Greenify?
underskyzx said:
What about Greenify?
Click to expand...
Click to collapse
I have been using it from a month, but I have not noticed any improvement or usefulness with Greenify
sekhar13515 said:
I have been using it from a month, but I have not noticed any improvement or usefulness with Greenify
Click to expand...
Click to collapse
Here it seems to do miracles, lots of persistent services that refuse to close (e.g Poweramp in my case) are automatically hibernated with Greenify.

[Fix/Tips] Battery drain and performance problems

Hello guys, I want to try to help everyone who has problems with battery life and performance.
First of all, I want to say that you shouldnt have any problems if you use your device in a normal way(calling ,social networking apps, playing light games etc)
A SOT of around 4-5h on mobile network or a SOT of 5-6h on WiFi is really good and in my opinion normal and you shouldnt need to worry about. Over night while you are sleeping (8h for example) your battery shouldnt drain more than 3-5%.
If you have much less SOT or much more battery drain over night, you should read the following steps and try them.
(I can tell you that my OP3 never drains more than 3-4% over night and I have no problem getting 4-5h SOT on mobile network or 5-6h or even more on WiFi use only. I have to say I dont use Facebook or twitter for example, but I have my Bluetooth always turned on because i use a mi band)
Please try the following steps and tell me if it did help you. (Please choose one option in the pool)
1. Activate doze mode and aggressive doze mode in developer options and change the animation scale
- Go into settings -> developer options -> Doze mode -> activate it
- Go into Settings ->Battery ->3 Dots Menu ->Agressive doze & app hibernation ->Tap the slider and activate for apps
- Go into settings -> developer Options -> Window Animation scale/Transitions Animation scale/Animator duration scale -> set them to .5x or even off
2. Install Greenify from Google Play Store and activate it
Activate it for every app you can, except for apps with a little blue cloud as they need to work in background to sync data. (WhatsApp for example)
3. Wipe cache after every update and from time to time (I recommend once a week)
Turn off your phone -> hold power button and volume down button -> release the power when your phone turns on -> select english by pressing the volume down button and then the power button -> go to wipe cache and data -> select cache (and nothing else!) and press the power button -> reboot now
4. Turn off potential power hogs you dont necessarily need
- For example turn off Bluetooth, GPS Location and Location history, Mobile Data if not in use, WiFi if not in use and NFC -> you can find them in settings under their name
- Also turn off things like gestures in settings: Go into settings -> Gestures -> turn them off
5. Use pocket mode
Settings -> Advanced -> Pocket Mode
6. Turn off Android Device Manager and Google Now Cards
- Settings -> Security & Fingerprint -> Device Administrators -> Android Device-Manager -> turn it off
- Open your Google App -> Settings -> Your Feed -> Turn off Feed
7. Configure your WiFi
- Settings -> Wifi -> tap the gear symbol -> turn off "Scanning always available"
- You can also turn off "Keep wifi on during sleep" but i dont recommend it as apps like WhatsApp will only receive messages when you turn your screen back on!
8. Use adaptive brightness
Use the little "A" in the dropdown settings menu next to your screen brigthness bar
9. Use a Browser that is developed for Snapdragon devices
I recommend using Gello Mod or TugaBrowser as they are developed especaily for using with a device with a snapdragon CPU to save battery -> just search for them in Google
10. Disable permissions of apps
Try disabling permissions of apps if possible. This should prevent apps from using your internet connection and staying in background keeping your CPU awake. Please be aware that some specific apps need some specific rights to work properly. Use the try and error method here.
11. If u have custom recovery installed you can use custom kernels such as ex kernel ,boeffla kernel, blu spark etc for better battery and performance.
Link to ex kernel
https://forum.xda-developers.com/oneplus-3/development/kernel-elementalx-op3-0-01-t3404879
Link to boeffla kernel
https://forum.xda-developers.com/oneplus-3/development/kernel-boeffla-kernel-xx-09-2016-t3455467
Link to blu spark kernel
https://forum.xda-developers.com/oneplus-3/development/kernel-t3404970
12.AKT are is another way to save battery and performance tweaks.(requires root)
Link to thread of AKT
https://forum.xda-developers.com/oneplus-3/how-to/advanced-interactive-governor-tweaks-t3476589
13.Have a look at this thread too
https://forum.xda-developers.com/oneplus-3/how-to/potential-fix-cpu-battery-drain-aosp-t3543369
If you follow these 10(Normal everyone can do)+3(require twrp/root) simple steps you should not have any problems with battery life or performance.
If you need any further help please ask and please share your suggestions and results!
Source one plus forums , XDA and me
This is a big guide and it's worth reading
Hit the thanks button if this helps:good:
These tips are like from 2010 which you come across random articles from web.. I thought you would post something new...
Also 3h sot on mobile network... I have used couple of phones past year never got such a bad backup on any of them..
Really stupid article.
For OB9 and above, what i have found that if you are using both greenify and aggressive doze, battery would drain like hell, Android System used to be always on top of stats with 25-30% of drain. Disabling aggressive doze and just using greenify solved this issue, and now Android System is back to normal.
pls guys, he trying to help .
if it works thanks him, if not find other tips
dont be so rude :fingers-crossed:
Sent from my OnePlus3 using XDA Labs
Wipeing is not necessary if not dump cause the phone has to build it up again and will use resources for that.
Thanks man, in my opinion, it's a good guide for beginners I'm not a beginner, I've just created a new user name
Thanks for sharing all these tips and references. As some mentioned I'd refrain or at least keep greenify as a last resort. Cheers

How do I get "lock screen cleanup" to respect exclusions?

I have tried everything I can find in the settings but apps that are excluded from "lock screen cleanup" are still closed.
I have locked them in the recent apps panel, I allow them to use background data, data saver is disabled, but regardless, the apps are always killed by locking the screen. I thought this aggressive battery behavior was supposed to be fixed in EMUI 5.
I am suffering with the same problem on my P10 where background processes are killed after locking the screen despite having set them not to close the app and its service are killed sometimes when the screen locks. Android 7.0 EMUI 5.1 VTR-L29C432B151
Is there any solution for this? - I use a Zoiper for SIP calls and it is being stopped and I am missing calls
Turning off the close option in Lock screen clean up did not make any difference but, I did see in settings -> Battery -> "Settings Gear" an option to 'Close excessively power-intensive apps' and turned it off - but not tested it long enough to see if it fixes the problem.
----- did not work
Yes, same here - missing notification from Ring doorbell, missing updates from Tile and Life360 and Withings watch not synchronising automatically... Annoying behaviour.
Ok, tried something today and so far apps aren't closing - even after a few hours. Open Settings | Apps and click the settings at the bottom. Tap Special Access | Ignore battery optimisation... Select the apps you want to keep alive by switching to "Allowed".
I also have Battery | Lockscreen Cleanup disabled for all apps and the "Close excessively power-intensive apps" option unchecked.
freitasm said:
Ok, tried something today and so far apps aren't closing - even after a few hours. Open Settings | Apps and click the settings at the bottom. Tap Special Access | Ignore battery optimisation... Select the apps you want to keep alive by switching to "Allowed"..
Click to expand...
Click to collapse
When I do that I only get a list of a few Apps, the ones I want to keep running are not included - Is there a way to add them to this list?
Tap the arrow to show Allowed or All.
Sorry for the false alarm folks. Overnight all apps were closed again, regardless of the "Ignore policy" setting...
freitasm said:
Sorry for the false alarm folks. Overnight all apps were closed again, regardless of the "Ignore policy" setting...
Click to expand...
Click to collapse
At first I thought it was working, but eventually all the apps that I needed running always were terminated and had to be restarted manually.
This bug is so incredibly annoying, is it by chance fixed in VTR-L29C432B164 - I am getting so fed up with this phone killing services that I rely on to be running all the time - I don't care if they consume more power, I just need them to keep running.
I have the same issue on P10 Lite WAS-LX1AC423B171 this is the latest firmware I could install. Driving me mental!!!!

Background app GPS recorder getting killed, howto keep it running?

Hi
My P20Pro has latest firmware and I did set battery to manage the apps manually and keep them running in background, power saving mode is off.
But it does not change anything.
e.g. app Mapillary, which takes a picture every second, is killed after 20 sec
or oruxmaps to record a gps track, is killed after 1 min max, no gps track on device.
Anyone knows a way howto run a gps logger in background all the time without the need to keep the display on with this "no display off" apps?
echelon
echeloni2p said:
Hi
My P20Pro has latest firmware and I did set battery to manage the apps manually and keep them running in background, power saving mode is off.
But it does not change anything.
e.g. app Mapillary, which takes a picture every second, is killed after 20 sec
or oruxmaps to record a gps track, is killed after 1 min max, no gps track on device.
Anyone knows a way howto run a gps logger in background all the time without the need to keep the display on with this "no display off" apps?
echelon
Click to expand...
Click to collapse
Having similar issue with Strava tracker. Latest EMUI version 8.1.0.131.
Tracking is killed after aprox 3 km of bike ride and it's unable to use tracking app. Not sure what is reason but I suspect Huawei to be killing that app without proper reason.
Already tried all settings, nothing helped yet
--
Edit: I found one setting which looks promising: Settings > Apps & Notifications > Apps > Settings (bottom menu) > Special Access > Ignore Battery optimizations > STRAVA (Or your tracking app) > "Allow"
Going to test this setting tomorrow.

Samsung m51 idle battery drain issue

Attaching the screenshots of two night battery drain.
When,
Wifi off, mobile data off, nfc off, Bluetooth off, always on display off the battery drain is 16% overnight.
When airplane mode is on the battery drain overnight is 3 %.
Not able to point out what is draining the battery.
First 2 screenshots are related to 16% drain.
Next 2 screenshots are related to 3% drain.
Something similiar was reported with M30s ( when I used it ). Seems some Samsung software glitch.
Simply use airplane mode
I feel like after installing the november patch the battery performance has gone down a bit. Also the general performance also seems to have taken a hit in my opinion.
Improve M51 Battery backup do some settings to save more battery life and observe for next 1-2 days, it will give a noticeable difference.
1. Connection>more connections settings> disable
nearby device settings.
2. Location>improve accuracy >disable
A. Wifi scanning
B. Bluetooth scanning.
3. Device care>battery power mode>select "optimised" and "adaptive power saving".
And then click on "app power management >
And enable these 2 options.
A. Adaptive battery
B. Put Unused Apps to Sleep.
4. Long press on each app specially 3rd party app(LIKE FACEBOOK, YOUTUBE) and rarely used apps and also ON "GOOGLE APP" as well, then click on>app info> go to these 3 options below on by one
A. Mobile data> allow background data usage>off
B. Battery >allow background activity >off
C. Notification disable unnecessary notifications like promotional and unnecessary reminder notifications.
5. Go to settings> privacy > permission manager > location, and check which app have accessing your location all the time and if you not using that apps much, then deny access or set as " allowed only while in use"As unnecessary location access by 3rd party app causing battery drain.
6. Go to settings > Google > on device sharing> check which 3rd party apps present there for e.g. if you use paytm, paytm will shared data to show recommendation and suggestion which also cause battery drain
7. Go to settings > account and backup> account > check which app syncing automatically there, and if any app which not necessary to auto sync then click on it and "disable sync"
8. Go to settings >apps>search "weather">click on settings icon right side > change "auto refresh" settings as per your requirements and disable some unnecessary reminder. ( due to auto refresh it continuously consuming battery)
9. If you use Facebook frequently then disable "auto And if you are mostly uses mobile, on wifi connection then also disable "auto play videos" in YouTube.
10. Google >click on 3dot at right top corner>usage and diagnostics off this option.

Categories

Resources