Anyone know where the settings for power/sleep are? I am wondering if some of the settings in there are causing the phone to turn off instead of just go to sleep? maybe set too aggresive on CPU throttling.. or some other stuff.
Anyone every play with these?
I have root explorer and sqleditor + emulator...
Related
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.
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
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.
The Phone would be off on the table and the screen suddenly turns on for no reason, I have all automatic screen wake features off (raise to wake, notifications, etc) which I find quite bizarre.
I have looked it up on reddit and google and it doesn't seem a common problem at all.
it's surely a software issue since the device never locks itself while being used so the button cannot be defective.
Does anyone have this issue as well?
I don't have this problem, it sleeps like a baby )
I'm sure you also noticed significant battery drain while on standby because something prevents it from going to deep sleep...
What I recommend is to:
- disable auto launch for all the applications that you don't want notifications from.
go to Settings - Apps - Auto launch and disable as many as you can (I only have whatsapp enabled)
- disable system apps you don't use (check my screenshot for reference)
- Apps - Display over other apps - and set them on not allowed.
wizard8400 said:
What I recommend is to:
- disable auto launch for all the applications that you don't want notifications from.
go to Settings - Apps - Auto launch and disable as many as you can (I only have whatsapp enabled)
- disable system apps you don't use (check my screenshot for reference)
- Apps - Display over other apps - and set them on not allowed.
Click to expand...
Click to collapse
I barely have any apps with these permissions.
I heard that changing animation scale in developer options can lead to this problem in some phones? I'm not sure but I'm testing that too.
the problem is that it doesn't always happen, sometimes a whole day passes and nothing happens, and then suddenly it decides that it wants to turn itself on whenever I turn it off.
My device is draining so much battery in every app. It's kind of annoying. How do I fix that? Or can i even fix that.
Android version?
Screen on time?
shanii95 said:
Android version?
Screen on time?
Click to expand...
Click to collapse
11, and like 7h
You should check this settings:
1)Battery/More battery settings/Optimize battery use/
For every app that you don't need in background after using "close all" option set "Auto optimize".
2)Battery/More battery settings/App quick freeze
For every app that you don't want to be run by it's self in background turn option ON, except for apps like facebook, viber on any other that you need for showing messages on time.
3)Battery/App battery management
Again every app that you don't need running by it's self in background, turn off all 3 options.
4) Also check for :
*OSIE Visual effect
*Double tap to wake
*Raise to wake
All options should be off because it drain power