Identifying perfect CPU utilization - Galaxy Note 8.0 (Tablet) General

Here are some screen shots of perfect CPU utilization with stock system and a ton of exposed modules.
What you want is OSmonitor to be at 1 and 2 about 50% to 80% of the time on the usage list, but that is more common with custom kernels. With stock, 1 and 3 becomes more common.
What causes hits to the system to keep OSMONITOR from stabilizing in the top ranges of utilization... quite simple; Modules that directly require the system to update screen or pol processes in background. In simple terms, the need for the OS to do the dirty work.
That is why I don't use Tasker, battery performance enhancements, and themed system type mods. Without them I can get 12 hours on a single charge with minimal sleep time, so by identifying how apps effect the system, one does not need to add overhead to correct, just need to do some detective work.
I noticed that Wanam modules use some CPU by poling the system. Even though there are plenty of good xposed modules, some are dirty in how they operate.
Not that they cause some overhead, but how they interact with other modules if used together.
Even if you find a nice app to do some custom work to your device, some use network connections to send data, either to play store, Google services, or to the developer site for debug or usage tracking. I suspect a bit of overhead is why network polling by such apps should be stopped if possible before dumping one or more because they hot on utilization.
One in particular is Solid Explorer. Not only I blocked ads, I had to block the app as well from background network usage. It is easy to find by looking at the usage data in network setting. If you are not using IPC$ or bothering with cloud storage, then by all means kill network usage for the app in question.
Right now, I am looking into Tunnelbear, Samsung's video player, and the stock video player on TouchWiz devices. Both do some odd things but are manageable. Mostly because I know what to expect.
Tunnelbear is now hooked to auto run when on an unsecured network. So it leaves its network service on when not used. Plus registration may stay on after closing. Very messy for programming, even through one may see the app as well made. IMO registration should turn off with the app closing. As for its network service, it should only enable when the option to auto start is enabled. A simple foresight many programmers don't see until pointed out.
Here I don't program and know better... a true programmer should know the processes inside and out before writing a line of code. Maybe resorting back to assembly will brake such programming habbits, that are easy to make with tools to plug away with in programming technique. Yep I know how to program, but I am not a programmer! It's a job that does not peak my interests.
Notice the attached images... the CPU usage will fluctuate but the CPU speeds will hold at one core enabled and at 200Mhz on stock kernel. On custom, it could be down to 100Mhz and any number of active cores depending on the kernel tweaks.

Partial fix for tunnelbear
Since I touched on tunnelbear keeping active connections for registration and network service. I was able to keep network service from being an issue, by preventing the service from running. I also prevented the quicksettings tile service from running as well. Both are not required and for my usage tunnelbear does not work well as a full vpn outside of streaming and messaging, due to the lack of multiple connection limit. So even if I wanted to have tunnelbear auto connect when connecting to a public Hotspot, I would be unable to use the VPN the way i want to.
So far the only issue is the registration service sticking in background once tunnelbear is closed.

Latest vs Older apps
Again I was forced into doing a trial and error run of older app usage vs that of newer and latest app functionality.
Tunnelbear and BBCiplayer were knocked down, for two different reasons.
BBCiplayer had difficulty with downloads completing and clear playback, as it seemed below 720i standards. Had a older good copy in my tibackup backups. That fixed one issue. As for tunnelbear... there was way too many so called improvements that I did not use. Plus having the old and dated version cleared up network service loading, as it did not hook with detecting unsecured networks for VPN auto connection. As for registration being loaded and running, it seems to be a problem since v 100 or so, and all the older ones fail to connect now. At least the registration service will close it's connections when not in ise, unlike the newer versions.
There are many other apps I will not update because of such trouble. I rather have 100% functionality with an app, than to have a bug or two plague what I expect out of it. Plus I don't need all that Facebook, Twitter, and other social stuff tied into what I use. Actually a browser is all I need for social activity if I choose. Disconnecting your devoce from social functionality and syncing. Truely releases your device from the power being consumed by these unnecessary apps, even when they are not in use.
You could freeze them, but it is more of an Inconvenience than what it should be.
At least with a browser, once your done, it's is done with its connection and you did not need the use of a background service.

Idle utilization
I performed a cpu idle during normalization usage stat after tweaking my disabled services and frozen system apps.
The screen shot was done 12 minutes after wake up, screen always on and had just hit 99% on a full charge.

Related

[Q] Android location services and GPS

