Getting through Doze mode with outgoing network operations - Wear OS Q&A, Help & Troubleshooting

Still quite new with Android, looking for recommendation!
I'm working on an application for the elderly with neurodegenerative aging and I'm looking to implement a solution for geofencing, alerts, SOS, and general location tracking when the participant is out of his residence. That said, with the recent restrictions on apps and services for battery and resources optimizations, I have not been able to get through with the location logging functionality.
Basically the requirement for this component (app/service) is simply to launch every 5~ minutes and log the location data in a remote database. The data is currently sent correctly while the watch is awake. Maybe I tried something wrong or this is just impossible in the end.
Here is what I tried and why it doesn't work:
- Full app with activity -> Requires user interaction and gets killed/delayed/paused by the OS
- Background / Foreground Service, launching a repeating job-> Gets delayed by Doze mode
- Alarm with setExactAndAllowWhileIdle() -> Fires through Doze, but still doesn't have network access
- Disable Doze mode with adb -> doesn't stick through watch restart and doesn't actually work with '"./adb shell dumpsys deviceidle disable"
- Request app permission to not be affected by battery optimization -> Doesn't seem to work either as the data isn't sent
Here are some possible solutions:
- OS mod to disable Doze or completely allow an app through it. Is it even possible ?
- Possible to change wake sensitivity ?(doesn't seem to wake with minimal elderly movement/walking speed)
- Somehow receive a FCM alert and pray the app has enough of 10 sec to get and send the data (there is also a limited amount on those messages)
What would you recommend, or have done in another project to get through Doze?
Links for reference:
Optimize for Doze and App Standby | App quality | Android Developers
Test and optimize your app for the power-saving features in Android 6.0.
developer.android.com
Power management restrictions | App quality | Android Developers
Understand system-imposed power restrictions.
developer.android.com
Platform Power Management | Android Open Source Project
source.android.com

Related

Some battery saving tips for Android devices

Some battery saving tips for Android devices
The Android phones are now becoming extremely popular because there are many different triangles, the app store is extremely rich to meet everyone's needs. However, there is a problem of computer users run Google's operating system or experience, which is the machine drain the battery pretty fast. In the following article, I will review a number of tips collected after a period of use to help extend battery life for Android devices. Invite you to join us to share the experience of using your right in this topic to add rich content.
Check the battery consumption of the components in the machine
By default, Android has built us a battery manager quite useful and you can access it by going to Settings> Battery (for Android devices 4.0 or higher) or Settings> About Phone> Battery use (with Android 2.x devices). Here you will find a series of computer applications listed with a percentage figure represents the energy consumption of the app. Do not just stop at the application, the Battery also provide information for us to know that the system, screen, Wi-Fi consume what percentage of battery when the phone is placed in standby mode, the stars, the mode operation, the stars. You can see this as an "observatory", where you can closely monitor your entire system.
In case you discover a number of applications drain the battery too much, we can quickly turn them off by pressing select the app, press the Force Stop button. Also in the new window opens, you will see the details of the software used to machine resources, such as CPU access applications for how long, how long GPS, the background for several minutes, the amount of data sent / received on. If you feel no need to use such software because it causes more battery power, you can remove it from the machine.
Besides, this manager also gives us a graph depicting the change of battery during use. For example, during the first two hours of machine you use to surf the web, play games, then the line will drop faster than the period for idle factory. Immediately below the bar chart is a long series tell you that the connection / items that have been enabled for how long. Some vendors, such as HTC has customized this chart more intuitive way, providing more hours should be more convenient for you when you need to track.
Switching between 2G and 3G
When using mobile Internet, we have two options: either use 2G or 3G use. Benefits of 3G, then surely you all know, it is very fast access speed, so the web browser, download the application will be completed in a short time than 2G (or commonly known as GPRS, EDGE). However, the downside is that it does 3G drain the battery very fast machine, sometimes causing market is heating up again. Therefore, if you need long time use Android devices, you turn off 3G away when not needed, just idling 2G only. For example, when browsing or searching location, load maps, we use 3G for optimal speed when not in use, the switch to the 2G network to serve the gentle features such as check email, update Facebook's announcement. Thus, the machine's battery life will be extended significantly.
To set the machine to run only 2G, Android device, you access the Settings> More> Mobile Network, select "Use only 2G networks", if you want to use 3G, then uncheck this. However, we have too many steps and gain access to this section, so I suggest you use a small widget called 2G-3G OnOff. After downloading, you perform a widget on your home screen as usual. Every time you need to switch between two types of connection, click the icon of the app, the screen immediately have the "Use only 2G networks" will appear. It will help us save a lot of time from having to manually customize.
Select chip equipment optimized for battery life
In part the battery saving things related to wireless connectivity, without configuring the software, I would like to share some of the little things related to hardware. Currently, Qualcomm is the only manufacturer to find a way to integrate components such as wireless transceivers GPS / GLONASS, 3G/4G LTE up straight in SoC (ie chips used in mobile devices, in which contains the CPU). Compared with NVIDIA Tegra SoC machines running 3/4 or Samsung Exynos - which used the chip and wireless module are separate, Qualcomm solutions help optimize battery life better. Speed ​​transceivers, cellular 3G is also enhanced, faster access speeds. Therefore, when you buy a smartphone, tablet using Qualcomm Snapdragon SoC, the level of savings and speed to excel compared to the SoC line from other companies, especially those who often have to use 3G.
Some machines use Qualcomm Snapdragon SoC can be listed today as LG Nexus 4, LG Optimus G, LG Optimus LTE II, HTC Butterfly, X HTC Desire, HTC Desire SV, SV HTC One, HTC One S, Sony Xperia T / TX, Xperia V, Xperia S / P / U, Motorola Droid RAZR HD / MAXX HD ... It also saves battery on the right side of the machine running both Windows Phone 7 and 8, which are using Qualcomm's S4 Snapdragon SoC, such as the Nokia Lumia 920, Nokia Lumia 820, HTC Windows Phone 8X, HTC Windows Phone 8S, Samsung Ativ S. ..
Refining self-synchronizing data
The automatic synchronization of data is also a factor affecting the battery life of Android devices. Automatic sync means that the software will continue to get access network information, such as when you push mail or Facebook check such notification. If you need to use it with no problems, but in case you use it at this truly is a very wasteful. Not only that but the battery as fast as it also makes the system slow down if your machine does not have a very powerful configuration. Therefore, let us manage the synchronization of Android devices by accessing each specific application, for the configuration / settings / configuration to customize them. Here I will show some typical software.
General Google Account: You access the machine's Settings, scroll down below to see the Accounts. There are many different types of accounts, select the Google line. Continue to take an email account in case the machine is logged multiple addresses, then you will see a series of tick marks to sync select content. We have: sync calendar, bookmarks / history of Chrome, contacts, Google Drive, Gmail, Google Currents, Google Photos, Google Play Music, ... If you do not like something, synchronous machine so that you uncheck travel is completed.
Gmail: run the software, click the three dots in the lower right corner of the screen, select Settings. Select the account to which you configure, looking down at the Data Usage. Here is a line called "Gmail sync is ON", touch it. In the dialog box that appears, uncheck Auto-sync app data if you want Gmail to stop auto complete email as soon as a letter just received. You can also customize each one Google account as needed.
Facebook: Facebook launches app, you click the three dots in the lower right corner of the screen, select Settings. In the Refresh Interval, select the time interval between two self-refresh app content. You can for 1 hour if used Facebook, but not the 2 hours or 4 hours is fine. Also, with Facebook, you can go to the Settings of the machine, browse Facebook in the Account text, deselect the "Contacts" app not proceed to synchronize contacts.
Yahoo Mail: This section is quite similar to the general Google account, you are also in the machine's Settings> browse to the Accounts> Yahoo. Choose to your account, if you do not want to uncheck Contacts sync contacts, uncheck if you do not want to download mail Messages as soon as it arrived.
Dropbox: Unlike the sync app is on the simple things, Dropbox allows us to upload photos automatically have snapped up on the company's servers, which is extremely convenient when you need to make a save Reserve as soon as the image is recorded. To refine this feature, you launch the Dropbox software, click the three dots in the upper right corner of the screen, select Settings. If you want to completely turn off auto upload, select Turn off Camera Upload. And if you want to sync only when there is Wi-Fi, you click Upload lines using> Wi-Fi only (also stream data plan or Wi-Fi, the download allows both 3G and Wi-Fi, but that the loss machine battery pretty fast so you might want to consider while taking). The online app store like SkyDrive, Box, SugarSync and you do the same.
Reduce unused connections
This procedure is one of those things apply across platforms, from mobile devices running Android, iOS, S40, BlackBerry, Symbian and PC. Wi-Fi connection is very useful, it helps for applications in machines, especially the networking applications such as Email, Facebook, Twitter, RSS ... work smoothly and efficiently, but also so that makes the battery faster. If you go to places where there is no Wi-Fi or Wi-Fi signal is weak, the machine detects Wi-Fi all the time, the machine drains the battery faster. So, if you do not need Wi-Fi to turn off by going to Settings, Wi-Fi gotten to the OFF. Do the same for Bluetooth connectivity, 3G. If you are currently using Android 4.2, you can quickly shut off by using two fingers to drag the status bar will show the buttons appear as shown below.
It should be noted that if you regularly use the wireless connection, the aforementioned toggle is often not a good idea. I've been testing and found that the continuous turn will make the battery faster than normal wear, and many, many technology news site also confirmed the above phenomenon. The reason for this is explained by each enable Bluetooth or Wi-Fi or 3G, the machine must use more energy to find and establish a connection. Energy consumption in the boot process is much higher than the energy needed to maintain connectivity. Therefore, if you need to use Wi-Fi or 3G more then let him thus limiting open off several times.
Adjust the screen brightness automatically
The screen is a component of the "eat" batteries in a mobile device, regardless of which machine is running Android, iOS or Symbian. Therefore, Google has applied the method to adjust the screen brightness for your operating system. This feature on activities using a sensor called ambient light sensor, usually next speaker layout or on the side of the machine, to see the brightness of the environment around the user is, from which crystals adjust the brightness of the screen accordingly. This approach has three advantages: saving battery power, energy saving manual adjustments, just to help our eyes more comfortable. If you often have to move between the brightness difference where this is extremely useful features. Once inside, the machine self-adjust the screen darkens a bit to save battery power, even when it came out way too bright on the screen for you to see better in the sun. It's convenient right?
To enable the ability to adjust the brightness on Android 4.x, go to Settings> Display> Brightness, select the check box Automatic Brightness. If you are running older Android versions like 2.3, 2.2, please go to Settings> Sound and Display> Brightness, Automatic brightness adjustment press box. You note that this option only applies to machines equipped ambient sensor ok.
Keep your phone in a cool place
Can you believe this is not related, but the real ambient temperature greatly affects the performance of the machine as well as the use of batteries. Normally, the battery works better in a cool place, and the heat for a long time that the battery power dropped away much quicker. Therefore, you should limit the phone tucked into places too narrow to avoid the sun shines directly into our time machine too long. So you just help better battery life, the life expectancy has increased for the other components of the machine.
Use the Google application "dark"
Google provides many applications for its Android operating system (such as Gmail, Maps, Google+, Music, Documents ...) and most of these applications have in common colors are white, black letters. If your phone uses AMOLED screen it is best to turn it on a black background to save battery life. Two of these displays have the advantage of being able to black out, it will turn off the pixel goes to an absolute black, the only color other then the new pixel color that glows. Whereby it will save a lot of battery when using a black background with many apps like this. So how to switch to a black background? Very easy, a modder named "rujelus22" mod to have the app on Google and convert them to black and white text background colors, all you need to do is download and install only.
rujelus22 that you can install parallel black background applications with legacy applications. But on a certain number of machines, you may need to remove the original, the new Google application installed the "black" is. You can download the application "dark" is the link: MediaFire / or update FShare add new applications in the source link of the author. Conduct a Flash file into the package or set each file sequentially. APK one.
List of Google applications have been converted to black tones:
Google Play
Google+, Gmail
Google Docs, Google Voice, Google Translate
Search Box
Google Talk, Google Reader
Google Music, YouTube
And other applications:
Twitter, Dropbox
Virtual Keyboard ICS and Gingerbread
(Excerpted from his @ TDNC: [Android] Save battery power with the Google apps dark)
Limiting the use of advertising associated software
In addition to the reasons as old as the big screen, powerful hardware to the researchers from Purdue University and Microsoft found that 75% of battery consumption on Android case related to the application by in-game ads cause. Android has a lot of free software and games, most of all we are and will insert advertising is constantly in the process we use. These ads constantly connected to the Internet and transmit that information to the Android machine becomes so drain the battery. It is so, I had previously tried a number of free applications that support the ad noticed lagging computer battery a bit faster than using the app, but is also a chargeable ( ie no advertising). Therefore, you should purchase a software license, just to support authors, both respected intellectual property law and minimize battery consumption by advertising with me, but if not then you have to take the trouble to find files information install APK format on internet such.
Stopping or removing unnecessary app
You will never know what software is running in the background if they are not managed in a coherent way through the menu Settings> Apps> Running tab. Some app seemed gone off but we really still running and continuous access to the system resources. If the app you use it often or do not say, but there are things we run up a long long time, so that a system occupied unnecessarily, to make our machines drain the battery more quickly. In this case, you should stop the application by selecting desire to take an app, press the Stop button in the process are displayed. In addition, you can also remove them completely out of the machine to not accidentally activate the app is not necessary.
The backend applications for prolonged battery life
Juice Defender
Android has many additional applications to help you manage and increase the battery life, which is a famous software called Juice Defender. It will automatically set system parameters to optimize battery life for the machine. The free version of JuiceDefender supports the Balanced and Aggressive configurations, providing limited ability to control the data connection and synchronize calendar. Plus version ($ 1.99) to expand custom configurations and more Aggressive custom calendar sync. Ultimate version ($ 4.99) has additional functions such as AutoSync (automatic sync), Screen Timeout (Romance of time off screen), Screen Brightness (Adjust the screen brightness) and many additional custom calendar at sets. If the root device, this software also allows you to control the CPU speed, GPS and switch between 2G/3G mode.
To use the free JuiceDefender is very simple, follow these steps:
At Play Store to find and install JuiceDefender installed on machines or at this link.
Running JuiceDefender select Enabled. That's it.
The second configuration is free to choose the Balanced and Aggressive. Also, the free version only manage Mobile data is connected, so in theory the Plus or Ultimate will save more battery. The management style of the free time you use the battery by about 50%
Balanced Configuration: With this configuration, Mobile data connection will be automatically switched off when the phone screen is off. Every 15 minutes, the connection will be activated to sync data (email, calendar ...)
Aggressive Configuration: Balanced Like in that the screen is off, it would automatically turn off Mobile Data. Yet another place is just 30 minutes, the connection will be activated to sync. This configuration is another place again when the battery is too low, then the connection will not be activated even when the screen is open. Maximum battery savings.
For normal users, simply enable the free version is finished. If you want more than that, you can use the Ultimate version, others will have a more detailed article on this premium version (Excerpted Saver for Android with Juice Defender my @ vuhai6)
Battery Doctor
A free app also helps us save battery management and an intuitive, Battery Doctor (download here). Its main feature is to provide relative time that you can use with current battery capacity (the accuracy of the minutes), when the principal warning or when a fully charged battery, automatically adjusts system components such as Wi-Fi, GPS, Bluetooth to save battery life by different modes: Extreme - only messaging feature called active listening, Clock - alarm clock only activities and Custom - customized according to your needs.
When you click on the battery icon in the park outside the main screen, Battery Doctor allows us to view the status of batteries, current battery capacity, temperature, battery voltage, battery technology. A chart above also allows you to monitor the energy consumption of the machine for any period of more battery power, about which little use, ...
Also, a point that I find interesting is that when using Battery Doctor to turn off the connection type, the battery time remaining will increase or decrease in an intuitive way (some minute changes expected soon ), from which you can easily decide which one should be turned off the public. It also will tell you the time relative to the full charge of your Android machine is how long.
Sony Smart Connect
There is a free software quite useful for you to shut off timer connection types, such as Sony Smart Connect (Download the Sony Smart Connect application). This application is the automatic functions perform a variety of tasks in a certain time you set, or when you connect a peripheral device to the mayAndroid her. The interesting point is that each series of actions that can be divided by "facts" are different, for example, you go to work 7 am, when the machine breaks free Wi-Fi, transfer ringtone to silent mode, and to 5 pm, the machine switches itself on the ring and Wi-Fi. It should be added that Smart Connect developed by Sony, but it can run on all Android devices of other manufacturers. I have tried to install on multiple machines HTC, LG and Smart Connect the Nexus 4 will work fine.
After you download the software, run the app Smart Connect. In the main interface, click the + button in the upper right corner of the screen, enter the name of the new event, such as "go to" for example. In the new screen appears, the item When you click on the "Add condition". Here, you can set the app to trigger events based on the hours or recommend charging / headphones recommend (with the Sony Xperia, you have a lot of other ways activated by touching SmartTag, connected to SonySmartWatch, ...). If you choose, you can choose hourly event repeats every day or some days of the week.
Next, we will set the machine will do the action sequences. In This is the result of the action will take place at the start of the event, and the "At The End" is what it will do when the event ended. As I said to the example earlier, to go to the event, you can set the Do This includes the mute, turn off Wi-Fi, 3G open, running app map. And At The End section, select the Wi-Fi open, open the bell, turn off 3G. You can apply similar measures to the machine itself off when going to sleep sound, light and time again that they open themselves. Additionally, you can place orders for Smart Connect launch a particular application, posting new status to Facebook, ... After you've installed the action series, do not forget to flip the switch to On top of the screen, while the new machine and run track events as we have to.

MIUI kills background processes and possible solution

Hi all
I discovered that MIUI very aggressively kills background processes, which are needed for Push functions. Affected apps on my device (now with Global 8.0.3.0, but also with Chinese developer 6.x.x. Haven't tested 7.x.x.) are Touchdown, KIK, Gmail, Threema and others.
Those apps don't seem to have Push correctly working, some apps get messages with several hours delay.
I allowed all those apps to Autostart in the Settings -> Permissions.
There is an option in the Android Developer Options (To enable Developer Options Settings App > About Phone > MIUI Version > Keep on tapping till it is enabled.) called MIUI Optimization, which seems to have an effect on the memory process killing, but maybe also on the Permission functions. After I disabled this option and rebooted, several apps were running, although they weren't in the autostart permitted list. It's possible though, that they were active before the reboot and MIUI restarted them after the reboot.
Source:
https://forum.xda-developers.com/re...de-redmi-note-3-sd-mtk-multi-tasking-t3358433
Turn On MIUI Optimization : This option enables a pleothora of MIUI based settings & optimizations as per the guidelines set by the MIUI developers. This setting can sometimes cause a variety of issues on non-MIUI based apps such as Google Apps & Apps from Google Playstore. Its better to disable if you rely on Google Playstore for apps & services.
With the MIUI Optimization Enabled, some users reported the following issues.
- Cannot set third-party launcher like Nova, Apex or Google Now Launcher.
- Wallpaper cannot be set using in-built options via custom launchers.
- Occasional lags, stutters or freezes while scrolling web-pages & long lists.
- Custom apps set as default restore to default MIUI apps on reboot.
- Cannot set accessibility services on reboot.
- Background apps cannot sync data.
- Music players stop playing after sometime.
- UI Animations are not synced properly.
Click to expand...
Click to collapse
I'm testing now if my mails are correctly delivered again, because that was buggering me the most. This worked fine on my old Sony Z1C and also Huawei Y6 II.
So far it doesn't seem to help though, but I'm testing a bit further.
Thanks!!!
patoberli said:
Hi all
I discovered that MIUI very aggressively kills background processes, which are needed for Push functions. Affected apps on my device (now with Global 8.0.3.0, but also with Chinese developer 6.x.x. Haven't tested 7.x.x.) are Touchdown, KIK, Gmail, Threema and others.
Those apps don't seem to have Push correctly working, some apps get messages with several hours delay.
I allowed all those apps to Autostart in the Settings -> Permissions.
There is an option in the Android Developer Options (To enable Developer Options Settings App > About Phone > MIUI Version > Keep on tapping till it is enabled.) called MIUI Optimization, which seems to have an effect on the memory process killing, but maybe also on the Permission functions. After I disabled this option and rebooted, several apps were running, although they weren't in the autostart permitted list. It's possible though, that they were active before the reboot and MIUI restarted them after the reboot.
Source:
https://forum.xda-developers.com/re...de-redmi-note-3-sd-mtk-multi-tasking-t3358433
I'm testing now if my mails are correctly delivered again, because that was buggering me the most. This worked fine on my old Sony Z1C and also Huawei Y6 II.
So far it doesn't seem to help though, but I'm testing a bit further.
Click to expand...
Click to collapse
You can also use, Push Notification Fixer from Google play. I only had the problem when using chinese rom. After switching to global, the notification a lot better
Go to the security app and inside saving battery settings and uncheck apps you don't want Miui to manage.
Done that now too, although I have already disabled the battery saver. I wonder if this will help a little, at the moment I don't get messages/notifications to my smartwatch, for example.
Hi,
This guide helped me (somehow): http://www.forbes.com/sites/bensin/...ions-on-xiaomis-miui-8-for-real/#1434cfd94e1b.
The 5 steps in short are:
Settings --> Battery & performance --> Manage apps battery usage --> choose apps --> select app that should receive push notifications and set "No restrictions"
Settings --> Permissions --> Autostart --> activate for all apps that should receive notifications
Settings --> Notifications & status bar --> App notifications --> select relevant app and activate "Priority"
In the overview of running apps/app manager lock the relevant apps (swiping down)
Settings --> Additional settings --> Developer options --> Memory optimisation --> set to "Off"
Push notifications now work perfectly on one phone (Redmi 3s with latest stock global rom stable), while i have still some troubles on another one (Mi 5s with latest xiaomi.eu stable). For the later the mail client (k9 mail) does not poll the mailboxes at the defined intervals (while k9 works fine on the redmi). Maybe also a configuration problem of k9, have no idea yet...
Regards,
gp
I have stopped using k9 because of those kind of problems. Now I use Sol Mail
EMJI79 said:
I have stopped using k9 because of those kind of problems. No I use Sol Mail
Click to expand...
Click to collapse
k9 is indeed cumbersome to the extent that you have a lot of settings and you have to apply many of them for each individual account separately. Sometimes less is more...
But once you managed that you can make use of the export/import settings function.
Most important feature for me is that all account settings are kept inside the app and can not be queried by other apps (which would be the case if the info is stored in the android account store).
Never tried Sol Mail so can't tell how this app manages the accounts...
I don't know either.
I choose Sol Mail after I had choose K9 because they offer unified view for received and sent message from every account into one single screen.
EMJI79 said:
Go to the security app and inside saving battery settings and uncheck apps you don't want Miui to manage.
Click to expand...
Click to collapse
patoberli said:
Done that now too, although I have already disabled the battery saver. I wonder if this will help a little, at the moment I don't get messages/notifications to my smartwatch, for example.
Click to expand...
Click to collapse
Ok, can now confirms that it indeed helped Not perfect, but much better.

Up to 12 hours of continual use on stock ROM!

Note... the info below is old hat... I have made a breakthrough to breaking the 10 hr barrier of continual usage. Right now it is still in testing phase, will the latest Google Services and Play Store. Will post my final addition next week or so. Stay tuned!
Yes, I just figured out what is needed to get the most out of stock 4.4.2 with the latest google services as of Jan 15th.
The key is blocking a select set of services within play store and play services.
As of recent, Google has disclosed that more integration and services will be added to the upcoming update. So i aso included disabling auto system updates.
So my list of blocked services will include everything needed to keep your device from creating more battery drain and issues later.
Posted an attached file for a disable service. The config file is to restore, and use to auto block your Google Services. Since it covers a lot of apps, it will take some time depending on how many apps you have that are in the list.
Yes, I included within the configuration file, is disabled un needed services in popular apps. They do not break or create errors. Only a few apps may loose sync or notification functionality, but can be undone within disable service by opening the apps services list and selecting the disabled service to enable it.
Known issues with apps.
Peel smart remote for S5, and for Tab, both have update info pushed to notifications. They no longer do the push through notification, which many users complain about.
Google Geofence service is disabled... no longer are you able to setup a parameter around you to set actions when leaving and entering. Also Maps and other apps that require geofence will not be able to search around your location for active people around you. Though location works just fine, so maps works pretty much like the old way of placing you where you are at, and populating the map with POI Info.
Google Network Location is disabled. Both Google Geofence and Network Location eat up bits of bandwidth and 2% of battery power per hour, no matter if they are used or not. No longer network location will assist in tracking you. Google will rely on GPS only.
Widgets on Google and stock apps, most may not function. I personally dislike widgets as they eat resources, and I can do most anything I need without widgets, and most of the time just as fast.
Google Fileapkintentoperation service, reporting, and measurement service all have been disabled. Don't report any usage back to Google. Does not break paid apps, or play store usage.
Google Sync, on every thing but Calender. Though it does not disable the ability to manually sync google apps. Just because you turn off sync manually, it still is running in background, so removing the sync services keeps things clean.
Google backup services. No need since I use Ti Backup pro
Google package verification, restore, and reschedule services have been disabled in play store. No more pushing of system updates and apk monitoring. I use norton for scanning downloaded apk files.
Some streaming apps may not remember past usage. Blocked some services that track you.
I also use prevent running to keep memory usage low, and keep background apps from running when closed.
Will post a system battery level snap shot and developer system stats to show how things are running, once my battery level hits 5%
7.5 hrs and 19% battery left
Ok, I can assume with certainly, I can get 9.5hrs of continuous battery time from a single charge.
I tested with screen brightness set at auto, 1 hr of Miracast play back of a 720p video, 1.5 hrs of Miracast playback of two streamed shows from channel apps, 1 download of a 1.2gb torrent file, 1 movie download using vpn and channel app. Used Chrome Dev, Outlook and a few minor instances of other apps. Along with a 10 minute test on sleeping and a 10 minute hibernation, to verify no issues popped up with services disabled.
Here is my 7.5hr battery stats and developer apps stats...
12.5 hours always on moderate use
Yep, I get 8% battery use per hour with an mix of light app use. Mind you, most all apps I run are not memory resident. As Google and internet pros have led end users into believing that cached and background apps save on power and speed up multi tasking. Bah!
I did not have the time to run my device a full 9.5 hours in my test initially. So i had to cut short and use data to extrapolate that shutting down background un used services and killing cached and background apps have made an 8 hr device into a performance monster that does not eat battery power to do so.
Since then I have recharged and will try a test run with minimal screen time off and random sparatic app use. My calculations are 12.5 hrs max. Given the 8% per hour discharge with screen in auto brightness mode, power may increase as the environment brightens up.
I assume if using power save mode, having blocking mode on, and with grey scale enabled, my device could achieve 15 hrs always on run time. The only real way to break the 15 hrs always on run time would be to go into airplane mode or and have the display turn off when waiting, but never sleep.
This is all based on a 1% every 10 minutes discharge rate to be able to keep above 15 hrs constantly on run time.
Oops! Forgot to add
I don't reboot much, but realized some may shut down or reboot time to time. If a reboot is done one key component resets time to time on a reboot. Just go back into disable service and open google play services and search for injector. You will see two, but one may be disabled. Just disable the active one and It will take care of the Google services that had started in background. If both are active, something got reset in play services that helps re enable the injector service. You can restore the disable service backup and it should clear up any reset services. Though it will change what services you changed in apps that you needed a service to run. So be sure once you make a change, to back up, so if you need to re apply my play services settings after a restart, it won't undo any of your changes.
As an update... I do get 1 hr of use per every 8% of battery. It took a few discharges and full recharges to have the device recalibrate after doing my disable service setup to kill services not needed and Google play services that eat battery and performance.
I have done a few changes, but they seem to make a minor significance. Once I am done playing around with some tweaks and verifying, I my post an updated config backup, if they turn out to be improvements.
DELETED
======#Deleted#======
Update... 12 to 10 hours continual use on a single charge!
Yep I was board with Saturday Daytona rain... so what better to test my latest tweaks with the latest Play Store and Play Services.
Had to do a bit of digging, as there are many more services that I don't need but may come in handy later... like Google Pay, Ha! ? what a joke! Well actually with every freaking iteration of Google's services and Play Store, one hopes they don't muck up the mess by fixing, or hosing something you expect to run smoothly and efficiently. There is more to it than just way too many services running in background. It's about how the services run cleanly and not become a load when not used.
Well here it is... over 54 services killed in my list! With only one issue... Maps when promptly closed will error, but it is a visual annoyance if anything. So, don't close Maps before it runs for 30 seconds, or you will error closing.
Also don't try and send error reports or debug info, as they are not going to happen!
For the most part manual syncing within google and tied in apps are intact, but most all auto syncing is disabled.
Will post my latest and greatest DisableService backup config for everyone's use, once I go over a few test runs with reboots and other what nots.
Remember to kill History Injection Service manually after each reboot or wait for the reapplication of the backup config to complete.
Finally I see all the speed and battery improvements that KK once touted as major improvements over JP. It was a crying joke that lasted till now.
Only if Google and Samsung would make a tablet work as a tool not a smart phone, then the benefits of using a tablet for intensive tasks will out weigh getting by with ones pocket phone. This is what students need for their devices to be a 100% duty cycle device under high demands during a days use. No tablet can match that while being forced waist battery and resources for Google analytics, tracking, and social media tie in. Tablets are tools not some monkey device that most peeps have in their pocket!
Almost done!
11.5 hrs is currently obtainable on continuous use on a single charge, without Tasker, any battery apps, and greenify. With overlay disabled and forced GPU acceleration. Both are battery draining options, that nobody will enable when going for extending battery times.
I am trying my best to keep PlayServices down to 15% at device idle. It seems that the kernel with play framework will use 5% no matter what I do. Right now the bottle neck to obtain 12 hrs is what version of PlayServices you use.
I am not going to mess with testing each iteration of play services to get 12 hrs of continuous battery use on a full charge.
To obtain the best battery consumption, one may want to tweak their network by use of a sysctl.config file or shell script to run in init.d or smanager. I find ports waiting to end or close will eat at the battery by how the network or should i say by PlayService's active polling.
I find terminating after 45 seconds of waiting instead of 15 minutes more beneficial to longer battery time. As a wee cpu hit, it is not bad, but it compounds cpu hits by making throttling push the cpu at higher levels than without the polling of closed port termination.
You can watch what i explain when watching cpu performance, by turning on block background data while running a few apps, and comparing to the same apps while block background data is disabled. CPU stats will level off faster and be less prone to hit higher speeds when throttling.
As with my original statement, you will need to kill the locationhistoryinjector service as Google PlayServices will enable it at every boot. It Is a key component to find my mobile and device manager.
My config files disable device manager and find my mobile, along with tracking and Google background data.
What you end up with is a cleaner android that is mostly disconnected from Google, yet able to function better and use paid for play apps without issues, outside of some options tied to google services.
I included my app ops config along with my other updated configs. You will need to remove the .txt extension from the prevent.list and move it in the sdcard/android location for the piebridge app files folder.
Done
I removed all previous attachments on my config backups and posted the latest config backups that kill most of Google's chimera functions within android without breaking play store. All services in regards to NFC, Google Security, network location, automatic background sync, and system usage monitoring have been either disabled or hindered, to eliminate performance degradation and battery consumption.
What you get is a sleek fast running OS, that rivals any custom kernel. Believe me, I used what's available here for mods, and found through trial and error, the best method in keeping overall functionality is to slim things down by using the three apps I have configured.
Most feel what is the point to all this... well disabling features in settings, does not stop google from running the services in background. They run and are tied into other services you may use. Once manually disabled, you may find a service you use fail because it relied on the background service google uses to track and monitor. It is not a matter of killing your favorite app, it is a matter of using an app that does what you need privately and without need of so many background services hogging up resources. Google apps are not the best, just give you options in one package, which some like as to being simpler than having to switch between apps.
I may not be as fast as a custom kerneled device running at 1920mhz or throttled down to 100mhz with profiles enabled, but in all aspects to smoothness and overhead generated by kernel manager apps, greenify, Tasker, and amplify... what gains with customization are lost, compared to what you find in my simple yet very effective method to free your device from Google's constraints.
To be secure in apk installation I use Norton, by unfreezing it before installing apps. Then freezing when done.
For device security, I recommend what ever 3rd party apk meets your needs. As you cannot trust google or samsung with device management. You may find a paid app to perform the job, as most free ones will tie into Google's management or location api system, and fail to function. They must use their own set of services, to hook to existing features not Google's services api.
As for NFC this device has none, so it is a mute issue. Syncing of tied in Google services for social and messaging apps, deal with it... your phone should be primary for syncing. It only takes a quick pull down to sync if you are busy within an app or multi tasking.
One last update
I removed another set of backup configs.. luckily nobody got to them as they were intentionally placed a few replies previously. I do such things to keep peeps on their toes as to know what they are doing by actually reading first!
So... what prompted my change was my error log on certain functions and booting.
Made a wee change to clean up errors without loosing performance or battery gains from my weeding out services and background processes.
Also somewhere in my configs a while back locstionhistoryinjector stays disabled. So this Is a set it and forget it deal, no searching for the blasted service to disable after each reboot.
Alright here are my backup config files along with my frozen apps in screen shots. Missing are... ringtonesbackup and a number of widgets that were permanently removed. Also I have included other side loaded apps that are not part of our stock firmware.
Here is a wee trick nobody talks about... when you shut down or reboot, turn on airplane mode before you do so. Reason being, when the device starts up, it will only take 3 minutes from boot to home screen to fully recover into system idle. Once system is in idle, turn off airplane mode. It helps with less lag and a few apps from trying to gain network access during boot, and slowing down system boot tasks. Once network is operational from disabling airplane mode, the apps in my prevent run list will not wake for network access, until launched. Pretty cool beans, aye!
Also as another trick, because play store sends data when removing apps, I recommend using TouchWiz app removal in the app drawer to remove apps, as it does not send data to do so. Ti Backup does good as well, but depending on its settings may communicate with play store to update play store info.
Currently you can have up to 15 hrs of continuous run time with wifi and screen on during idle. Though I imagine about 2 days worth of mp3 playback time when screen is left off, as a player only, and no other app like Dolby Audio to tweak compressed audio.
In my previous reply i found some errors, and removed some attachments.
I have replaced my disable service backup config with a super modified one that give superior operation by removing tap and pay, fit, NFC, proximity, wearable, and allowed some main sources of required services to run, but made the secondary services associated with them disable, to make the primary service ineffective and keep polling down.
I assume either wearable or health have been a major cause to battery drain since KK was introduced. If you look at the txt file, there are about 100 sub services within the play services service that I disabled. 2x as many as I provided before.
Even though some of the services i have tried to combat from effecting the performance and optimizing battery for longer use, the few I had removed being blocked from running, don't seem to have much effect when their codependent services are disabled.
So, what I get is.. OS using 3% to 4%, Android system 2% to 3%, and screen using 94% to 95% of battery power at idle while the screen is on, and waiting for activity.
Though i will have to redo my screen shots for frozen apps, as i had used a testing config for frozen app effectiveness.
Some apps like Google contacts sync must be removed, as It is an evasive sync service. Samsung is not that way with all of its sync services.
What my super modified file does, is unleashes Android 4.4.x power of operation. For the first time with KK, I have eliminated stuttering and multitasking is more like what it should be with background apps or media being ran during tasks. It is the closest thing to running naked KK, but you have full ability to operate paid for apps and apps that require the latest play services.
so may i know what are the detailed steps in order to enjoy this battery trick? rooted device with xposed?
yweising said:
so may i know what are the detailed steps in order to enjoy this battery trick? rooted device with xposed?
Click to expand...
Click to collapse
Yep, I had to root my I467 with kingo root with a PC connection and install super su before removing kingo root.
I will post a revision to my settings soon. I found that I over did keeping google services from starting. So my new method is minimized to allow most all newer technology work. The only big things I killed are Chrome cast, as it is huge and really eats up battery. Thank god for Samsung ' s method to make miracast a user enabled service, not a constantly running one. Geofence and geocode as they are always running as well, and have little use for daily activities. I would think virtual gear Wil need it, but i live my life in the real world around me.
Again, I killed system updates, and some automated sync services that run constantly no matter if you have them disabled in the account.
The only drawback is maps will error if you don't wait for location to lock and the app has been running less than 30 seconds. Plus Network location will always be disabled.
I am finding my latest settings to be best all around.
Will post them by the end of the week.
I have made my disable service less restrictive as the main culprits to battery drainage can be stopped and kept from running without need to add more to the list on google services.
You will not be able to use geo code or geo fence, device manager, nearby services as Samsung's services are better and dont eat battery when not in use, apk ad and anyalitics, self update, chrome cast as it runs and consumes battery even if you dont connect, location history and sharing, network location, place detectioh, and some internal reporting services, along with some sync options in account... but you will still be able to auto sync gmail, photos, drop box, calander, and contacts.
It allows for the most robust google services to still be active, such as fit, wear, notifications, internal messaging system and tap and pay.
You go from over 8 minutes of activity after reboot down to 2 to 3 minutes of cpu activity depending on what apps you run and allow to load in memory.
Just download disable service from the play store, restore the backup file from the internal sdcard and wait for confirmation.
You will need root!
Xposed has two modules that I like to use both backup files are in my previous reply, a few back. I suggest after installing prevent run, to go into the android folder and find the piebridge folder near the bottom and place the backup there, and remove the txt file extension. Once you reboot to activate the xposed module, the app will see and load the backup, before replacing when you change the settings.
Closest to making google services not eat battery
yweising said:
so may i know what are the detailed steps in order to enjoy this battery trick? rooted device with xposed?
Click to expand...
Click to collapse
Here my last option to rid battery consumption.
I blocked most all of the internal services that deal with sending data back to google. A revised plan that started with killing the major services first instead of attacking bleeders as in pruning twigs from a branch. I went after the big branch first. So I was able to do more than before in smoothness and least amount of battery drain.
I think I left all the automatic sync still intact, as the reporting branch was more a problem, along with GMS services. Then intents to enable the services, and some upload syncs to kill off 90% of the reporting all together.
The only reports back are analytics and GCM with some GMS tied in. Google Mail and Maps function, but network location, places and geofence features are broken. Mainly because they leak data all the time.
The reason I had to attack my google services deeper, is because History Channel app needed some anti jitter done, as the new app would show a skip every so many seconds of play back.
i managed to flash back to 4.2.2 yesterday, will test it for few days after few cycles of battery charge. might test your backup file if it still cant stand for 6hrs.
wanna get better experience + faster tablet?
just flash CM13.0... I couldn't be happier with my Note 8.0...
samsung's KK is EOL already and slow.... many apps are incompatible anymore....
Crescendo Xenomorph said:
wanna get better experience + faster tablet?
just flash CM13.0... I couldn't be happier with my Note 8.0...
samsung's KK is EOL already and slow.... many apps are incompatible anymore....
Click to expand...
Click to collapse
I beg to differ... there is not one app I use that I cannot update. In fact a ton of them had been updated in the last 30 days.
Kk is stable, and with the latest google services, and framework 4.4.4 I am able to push 1 hr of continual use on just 6% battery use.
Fact CM as never had a stable build that allows perfect miracast and spen funtionality. Plus I like Samsung's built in features, peeps copy, yet cannot beat. Like S5 QuickConnect, grey scale for reading and low light, color blind for easier to recognize color various paterns developers go nuts with, and interaction control for blocking a user defined segment or segments from touch or spen interaction.
You just need to replace systemui and secsettings on a 4.4.2 stock late release rom on a ATT i467 and bam no brainer.
If I want speed, which is really not worth the trouble, is boeffla kernal.
Right now I am tweaking my settings backup to allow Samsung or Google management tracking, by not breaking any GMS and GCM services, while optimizing boot speed and battery savings.
I found another way to address battery consumption and cpu hogging by google background services.
modded disableservice backup config file to allow managment
NOTE### I will re post my file soon... the one I had posted had some errors in settings, I had locked down too much on play store.
Here is my modded config backup to allow most of the google play features to function. Yet, will block google system updates and monitoring, plus limit traffic on your data plan.
It has been trimmed down to only adust google play store and google play services. No other apps and services are touched.
I blocked automated nearby functions, places logging, network location, geo fencing, app data sync, people and contacts sync, most of the backgroud stats and logging, and playstore security (proven by me as of recent, that it fails miserably).
Replace with a standalone anti virus app that monitors apk installations. Problem is only a hand full will do the job and even fewer will not be resource hogs and compound my tweaks. I would specify my pick, but I don't get paid for my work that may seem to advertise a paid app. If they make money I should for endorsement. Its the yank way so accept it.
All without breaking GMS and GCM services, and syncs to built in calander and fit data. All exteral app syncs can still be managed in accounts. You still have SMS, notifications, management functions, and api functionality.
This version is more like my original that I started with, but has some cool features. One is quicker boot to semi idle than any kitkat google services ever released. Low battery consumption and higher performance in multitasking. Very smooth witout need of a custom kernel.
Note you will need version 4.4.4 Framework, which never got updated automatically. So you will need to sideload. And the latest versions of play store and play services.
Clear out framework data, play services data, and play store data then reboot. Setup play store and services install disable services on a rooted device and load the backup settings file.

Battery Saving Techniques

There's a lot of threads out there regarding battery saving techniques, but I didn't really see anything that went into a lot of detail on the OP3t. I own both an OP3t and an OP5T, and after running into some issues with the battery I have finally gotten my phone to idle fairly well on the devices and figured I would share my techniques.
Anyone that reads this and finds this useful, I encourage you to let me know the outcome of your battery after following this guide. Also if you have any suggestions/recommendations, please share them with me on here. I can update the original post and include your suggestions so that it can be helpful for other users as well.
The wakelocks category can be pretty intimiating because it's different for all users based on applications they have, but if you have some custom regex wakelocks or just standard wakelocks that you would like to share, please let me know.
Now to the guide...
Phone Specs:
OnePlus 3T - 64Gb
OxygenOS 5.0.3 (stock) & rooted with Magisk
Kernel - Bane Kernel https://forum.xda-developers.com/on...e-development/kernel-bane-kernel-r-1-t3801778
Recovery - https://androidfilehost.com/?fid=890129502657595792
Developer Options:
Developer - On
OEM Unlocking - Enabled
Advanced Reboot - Enabled
* Doze mode * - Disabled
-I need to highlight this, because I usually enable this option, and I know many others do as well. I'm not sure if my situation is an anomaly, however I must highlight if you use 3rd party battery saving apps such as naptime, forcedoze, leandroid, you should disable this mode. If you don't use these apps, then you should be okay to enable the option. I had this option enabled initially while using the 3rd party apps, and they were conflicting with my phone and my battery was draining very rapidly. It wasn't until after I disabled this option that I noticed a significant improvement with the battery.
USB Debugging - Enabled
Verify apps over USB - Enabled
Tools I use:
Amplify - https://forum.xda-developers.com/xposed/modules/mod-nlpunbounce-reduce-nlp-wakelocks-t2853874
Better Battery Stats - https://forum.xda-developers.com/showthread.php?t=1179809
ForceDoze - https://forum.xda-developers.com/android/apps-games/app-forcedoze-force-doze-mode-screen-t3377694
LeanDroid - https://forum.xda-developers.com/showthread.php?t=2743316
Magisk v16.0\5.8.3 - https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Nova Launcher - https://forum.xda-developers.com/showthread.php?t=1389071
Xposed Framework v90 beta3 - https://dl-xda.xposed.info/framework/sdk26/arm64/xposed-v90-sdk26-arm64-beta3.zip
OOS Debloater v5 - https://forum.xda-developers.com/on...hemes-apps--mods/aroma-oos-debloater-t3615828
Amplify Settings:
WakeLocks:
Wakelocks(Allow every 900 seconds)
WakefulIntentService[GCoreUlr-LocationReportingService]
NetworkStats
Wakelocks(Allow every 3600 seconds)
WeatherUpdateService
Wakelocks(Allow every 10800 seconds)
SyncLoopWakeLock(delays sync)
*net_scheduler*
GCoreFlp
Icing
Wakeful StateMachine: GeofencerStateMachine
NfcService:mRoutingWakeLock
wake:com.pushbullet.android/.gcm.GcmService
SyncService(Package: Push Bullet)
ai(Package: Push Bullet)
ae(Package: Push Bullet)
AsyncService
Wakelocks(Allow every 41400 seconds)
NlpWakeLock
NlpCollectorWakeLock
LocationManagerService
Config Service Fetch
Wakelock regex:
*gms* 900 seconds
*facebook* 9999999 seconds (if you use facebook)
Alarms:
Alarms(Allow every 600 seconds)
com.android.internal.telephony.data-stall
Alarms(Allow every 1800 seconds)
com.oasisfeng.greenify.CLEAN_NOW (If you use greenify)
Alarms(Allow every 3600 seconds)
android.appwidget.action.APPWIDGET_UPDATE
Alarms(Allow every 7200 seconds)
android.content.syncmanager.SYNC_ALARM(delays sync
Alarms(Allow every 10800 seconds)
android.net.ConnectivityService.action.PKT_CNT_SAM PLE_INTERVAL_ELAPSED
com.facebook.common.executors.WakingExecutorServic e.ACTION.ALARM.com.facebook.katana
com.google.android.apps.hangouts.CLEANUP_DB
com.pushbullet.android/.gcm.GcmFixReceiver
com.android.server.action.NETWORK_STATS_POLL
com.diune.pictures.intent.action.MEDIA_CHECK
LocationManagerService
Alarms[LOCATION](Allow every 41400 seconds)
ALARM_WAKEUP_LOCATOR(com.google.android.gms.nlp.AL ARM_WAKEUP_LOCATOR)
ALARM_WAKEUP_CACHE_UPDATER
ALARM_WAKEUP_BURST_COLLECTOR(com.google.android.gm s.nlp.ALARM_WAKEUP_BURST_COLLECTOR)
com.google.android.gms.location.fused.GPS_ALARM_BA LANCED_ACCURACY
ALARM_WAKEUP_ACTIVE_COLLECTOR
ALARM_WAKEUP_PASSIVE_COLLECTOR
ALARM_WAKEUP_BURST_COLLECTION_TRIGGER
com.google.android.intent.action.SEND_IDLE
ALARM_WAKEUP_ACTIVITY_DETECTION
com.google.android.location.reporting.ACTION_UPDATE_WORLD
Alarms(Allow every 93600 seconds)
android.app.backup.intent.RUN
com.google.android.gms/.checkin.EventLogService$Receiver
com.google.android.gms/.checkinCheckinService%Receiver
Alarms regex:
ALARM_WAKEUP[0-9]+ 9999999 seconds
ForceDoze
These are the options I have checked in Forcedoze settings. Everything else is unchecked.
Turn off while charging - checked
Show persistent notification - checked
Ignore lockscreen timeout - checked
Disable motion sensing for Doze - checked
LeanDroid
Disable​Wi-Fi - checked
Cellular data - checked
Cellular Radio - unchecked
Bluetooth - checked
Network location - checked
GPS location - checked
Switch​Cellular network mode to 2G - unchecked
5 min after screen off except (click except to add exceptions)
The only options I have checked under the exceptions are the following:
Except if tethering - checked
except if charging (AC) - checked
except if charging (USB/wireless) - checked
Disable (Under Exceptions settings)​The only options I have checked are
Under (wi-fi, data, network mode)
Except if active: limit 3KB/s - checked
Under Bluetooth
Except if connected - checked
Under Location
Except if GPS in use - checked
Now back to the Leandroid home screen the following settings under "Restore"
I have selected "After screen unlocked"
Every 60 min for 60 seconds after screen off - checked
except 11PM - 6AM - checked
Except below 15% - checked
Magisk
The only module I use in Magisk is "Sysconfig Patcher" - This is supposed to help with optimizing battery for the google services (that are normally exempt from battery optimizations)
Xposed
The modules I have enabled are:
Amplify
ForceDoze
No Device Check (this is a xposed module you can download from the app that helps make SafetyNet check pass)
Now in Android Settings --> Data usage
Click on the cellular data usage as well as the wifi data usage, you can click on an app that shows up in that list that uses up a lot of data and when you click on it, there is an option to toggle off the option "Background data"
I'm not sure if this is really needed, but what I did is I went through the apps that used the most data (including google play store and google play services) and I toggled the background data off
Android Settings --> Battery
Click "Battery Optimization" --> click the ellipses (top right corner) --> Advanced optimization --> turn this on
Android Settings --> Apps --> Special Access --> Usage Access
Turned off for google play store and google play services
Android Settings --> Apps --> Special Access --> Unrestricted data access
All apps are turned off
These are all my custom settings. If you would like to share any, let me know!
Probably you didn't search enough.
There are many helpful topics here or at Oneplus forum for Amplify, Betterbatterystats or with guides for increased battery.
Sent from my ONEPLUS A3003 using Tapatalk
RASTAVIPER said:
Probably you didn't search enough.
There are many helpful topics here or at Oneplus forum for Amplify, Betterbatterystats or with guides for increased battery.
Sent from my ONEPLUS A3003 using Tapatalk
Click to expand...
Click to collapse
There are several very useful posts each individually spread around these forums; the purpose of this thread is to have a unified source so people don't have to look all over like I did. I know you initially posted on my thread when I had terrible battery drain issues; and after I posted the information you requested, I haven't heard anything from anyone so I had to troubleshoot and fix it on my own. I guess what I'm saying is, I just want to help others in case they run into a similar situation because it can be frustrating when you're seeking guidance or help and no one responds.
I use Naptime and also had enabled the Doze mode in the settings, so like you say i disabled doze mode now and kept naptime running , ill update this post with my findings
manohar3787 said:
I use Naptime and also had enabled the Doze mode in the settings, so like you say i disabled doze mode now and kept naptime running , ill update this post with my findings
Click to expand...
Click to collapse
Yeah, keep me posted. I'd be interested to see if your results are similar to mine. Were you also having a lot of battery drain despite using naptime and doze mode?
manohar3787 said:
I use Naptime and also had enabled the Doze mode in the settings, so like you say i disabled doze mode now and kept naptime running , ill update this post with my findings
Click to expand...
Click to collapse
@manohar3787 - curious to hear about your phone after turning off doze. Any updates?
Leandroid app is responsible of a severe wakelock, I think is almost better not to have it? Any opinion?
Also, what about RILJ And RILJ_ACW_WL wakelocks? Are these safe to block?
Sent from my ONEPLUS A3003 using Tapatalk
RILJ was safe to block on nougat and below, but in Oreo+ it will actually cause a lot of trouble with the system. The other wakelock you mentioned "RILJ_ACW_WL", I'm not familiar with. What I woudl recommend is do a full backup in your recovery, then make the change to observe what happens. If it messes things up you can recover from your backup.
Regarding Leandroid, I haven't really heard any concerns with it. There have been some responses of users that didn't find it to help any, but I haven't heard of it having an adverse affect.
Another app I haven't tried, but am tempted to try at some point is called Island: https://play.google.com/store/apps/details?id=com.oasisfeng.island
Also a thread about it here: http://forum.xda-developers.com/android/-t3366295
@xNAPx - how is your SOT and your idle battery like? DO you use any 3rd party apps/tools to help with battery drain?
m0d hipp¥ said:
RILJ was safe to block on nougat and below, but in Oreo+ it will actually cause a lot of trouble with the system. The other wakelock you mentioned "RILJ_ACW_WL", I'm not familiar with. What I woudl recommend is do a full backup in your recovery, then make the change to observe what happens. If it messes things up you can recover from your backup.
Regarding Leandroid, I haven't really heard any concerns with it. There have been some responses of users that didn't find it to help any, but I haven't heard of it having an adverse affect.
Another app I haven't tried, but am tempted to try at some point is called Island: https://play.google.com/store/apps/details?id=com.oasisfeng.island
Also a thread about it here: http://forum.xda-developers.com/android/-t3366295
@xNAPx - how is your SOT and your idle battery like? DO you use any 3rd party apps/tools to help with battery drain?
Click to expand...
Click to collapse
My SoT is dependent on the usage, night drain is less than 1% a hour even 0% sometimes, SoT is between 7 and 5 h
About those wakelock I've heard the same about RILJ on Oreo, about the other one I don't know but is heavy as well.
About Leandroid I'm not very convinced. It messes up with notification and now I have another big wakelock to worry about
Sent from my ONEPLUS A3003 using Tapatalk
Unable to End Google play services
i am unable to doze google play services since am already running doze mode+magisk modules(sysconfig patcher + enable doze moe for gms )
Still i can see play services in Running services
Kind help needed
@xNAPx - do you have any custom settings or tools you use? Do you use Greenify?
What are the big wakelock issues that you have trouble with? Is it the one you mentioned "RILJ_ACW_WL" or other ones?
@Anusha Rao - Are you using doze mode within the Android system or 3rd party tools like I posted?
I don't think you want to use both magisk modules. As I mentioned in my post, I only use the sysconfig patcher. And make sure you reboot the phone after enabling that.
To check and see if google play services is being optimized for battery try going here:
Settings --> Apps --> Application List--> Google Play Services --> Battery
When I look at mine it shows 0m in use
0% battery usage
Battery Optimization:
Optimizing battery use
EDIT:
I'm posting screenshots of my googple play store and the google play services having battery optimization enabled and using 0% battery.
BTW, just so we're on the same page, you shouldn't completely "stop" google play services because it's essentially what drives the OS. Those services are important for letting your phone operate correctly. My thread is about optimizing those services not disabling/stopping them.
If you want to completely "freeze" certain apps and services you can try out that application I posted in my previous post called "Island". I'd be curious to hear how it works out.
That one plus "RILJ" plus "LEANDROID service" (which I un installed) , and also "AudioMix" and "xalarmx"
Sent from my ONEPLUS A3003 using Tapatalk
Amplify tells me I need to root my device but I have Magisk installed...?
I'm not familiar with the rom that you have "Dirty Unicorns". I use the stock ROM.
Most custom roms have root built in though so you might not even need to use magisk or super SU. You can check to see if there are any custom rom settings o maybe go into developer settings and see if you see a "Root" option.
Face unlock is not supported in the "Bane Kernel".
Does Lean Droid caused more battery Drain?
m0d hipp¥ said:
@Anusha Rao - Are you using doze mode within the Android system or 3rd party tools like I posted?
I don't think you want to use both magisk modules. As I mentioned in my post, I only use the sysconfig patcher. And make sure you reboot the phone after enabling that.
To check and see if google play services is being optimized for battery try going here:
Settings --> Apps --> Application List--> Google Play Services --> Battery
When I look at mine it shows 0m in use
0% battery usage
Battery Optimization:
Optimizing battery use
EDIT:
I'm posting screenshots of my googple play store and the google play services having battery optimization enabled and using 0% battery.
BTW, just so we're on the same page, you shouldn't completely "stop" google play services because it's essentially what drives the OS. Those services are important for letting your phone operate correctly. My thread is about optimizing those services not disabling/stopping them.
If you want to completely "freeze" certain apps and services you can try out that application I posted in my previous post called "Island". I'd be curious to hear how it works out.
Click to expand...
Click to collapse
Disable background data in Play Store and Play service will not disabling them right?
@Bintang Ksatria - Leandroid should be using less battery. @Rvl7 - No it won't disable them. I still use them, but it's on manual load, and not in the back ground. At least that has been my experience.
m0d hipp¥ said:
@Bintang Ksatria - Leandroid should be using less battery. @Rvl7 - No it won't disable them. I still use them, but it's on manual load, and not in the back ground. At least that has been my experience.
Click to expand...
Click to collapse
A good post , it helps us a lot .

FIXED | Whatsapp calls not coming when screen locked

I cannot receive any whatsapp call when the screen is locked, calls do come only when screen is on. This is not the case with other similar apps such as Line or Viber.
-Do not disturb mode is off.
-Battery optimization is set to 'unrestricted'
-Data saver is off
-Unlimited data usage is on
...
I tried literally every possible setting but no success. As if the phone somehow puts whatsapp calls to silent or restricts them when screen is off.
I'm rooted on Pixel Experience ROM but it is not ROM related because on other ROMs same problem occured.... could this be a kernel problem?
What might cause it?
What other possible solutions are there besides changing settings?
Hope someone could help.
---
EDIT: Managed to fix it through universal GMS doze module.
GitHub - gloeyisk/universal-gms-doze: Patches Google Play services app and its background processes to be able using battery optimization
Patches Google Play services app and its background processes to be able using battery optimization - GitHub - gloeyisk/universal-gms-doze: Patches Google Play services app and its background proce...
github.com

Categories

Resources