Hi guys, I know that some people say to disable location services and/or GPS because they drain the battery (under Android system in battery usage). I just want to clarify. I came from an iPhone, and on the iPhone I leave location and GPS on, but as long as the app is closed, the GPS will NOT run (just that its functionality remain on) so there is no drain.
Is this the same on Android? Is it okay to leave them on but not run any location-based apps?
Bump...
It'll constantly bounce the GPS signal AFAIK, so will use it up. buuuut, on 4.4.2, you can edit your location preferences GPS accuracy etc and it tells you battery use on it. However I believe it's on perma unless you disable it totally
I wouldn't be so sure. I have GPS, WIFI, BT and all other crap 24/7 and I loose about 3% charge over about 7hrs sleep, personally I don't think it's worth bothering or lifting my finger to shut it off. Also when I drive I see my correct location on the map, after screen goes off and I need to check again few min later, the map shows my last location and it takes few seconds to update to new one. If it was working with screen off it should have been updated right away, no? At least it's working in some low power mode. I think what really kills the battery is all those push services like e-mail etc, especially when not set properly, but the best way is to test yourself.
fterh said:
Hi guys, I know that some people say to disable location services and/or GPS because they drain the battery (under Android system in battery usage). I just want to clarify. I came from an iPhone, and on the iPhone I leave location and GPS on, but as long as the app is closed, the GPS will NOT run (just that its functionality remain on) so there is no drain.
Is this the same on Android? Is it okay to leave them on but not run any location-based apps?
Click to expand...
Click to collapse
Technically 100% the same.
However for practical reasons things are not quite the same - as long as you have many, many apps and your data (WiFi and/or Mobile) active certain apps will try to connect from time-to-time, and some will try to get a location. Unfortunately Google Services is one of those, and an older version of that was generating a really huge amount of power consumption. The problem is reported to be a lot better now but I can not confirm since I am anyway keeping my data connections OFF for most of the time when I am not really using those.
xclub_101 said:
Technically 100% the same.
However for practical reasons things are not quite the same - as long as you have many, many apps and your data (WiFi and/or Mobile) active certain apps will try to connect from time-to-time, and some will try to get a location. Unfortunately Google Services is one of those, and an older version of that was generating a really huge amount of power consumption. The problem is reported to be a lot better now but I can not confirm since I am anyway keeping my data connections OFF for most of the time when I am not really using those.
Click to expand...
Click to collapse
I guess this is one of the few things that iOS is better than Android at - managing how apps run. I use Greenify to freeze inactive apps, but the limitation is that I will not receive push notifications. On iOS apps are frozen yet push notifications are functional (that's ironically the downside of iOS too - no true multitasking). I don't disable my data connections because I want my push notifications, but I do turn off GPS. :/
fterh said:
I guess this is one of the few things that iOS is better than Android at - managing how apps run.
Click to expand...
Click to collapse
Well, when coming from a situation when there was absolutely no multitasking at all (and that was successfully sold as a "feature" for quite some time) I can really see that being easier
fterh said:
I use Greenify to freeze inactive apps, but the limitation is that I will not receive push notifications.
Click to expand...
Click to collapse
I think the latest Greenify PRO version has something to improve that too. But I will have to test a lot more to see the real limits of that.

[Solved]Samsung Galaxy S5 battery drain so instantly!

Battery Saving Tips
1. Keeping mobile data (i.e., 4G or 3G) or wifi on all of the time uses battery. Ask yourself if you really need to be notified in real time about every new email, Facebook post, or tweet. If it isn't that important, then keep mobile data and wifi off until you really need it. Although most devices make it easy to toggle wifi off and on, it's a little more inconvenient to toggle mobile data with the stock controls. I like Power Toggles, which is very customizable and easy to use; another popular choice is Widgetsoid.
2. The biggest power drain is usually from the screen. The longer it's on and the brighter it is, the faster your battery drains. Adjust your screen timeout so that it turns off after 30-60 seconds of idle. Turn the brightness down to 50% or less, which is usually more than enough for indoor lighting. Automatic brightness may or may not help save battery--some think that constant sensing and screen adjustment may actually contribute to battery use.
3. Many apps (e.g., Facebook) by default will try to refresh their data on the web at certain intervals. In order to do so, they have to partially wake the device up from sleep, then try to access the web, and then refresh data, all of which uses battery. If you don't need realtime updates, you can typically change to manual refresh in the app's Settings, which prevents the app from waking up the device. For Facebook, all you need to do when you open the app is just swipe down, and your newsfeed will manually refresh to what's current.
4. Google Currents is notorious for being a memory and battery hog. Many people have reported that battery life improved significantly after changing its refresh setting to manual and/or disabling Google Currents completely. (Update 7/2014: Google Currents has since been replaced by Google Play Newsstand, which manages memory much more efficiently, without the same battery drain.)
5. Along the same lines, consider turning off the device's Background Sync. You can find the switch to turn it on or off under Settings/Accounts/Google, but it's easier to use the stock Power Control toggle or the better Power Toggles or Widgetsoid apps. Turning off Background Sync means the device is spending less time and energy syncing your Google account. If Background Sync is off, you can always manually refresh any of the Google apps within their respective menus.
6. Some apps partially wake a device up from sleep (called a "wake lock") numerous times a day to do things like trying to check the web for data updates as well as reporting location data. Install an app to detect wake locks like Wake Lock Detector. Let it run for the better part of a day, then open it and find out what apps are responsible for the most wake locks. (Update 7/2014: KitKat no longer allows apps like this to report wakelocks unless your rooted.)
7. #6 is how I discovered that Google Maps was burning up a fair amount of battery due to its Location Reporting (previously for Latitude, now used for Google+). If Location Reporting is turned on, then Maps causes very frequent wake locks to check location and report it. I don't think Latitude was that popular--I certainly didn't use it, because I don't really want other people to know exactly where I am, so I turn off Location Reporting by opening Maps, tapping Settings/Google Location Settings, and turning off Location Reporting. Note that this does not affect the ability of your apps to use your location to refine searches, for example.
8. Widgets are definitely a cool feature that makes Android unique, but some of them also contribute to battery drain--specifically the ones that need to access the web to update their information (think weather widgets). Review your widget use and remove the ones you really don't use.
9. Live wallpapers, another feature that distinguishes Android, can also use up power like crazy--typically the ones that are very graphics/animation intensive, or the ones that also access the web for information like weather. Use static wallpapers instead, but if they're too boring.
10. Vibrate uses a lot of power. Do you really need your phone to ring and vibrate at the same time? Do you really need the haptic feedback when you're typing (especially if you're using Swype-style gesture typing)? Turn off vibrate.
11. GPS is another big power-sucker. For most location-based apps, using Google Location Services (based on the wifi hotspot's MAC address or by triangulating your nearest cell towers) is enough, since it generally locates you accurately within about 100 meters. Use GPS only if you need a more precise location, like if you're driving and using Navigation. Otherwise, turn off GPS by changing the setting to "Battery Saving."
12. You never know what kinds of processes the bloatware on your device might be responsible for, but they might be contributing to battery use as well. Go to Settings/Apps/All Apps, go through the list, and disable any bloatware apps that you don't need. Be cautious that you don't disable an important system app--if you aren't sure, just post a question in one of the AC Forums, and someone is bound to know.
13. Understand how Android utilizes RAM, and resist the urge to use task killers. To understand how things work, read this article by the esteemed Jerry Hildenbrand here, as well as this guide by Ambassador extraordinaire Golfdriver97. Apps that you kill manually will often restart on their own, which in itself takes a little bit of CPU and battery power--so if it's happening hundreds of times a day, it can become significant. The main reason to use a task killer is if there is some runaway process that you know is bogging the system down and won't shut down on its own. It might still restart on its own--if the cycle keeps happening, it's probably a problem with the app, which should be uninstalled or disabled.
14. Poor cell reception kills battery, because the radio is working overtime to try to establish the connection. If you know you're going to be in an area of poor reception for a while, consider turning on Airplane Mode to temporarily shut off your cell radio. You can get some idea of how much time you're spending in an area of poor signal by going to Settings/Battery, tapping Cell Standby (if it's there), and seeing if it says how much time without signal there was.
15. If none of the above tips are helping, then try wiping the cache partition, which is the portion of memory where Android stores a lot of temporary data. It's a little different from clearing the cache of individual apps, because the cache partition also stores a lot of temporary data used by the system. You need to access your device's recovery menu in order to wipe the cache partition, and this process varies with the device, so the best way to learn how to do it is to do a web search for "wipe cache partition [your device name]."
Not really a fan of threads like this, basically they say turn the cool features of your phone off to save it's battery? Yes I still read them in case someone comes up with something interesting or innovative but generally all the same don't use some of the best features of your phone.
We're not iPhone users buy spare battery.
Sent from my SM-G900F using XDA Free mobile app
Try a custom kernel
So is there a fix for battery drain? i keep reading all these threads about basically turning off everything no your phone. my problem is i used to have everything on my phone on and still was a good 50% battery life left at the end of the day. this was with heavy use as well. a lot internet surfing, youtube, gaming, location was turned on. I was loving my battery life. Now, seemingly over night my battery is horrible. i cannot make it to the end of the day with almost no use, i now have to charge it half way through the day to get it to last me until 9 oclock or so. my battery is now at 70-80% after a couple hours with absolutely no use. any idea or fix for what has caused this sudden drain of my battery?
Personally I use apps that close apps that automatically (autorun pro is my favourite) start block ad's etc I get a good days usage from mine.
It's a compromise but I carry a spare battery as well
Sent from my SM-G900F using XDA Free mobile app
So I found out my issue was my email app. I cleared the data on it and now I'm back to having a 50% battery left at the end of a day with heavy use.
---------- Post added at 08:36 PM ---------- Previous post was at 08:28 PM ----------
So I found out my issue was my email app. I cleared the data on it and now I'm back to having a 50% battery left at the end of a day with heavy use.
Turning off all features that make a phone "smart" is like buying a luxury Mercedes and ignore all those functions and use it as if it's a cheap Chinese car! If I want to use my phone just for SMS and Call why not buy a Nokia 1100 and buy a tablet to check my emails, viber and all other apps!
I bought a Galaxy S5 to utilize those functions. Anyway, previously my phone used to drain its battery in 6 hours! by adjusting my setting to the following I could increase the battery life to 14 hours! (I know it is still low but way better than 6 hours!)
1. Decrease the BRIGHTNESS as low as possible. For casual use we do not need a bright screen! whenever you wanna check an important photo you may increase the brightness temporary. (only by this you can have extra 2 hours or more)
2. Turn off unnecessary syncs, I do not need to have my contacts synced with 10 servers! Allow your phone to sync them with only one account ( I did it for Google only and turned off Samsung acc. dropbox, ChatOn and ...)
3. Do not add so many email accounts to your phone! Just add those you use frequently ( I have 5 emails and only 2 of them are vital for me!)
4. Set your location to use wifi only, and turn your GPS on only when you want to have a turn-by-turn navigation ( built in GPS can drain you battery in less than 1 hour!)
5. Turn off Push notifications for Games. ( you do not miss anything if you attend to your games 1 hour late!)
6. Uninstall those communication apps that are not necessary, you do not need to have BBM, Viber, Line, Whatsapp, Telegram, Hulu, Wechat and ... Keep those that you use frequently (In my case I kept Viber and Whatsapp only)
7. Uninstall any Anti-virus app! The likelihood of getting malware or virus if you install apps from Google Store is almost zero, so you only allocate some RAM to an useless app for doing nothing! If you wanna have any I recommend "360 Security" as I learned it uses only 6 mb of RAM and you can turn off real time protection.
By doing the above things I could get 8 hours extra from my phone!
It also a good idea to check which apps 'Autorun' when your phone restarts. SD Maid (maybe PRO version) has an AppControl option that lets you toggle autorun on or off.

[HOW-TO][NEWBIE GUIDE] Optimize & proper set up your Galaxy S6 Edge (stock firmware)

[HOW-TO][NEWBIE GUIDE] Optimize & proper set up your Galaxy S6 Edge (stock firmware)
As I've read across this forum and on several specific threads related to usage, battery life and so on, as well as discussing with some of my friends having a S6 or S6 Edge, I realized that most of the people don't really know how to properly set up their phones or how to use them efficiently.
OK, I get it, this is a fancy phone, not every owner is a developer or tech guy so it might be that many choose it based on the looks and don't really know how to optimize it...then they start complaining about different things like lag or battery drain not knowing that most of the problems are caused by miss-usage or improper setup. Of course there are bugs too, nothing is perfect. Of course there are many firmwares available and some are market or carrier dependent so some features or settings might be missing from some of them or even work differently.
What I will try here is to provide some guidelines and tips for setting up various things on the phone in order to maximize it's battery life and for a better usage. I will also make some recommendations based on my experience, tests and usage that might not apply to everyone. Use common sense and logic to apply similar settings in your particular case. Don't come screaming that you made that or that and now something is not working.
And YES, I know there are similar guides like this posted over the Internet and I'll probably make similar recommendations here too but I couldn't find such a guide here on XDA that is particular to this phone (if there is a better one than you might as well ignore mine).
All these things I'll describe below are applicable to any STOCK, NON-ROOTED 5.1.1 firmware and won't break warranty or your phone.
Now that was a long (and maybe unneeded introduction) but I thought to write this for everyone...let's start.
Model No.: SM-G925F
Android: 5.1.1 r2 (LMY47X)
Baseband: G925FXXU2QOI7
Kernel: 3.10.61-5672012
Build date: Fri Sept 4 2015
Carrier: Orange RO
DISPLAY
First I would like to say some words about the display. We have a great display, high resolution and it is most likely the biggest battery drain factor. There are two major things about it that you should keep in mind and will help you to get a better battery:
1. It's AMOLED...that means that the black pixels on it will consume no power because are not lit. Studies showed that even if not completely black, AMOLED displays use less energy if the displayed picture is darker compared to a lighter one.
2. The brightness level. Most people use it on "auto" or high level settings and this will be a major drain factor.
You can drastically lower the battery drain caused by your screen by selecting as much as possible dark (black) backgrounds and/or themes. There are some nice ones available in the Theme Store (my favorite is the Dalkomm Coffee Theme), that make most screens and menus dark/black. Also choosing a dark wallpaper for lockscreen/homescreens will help.
Don't use screen brightness at maximum...never. You don't need that in 99% of the cases. Also you won't probably need the automatic setting either since most of the people are spending most of the time indoors (either at work or home). A low manual setting will be fine most of the time, I have it set up at about 20% and only need a brighter one when going out. At that time I just tap on "auto" and it'll increase based on ambient light level. So you don't even need to tweak it alot every time. Find a low manual setting that's fine for your eyes and just tap on "auto" when you go out in sunlight.
CONNECTIVITY
Another battery drain factor is your multiple connection/radios features. In most cases you use just several: Mobile Data, WiFi, GPS/location and BT (when applicable). That means you should turn off all the others you don't use...NFC or BT (when not connected to a headset or car-kit or not listening to music). I don't listen to music and don't have a BT headset so I mostly not using BT (just when I'm in my car) and almost never use NFC so I have both disabled and I enable them only when needed via the Quick Settings.
WiFi
WiFi should also be properly setup otherwise it'll have impact on battery. It was incorrectly assumed or considered that keeping WiFi on all the time will drain battery faster. That was proven in different tests that's not true and in fact keeping WiFi on all the time won't make a big difference and in some cases was even better than to turn it off/on. I think is something similar with the car engines that suck more fuel when started that when running at idle. The major power drain is not when WiFi is running while is not connected to any network, but when the WiFi radio is powered up. When is on and not connected, it's going into a lower power state so the battery consumption is negligible.
I had a case with one of my friends that had WiFi setup to turn off when display was off...wrong choice, he got about 30% battery drain overnight because instead of having it connected to his home WiFi, the phone was using his 4G/LTE connection to make all the background sync/updates. That was eating his battery and also his data plan. After setting WiFi to "always" his overnight drain lowered to as little as 2-3%.
In some regions/carriers there are 2 other settings that were proven to help battery life: WiFi calling and VoLTE. I don't have either of them but based on different articles and what people say, they surely help with that so don't forget to turn them off if you don't use these features.
You might also want to try turning off "Always allows scanning" and "Smart network switch". I have the second turned off but I keep on the first one. Basically the first option tell the Location service to use WiFi for locating the device even if WiFi is switched off (by the on/off switch) so that means the radio is active. Second option should make you switch faster from WiFi to mobile data in case the WiFi signal is not strong enough or fluctuating. In my country there are plenty of WiFi hot-spots and they have mostly good connections so I don't use this feature.
GPS
Well here the opinions are split but I am currently having it ON all the time and Location Service is set to "high accuracy". I personally haven't noticed such a major difference with or without it so I preferred to let it on as it is used by many apps or services. You can try to set Location to "wifi and cell only" but don't think that will bring you a major benefit.
RUNNING APPS/PROCESSES
Well this is an important one. I've initially started to turn off/disable/uninstall everything I don't need or use. This can be done mostly from the Settings - Applications - Application Manager or if you want to go further, you can install Package Disabler Pro from PlayStore, about which I'll detail later.
Now why we should do that? There are lots of apps, processes and background services running on our devices that take care about all the things we do on the device. The problem is that ALL are using resources: processor time, memory, space and so on. In the end these are translated for a user in LAG or battery drain. Of course we cannot kill everything and I learned long time ago that installing Task or memory managers on Android it's the worst thing you can do. Android it's smart enough to take care better about it's resources and processes (at least to a certain point) and keep killing a certain process won't give you more battery life but will eat more of it in the end,
What I wanted to say is you shouldn't start disabling, killing or blocking everything cause you might end up with an unstable or not properly working phone (case in which only a factory reset might help). First of all look at the ALL tab in Application Manager and try to identify what you don't need or use. For example I'm certainly not using some things like: music, books, news feeds, Samsung's keyboard (I use SwiftKey), the TouchWiz launcher (I use Nova), health services or whatever, S-Voice, S-Health, S-Finder, I don't have any smartwatches so I don't use any Gear processes, fancy device wake-up functions (like wave gestures) or animated wallpapers either.
So after all considerations above, you decided that you can safely disable some apps/processes. All good but you'll quickly learn that some of them cannot be disabled via Application Manager (the "disable" button is grayed out). Now what? Well here comes handy that Package Disabler Pro that I've told you about in the beginning. That app is able to disable ANY apps/processes on your phone, including those that are protected and cannot be disabled via the normal way (and yes it can do that without being rooted). The downside of it is that you must be careful what you choose to disable not to have something that is needed for the normal functionality or the apps you're currently using. The app has also a backup/restore function (via an xml file) for saving the list with apps you have disabled and easily import them back after a factory reset for ex. I've added to this thread my list of disabled apps as it is exported by the application (just unzip and copy the file on the root of your internal memory and it can then be imported in the Package Disabler app)
Another important thing is WHAT apps you're using. I know that socializing and social networking are some of today's most trendy things but keep in mind that some of the apps used for that are not so well made. An example could be the Facebook app/messenger which are reported to drain alot of battery. RSS feeds, news feeds, multiple weather apps or widgets, all contribute to battery drain and lag. Don't install several apps/widgets for the same purpose (like several calendar apps or weather apps). Each will take resources and won't have an added value. Want to use another weather app/widget than the one coming with the phone? Fine, install it...but don't forget to uninstall/disable the built in one or others that do the same thing. Same goes for keyboard for ex; I use SwiftKey for years and got used with it. For me it's better than any keyboard that Samsung might put on the device, therefore I've disabled the standard Samsung keyboard. I also don't like TouchWiz launcher and use Nova that offers me much more flexibility so...I've disabled both the "easy" and "regular" TouchWiz launchers. I went to the point that I've even disabled the different embedded font types, you have 5 of them and I doubt someone uses more than one at a time.
So as you all can see it's not only a matter of setup but also a matter of usage. When you have a device you have to use it properly otherwise it'll not perform as you expect. Imagine a car that has a manufacturer fuel consumption value of 5.5 liters/100 Km....that's under certain conditions not on ANY type of driving. Fly with 200+ km/hr on a highway and I'll guarantee you won't have 5.5 liters/100 km consumption. That doesn't mean the manufacturer has lied or mislead you. Same goes with a phone, if you don't know how to use it and optimize it, you'll have a bad experience.
I work in the IT industry for years and I mostly laugh when I hear someone advising somebody to reinstall the operating system to solve a problem. Same goes for "factory reset" for a phone. Yes, this method works some times but that won't solve the root cause of an issues if you're using it the same way. After several days it'll perform as bad as before and you'll just say that "factory reset" did nothing. Of course it didn't...YOU have to do something different, not the phone.
Now I apologize for the long post and I do hope that at least some will learn to better manage their devices and to understand what they're doing not just running certain commands or procedures blind. Both S6 and S6e are great devices but we should learn how to properly use them in order to benefit the most from them...otherwise we just come here asking for help or mumbling about what crap devices they are.
Thank you, I will check to see if I get an improvement on the standby battery drain.
Your part about not setting the screen to Auto is flawed. You mention that we are mostly indoors, and you don't need a brighter screen for that. Auto mode also knows that and sets the brightness lower. It already does automatically what you do manually.
Tnx. And yes....keeping screen at 20% brightness and just switching to auto when in outdoors works great for the battery life.
ArmedandDangerous said:
Your part about not setting the screen to Auto is flawed. You mention that we are mostly indoors, and you don't need a brighter screen for that. Auto mode also knows that and sets the brightness lower. It already does automatically what you do manually.
Click to expand...
Click to collapse
Not quite, I've tested it. If you're on "auto" and use a lower setting on the slidebar, in a dark room the screen is too dark, you'll have to turn off "auto" and the manual brighteness set on the same level will be much higher than on auto.
Now if you have such good eyes and you're able to use "auto" in all cases with the slider at 20% that's good for you...unfortunately I am not so that's why I use it as I've described. The point is that "auto" mode consumes MORE battery regardless of how it's set, than a lower 'manual' mode. So I preffer to have it like this than to use auto all the time.
Thanks for the awesome guide. I'll start disabling some useless processes and see how my battery life is working. Anyway without much editing the battery of S6Edge is pretty good. I can use it a whole day and still 19% remaining. As a comparison I wasn't able to do it with my S3 having to recharge it 2 or even 3 times at day.
Again, thanks for the guide!
Enviado desde mi SGS6e mediante Tapatalk

VPN keeps turning off

I've been using NordVPN on all my devices, but have always had an issue with it staying on on my OP6T, especially now that I'm running 9.0.13. I'll establish a connection and let it run in the background. However, after about 2-5 minutes, it seems to automatically disconnect. I've ensured that it's not being battery optimized, I don't have any hibernation apps running, and I'm on stock kernel. I'm rooted with magisk and running sysconfig module, but didn't know if it's supposed to affect VPN apps. Would it be better to run it through a third party VPN app? And if so, is this an issue with OOS or NordVPN's app? Normally, I'd suspect the app, but I've had issues with WearOS on OOS as well, so that's why I'm asking. I like being able to use their CyberSec feature and I didn't think it was available through third party apps. Any help would be greatly appreciated.
Hello!
This is caused because OOS is killing the VPN app. It happened to me too with a lot of apps. Maybe with some kernel tweaks or "systemizing" the apps or other tweaks you will minimize the chance to an app to be killed by OOS, but have in mind that soon or later OOS will kill your app. No matter if it's a health app, music player app or anything else. OOS will kill them even if you are using only 3GB of RAM.
For the VPN app, check if NordVPN has config info to allow you setup manually any VPN profile using IPSec XAuth or L2TP/IPSec , and set it to VPN always connected. I know this is a pain because you'll have to manually enter every config for every server you use with your VPN provider. Anyway, from time to time you will notice your connection isn't working and will be because OOS will kill even his own connection.
Welcome to the OnePlus don't kill my app club!
ducted said:
Hello!
This is caused because OOS is killing the VPN app. It happened to me too with a lot of apps. Maybe with some kernel tweaks or "systemizing" the apps or other tweaks you will minimize the chance to an app to be killed by OOS, but have in mind that soon or later OOS will kill your app. No matter if it's a health app, music player app or anything else. OOS will kill them even if you are using only 3GB of RAM.
For the VPN app, check if NordVPN has config info to allow you setup manually any VPN profile using IPSec XAuth or L2TP/IPSec , and set it to VPN always connected. I know this is a pain because you'll have to manually enter every config for every server you use with your VPN provider. Anyway, from time to time you will notice your connection isn't working and will be because OOS will kill even his own connection.
Welcome to the OnePlus don't kill my app club!
Click to expand...
Click to collapse
I guess that makes sense. When I was running pixel experience ROM, it seems to not have any of those issues. I just wanted the most polished experience and I figured OOS was always that. But I have noticed that a lot of Chinese oems tends to have pretty aggressive hibernation settings and it isn't far fetched. I just never had this issue on my OP3 back in the day and I loved OOS. But then again, I was running AOSPA a lot too and maybe that's why I didn't have this happen a lot. That kinda blows... I'm typically all about using custom roms, but with the fingerprint scanner on this one, while it is usable on other roms, I still feel like it isn't fully polished. But I'd rather no apps being killed then a perfect fingerprint scanner. I just really like the native call recording and gestures that oneplus offers natively, and I know you can do these things I'm custom roms, I just feel like it isn't executed quite as gracefully lol!
Thanks for the input! It really means a lot!
I run a VPN on my router, and connect my phone to it when I'm out and about town, or at work when I want to connect to my security cameras. I've found after a couple hours the VPN connection is dropped. I'm just using the standard VPN in the phone settings, not a special app. I've never trouble-shot the problem because it's not a big deal for me, but in this case there's no app holding it alive, just a basic phone setting.
Frankenscript said:
I run a VPN on my router, and connect my phone to it when I'm out and about town, or at work when I want to connect to my security cameras. I've found after a couple hours the VPN connection is dropped. I'm just using the standard VPN in the phone settings, not a special app. I've never trouble-shot the problem because it's not a big deal for me, but in this case there's no app holding it alive, just a basic phone setting.
Click to expand...
Click to collapse
Yeah I gotcha... I switched to OmniROM because I figured their background task management tends to be a lot better, and it is. Been running my VPN for several hours now, and I haven't had a single issue!
Observation: just now I connected VPN using standard settings feature. Was working fine. Two minutes later a call came in and I took it. After the call was over I noticed VPN was disconnected. Clearly the switch to the call caused the disconnection. Note I never set up VOLTE. I don't use the phone much...
Sent from my ONEPLUS A6013 using Tapatalk
That got fixed.
I have the same problem with OP8 Pro, don't get any OnePlus phones if you need VPN.
awdrifter said:
I have the same problem with OP8 Pro, don't get any OnePlus phones if you need VPN.
Click to expand...
Click to collapse
That because of battery optimization. If you have problem VPN disconnect of 2mins, try to set battery optimization to "don't optimize".
No, the disconnect is somewhat random. Sometimes it disconnects in a few minutes even when I'm actively using the phone. Sometimes it disconnects after about an hour, or it could be somewhere in between. I have a Samsung S8+ before, that phone has no such issue. The OnePlus phone is killing my VPN app even if I locked the app. I suspect OnePlus left some anti-VPN code that's meant for the Chinese ROM Hydrogen OS on the global ROM Oxygen OS.
I'm using Vpn to access to YouTube Music and I never have any problem.
Note: if Vpn disconnect youtube music will instantly stop.
I'm faced that problem before with Turbo VPN the connection never pass 5 mins due to battery optimization so I turn off battery optimization for specific vpn app. After that the problem never occur anymore.
Developer options>standby apps, all buckets should show as active otherwise power management is active.
When it happens check running apps and cache apps to see it you can spot what's doing it.
With Samsung's old version of Device Care I was able to find a corrupted Android Setup like this. Saved me a factory reset.
Developer options running services/cache apps is less helpful though than the former but may work.
blackhawk said:
Developer options>standby apps, all buckets should show as active otherwise power management is active.
When it happens check running apps and cache apps to see it you can spot what's doing it.
With Samsung's old version of Device Care I was able to find a corrupted Android Setup like this. Saved me a factory reset.
Developer options running services/cache apps is less helpful though than the former but may work.
Click to expand...
Click to collapse
I checked the Developer options> standby apps, my VPN app is set as "frequent", should I change it to "active"? Thanks.
Seems like some apps can be set to "Exempted", but that's not an option for my VPN app. My phone is fully rooted, is there anything I can edit to force it to be "Exempted"? Even WeChat was set to "Exempted", that's definitely not a system app.
awdrifter said:
I checked the Developer options> standby apps, my VPN app is set as "frequent", should I change it to "active"? Thanks.
Seems like some apps can be set to "Exempted", but that's not an option for my VPN app. My phone is fully rooted, is there anything I can edit to force it to be "Exempted"? Even WeChat was set to "Exempted", that's definitely not a system app.
Click to expand...
Click to collapse
I don't have the "exempted" option on my stock Note 10+. Not sure.
However the fact that you can set the bucket states in standby apps means the power management is active.
It causes nothing but trouble.
I stopped using it over a year ago and dealt with problem apps directly. Power management was contributing to excessive battery consumption as well as causing erratic behaviors.
Forget all those elegant techno explanations of how the bucket states blah, blah, blah... it screws the phone up proper
Android does quit well without it... just more useless bloatware.
Not surprising... Google will ruin anything if they screw with it long enough.
It's their nature
So I set the Battery Optimization to "Don't Optimize", my VPN app is now "Exempted" in standby apps. But it still got killed by the phone. The ROM definitely have some kind of anti-VPN code.
awdrifter said:
So I set the Battery Optimization to "Don't Optimize", my VPN app is now "Exempted" in standby apps. But it still got killed by the phone. The ROM definitely have some kind of anti-VPN code.
Click to expand...
Click to collapse
What VPN app are you using??
awdrifter said:
So I set the Battery Optimization to "Don't Optimize", my VPN app is now "Exempted" in standby apps. But it still got killed by the phone. The ROM definitely have some kind of anti-VPN code.
Click to expand...
Click to collapse
You need to disable all power management.
That's the problem, I can guarantee you.
When it's fully disabled all buckets will show as active and you won't be able to reset their states.
If you* reset a bucket state then navigate out of Developer options then reenter Standby app again the reset bucket will show as active ie it was unsuccessful.
The reason you can alter the bucket states is a software power management apk is running in the background. Find it and disable it.
It's probably the phone manufacturer apk but it could well be a Google apk (Samsung, in my case, likes to supercede Android/Google apks with their own).
Lol, I played with this a lot about a year ago...
The fact that I remember it so well tells you how much time it wasted and the aggravation it caused It's junk.
Just for giggles the worst power hog on my phone is Google Play Services. Disabling it solved many issues; I enabled as needed for Gmail, Gmaps and Playstore.
*edit, sorry for the missing "you".
SOK seila said:
What VPN app are you using??
Click to expand...
Click to collapse
Tunnel Bear
ZTE (another Chinese device) also does the same. It's frustrating as hell. My subscription to Adguard and VPNs suffer the same fate where it turns off.
I know China dislikes VPNs, but this is nuts.
blackhawk said:
You need to disable all power management.
That's the problem, I can guarantee you.
When it's fully disabled all buckets will show as active and you won't be able to reset their states.
If you* reset a bucket state then navigate out of Developer options then reenter Standby app again the reset bucket will show as active ie it was unsuccessful.
The reason you can alter the bucket states is a software power management apk is running in the background. Find it and disable it.
It's probably the phone manufacturer apk but it could well be a Google apk (Samsung, in my case, likes to supercede Android/Google apks with their own).
Lol, I played with this a lot about a year ago...
The fact that I remember it so well tells you how much time it wasted and the aggravation it caused It's junk.
Just for giggles the worst power hog on my phone is Google Play Services. Disabling it solved many issues; I enabled as needed for Gmail, Gmaps and Playstore.
*edit, sorry for the missing "you".
Click to expand...
Click to collapse
How do I force disable "buckets"?

serious battery drain on Android 10

Is anyone having serious battery drain? If so is there a fix for it!!
Not here...
Full charge at 9:00pm and by 6:00am I only see 3% drop, I don't call it a drain
(no root, latest Android Q update, location on, cell data on, bluetooth and NFC off)
Yes there is definitely higher drain on Android 10 overall.
Currently I am on AOSiP10 and getting 3-4% idle drain and about 2-3 SOT less than on AICP Pie. My friend on Stock 10 @ZeroInfinity has noticed a higher drain than Pie as well.
I'm in the process of figuring out what is causing the higher drain.
comp101inc said:
Is anyone having serious battery drain? If so is there a fix for it!!
Click to expand...
Click to collapse
No mine is about the same as with Pie (I haven't noticed any difference ... apart from once when I ran it right down I only got about 8hrs of sot (screen on time whereas on pie I'd get about 9 but it wasn't scientific not sure if I had the exact same settings).
Is an app showing high battery usage (Also use hamburger menu to show full system usage which incl standby)(might even be worth also looking at memory usage for each app under developer settings, if nothing stands out under battery for some reason). If very high usage suddenly maybe an app conflict with latest update. Or possibly even a crypto miner or some other malware. You can also check battery usage when booted into safe mode so no third party apps run.
only got around 2 to 3 hours sot after updating to Android 10
ronFenomeno said:
only got around 2 to 3 hours sot after updating to Android 10
Click to expand...
Click to collapse
Custom is always better than stock on this phone.
Wait for the AOSP ROMs to arrive and you will be able to easily get double that SOT time!
ronFenomeno said:
only got around 2 to 3 hours sot after updating to Android 10
Click to expand...
Click to collapse
I did notice somewhat higher drain on A10, but not too much to worry about. My SOT on a single charge is usually about 5+ hours. Full stock, rooted. I am using WiFi Automatic to disable WiFi when the phone is inactive, so that might be helping, not sure how much...
On AOSiP10 there is no wild battery drain.
My device sleeps like a baby.
My advice? Stay off stock Android 10 if at all possible!
CamoGeko said:
Stay off stock Android 10 if at all possible!
Click to expand...
Click to collapse
Not trying to convince anybody, but I am quite happy on stock. I used to flash custom ROMs a lot, but there is always *something* that doesn't work properly. Could be camera, audio, bluetooth, calls, sensors, whatever... So, optimized stock always seems to work better for me. Especially considering that stock on PH-1 is essentially (no pun intended ) a clean Android, I see no reason to switch. But... To everyone their own.
ronFenomeno said:
only got around 2 to 3 hours sot after updating to Android 10
Click to expand...
Click to collapse
something must be wrong, maybe old app dicta restored or similar?
The following is fairly normal for me with web browsing & social media (no gaming), I have background scanning set to off for both wifi & Bluetooth but do have an always on VPN as you can see (that battery drain is from other apps using the VPN, not just the VPN)
kt-Froggy said:
Not trying to convince anybody, but I am quite happy on stock. I used to flash custom ROMs a lot, but there is always *something* that doesn't work properly. Could be camera, audio, bluetooth, calls, sensors, whatever... So, optimized stock always seems to work better for me. Especially considering that stock on PH-1 is essentially (no pun intended ) a clean Android, I see no reason to switch. But... To everyone their own.
Click to expand...
Click to collapse
What optimizations are you using with Android 10?
I'm getting similar results just using Magisk modules: FDE.AI (plus liboemcrypto disabler for on-demand apps and updates).
Also, my phone was ported from Sprint to T-Mobile and I've only recently got a better grip on changing tower conditions with this APN guide from T-Mobile. I had redundant APNs that may have been slowing connection to changing conditions while in motion or changing towers. Support wasn't much help anytime I called. Vacationing in a rural area with limited and slow data had me looking for a better solution. Even better than before coming back home and surfing internet in a passenger car on the freeway. Deleting the redundant ones was key, I believe.
https://support.t-mobile.com/docs/DOC-2090
Sent from my PH-1 using Tapatalk
samep said:
What optimizations are you using with Android 10?
I'm getting similar results just using Magisk modules: FDE.AI (plus liboemcrypto disabler for on-demand apps and updates).
Click to expand...
Click to collapse
Actually, same here - I am using FDE.AI as well. I also use WiFi Automatic to turn off WiFi when the phone sleeps (IMO, it was a dumb move to remove that setting from Android). I am also shutting down Internet access with NetGuard to the apps that have no business with it, and limiting or removing location access to most of the apps.
On my previous devices I had to get rid of the OEM and carrier bloat, but PH-1 is using basically a clean Android, making it much leaner...
kt-Froggy said:
Actually, same here - I am using FDE.AI as well. I also use WiFi Automatic to turn off WiFi when the phone sleeps (IMO, it was a dumb move to remove that setting from Android). I am also shutting down Internet access with NetGuard to the apps that have no business with it, and limiting or removing location access to most of the apps.
On my previous devices I had to get rid of the OEM and carrier bloat, but PH-1 is using basically a clean Android, making it much leaner...
Click to expand...
Click to collapse
I haven't tried WiFi disabling in years (Juice Defender and profile apps) but I do limit apps' access to Internet with Adguard (unlocked licensed version).
I'll give the WiFi Automatic app a try and see how that goes. I have little use for WiFi outside of those saved networks that auto connect.
Thanks for the reply and suggestion.
Sent from my PH-1 using Tapatalk
IronRoo said:
something muscat be wrong, maybe old app dicta restored or similar?
The following is fairly normal for me with web browsing & social media (no gaming), I have background scanning set to off for both wifi & Bluetooth but do have an always on VPN as you can see (that battery drain is from other apps using the VPN, not just the VPN)
Click to expand...
Click to collapse
mine is just a bit weird on the battery usage. the Google play services is the highest usage on the battery but it just use running foreground for an hour. just want to clear the phone cache but it seems that it could not be cleared since my phone is not rooted
ronFenomeno said:
mine is just a bit weird on the battery usage. the Google play services is the highest usage on the battery but it just use running foreground for an hour. just want to clear the phone cache but it seems that it could not be cleared since my phone is not rooted
Click to expand...
Click to collapse
If you are sure it's play services you can just go to apps, find it & then go to "storage & cache" and clear cache or if that doesn't work clear data. (you do not need to be rooted)
However I suspect it's more likely another app is the cause as some apps will use services like location that rely on Google play services which then shows high battryr use but it is these other apps that are actually the cause as they are requesting the service. If you can't work out which tureen on developer option and look under "running services" and "memory" watch hopefully will give you a clue.
PS. You can boot to the recovery and wipe the whole cache partition from there
IronRoo said:
If you are sure it's play services you can just go to apps, find it & thin go to "storage & cache" and clear cache or if that doesn't work clear data. (you do not need to be rooted)
However I suspect it's more likely another app is the cause as some apps will use services like location that rely on Google play services which then shows high battryr use but it is these other apps that are actually the cause as they are requesting the service. If you can't work out which tureen on developer option and look under "running services" and "memory" watch hopefully will give you a clue.
Click to expand...
Click to collapse
clearing data is the last method for me. if it is possible, i would not do it.
actually, the Google play services don't play to much, the battery just drain when the screen is on. however, i have tried to clear the cache of google play service before, it doesn't help.
there is an update today, just see whether it would improve it or not. would it be the issue of the battery indicator?

Categories

Resources