Today I want to present you a guide to become good batterylife on your device
Im a owner of a Samsung Galaxy S5 G901F.
The update to Android 5.x was horrible because the battery lives no one day on the stock rom.
At Android 4.4 there was no problem
.
Here is a blended guide to help improve your android battery experience.
This should work to many other Android devices, phones, tablets too.
In my case its a Galaxy S5 G901F
.
It runs on SimpleGX Rom 1.4.1 (based on stock BOH4 firmware).
(I have finally tested it on my Motorola Xoom and Samsung Galaxy Tab)
Lets start
Prerequisite is ROOT and Xposed framework for your firmware.
There are other posts and threads about. Im not sure.
Maybe Im looking out for the links.
Use BetterBatteryStats to make logs and see batterystats.
I dont need Wakelock detector
.
Requirements:
1.Greenify
2.Amplify
3.AppOpsXposed
4.PowerNap
5.Smart Network
(Additionally)
6. init.d Script for Google Play batterydrain (when the installed rom dont have it)
7. Newest Play services and Playstore (recommended)
Basic Settings
DisplayDisplay brightness is an important factor in your batterys life. The more brighter the screen is, the more battery it drains. So keep the brightness under control or use automated brightness, but switch one level darker. Or you can try manually adjusting the screen brightness to dark. Without needing a headlight lol
.
Cell Network/3G/LTE/2GSwitch LTE/3G to 2G while not in use.(while on WiFi). Use Smart Network to switch between networks.
Wifi-Even if your wifi is off, the phone searches for signal. To switch off this feature, go to Settings > Wifi > Options in top right corner > Advanced > Scanning always available > Off
-Make sure u use a static IP. Switch to static as follow:
Tap long on your Wifi-network, select advanced settings, scroll down and change DHCP to static in IP-line.
LocationStandard juice sucker in Android is the Location Services. You can turn it off while not in use. That saves a lot of battery. You can also set the location to Device Only" in settings.
In my case, I never used location services.
Greenify
Use Greenify to hibernate apps that are not in use.
You must buy or download Donation Package of Greenify to use all features. Once you have a Donation Package, you need to activate the Greenify Xposed Module in your Xposed Framework. Once done, setup as follow:
-enable the Boost mode on top
-enable Experimental Features
-select ALL other stuff.
Important:Set Greenify as Admin in settings/security/greenify automator
(for Samsung G901F the deep hibernation alpha works perfect, at some other
Devices it should not work)
--Screenshots
When installed and activated, open the Greenify app.
Select show all on top right corner to see ALL stuff on your phone.
Greenify all apps that suck battery in background.
For example:
-Maps
-Hangouts
-Browser
-Facebook
-Games
-Instagram
-(Google play services, set advanced options to status always ignore)
-(Google Play store, set advanced options to status always ignore)
Its not recommended to greenify Google play services.
I can say, on my lovely Samsung device it works well.
You must try it
.
--screenshots--
Do not greenify apps as follow:
-Amplify
-Android system
-Greenify itself
-Better Battery Stats
-Xposed
-System apps
-Smart Network
-PowerNap
-AppOpsXposed
--Screenshots
Amplify
It is a must have app for all devices running Xposed Framework.
You'll need a donation package to control wakelocks and alarms.
This is very specific to every device, because everyone have different apps on his phone/tablet.
Limit the following:
(Warning: Be careful, read it twice before set up, you should know what you do)
Alarms
Alarms (Allow every 600 seconds)
com.android.internal.telephony.data-stall
Alarms (Allow every 1800 seconds)
com.oasisfeng.greenify.CLEAN_NOW
Alarms (Allow every 3600 seconds)
android.appwidget.action.APPWIDGET_UPDATE
Alarms (Allow every 7200 seconds)
android.content.syncmanager.SYNC_ALARM
android.net.ConnectivityService.action.PKT_CNT_SA M PLE_INTERVAL_ELAPSED
com.facebook.push.mqtt.keepalive.KeepaliveManager .ACTION_INEXACT_ALARM.com.facebook.katana
com.facebook.common.executors.WakingExecutorServi ce.ACTION_ALARM.com.facebook.katana.Mqtt_Wakeup
Alarms[LOCATION] (Allow every 40000 seconds)
com.google.android.intent.action.SEND_IDLE
ALARM_WAKEUP_ACTIVITY_DETECTION
Alarms (Allow every 84000 seconds)
com.google.android.gms/.checkin.EventLogService$Receiver
Wakelocks
Wakelocks (Allow every 800 seconds)
RILJ0
NetworkStats
Wakelocks (Allow every 3600 seconds)
SyncLoopWakeLock
Wakelocks (Allow every 7200 seconds)
NfcService:mRoutingWakeLock
Wakelocks (Allow every 40000 seconds)
LocationManagerService
Services
Services (Block/Deny)
com.ebay.mobile/.analytics.AnalyticsService
com.google.android.gms/com.android.location.internal.GoogleLocationManage rService
com.facebook.orca/com.facebook.analytics.service.AnalyticsService
Attention:
I never used Location Service. That's why I have disable the location services. If you are using Location services, do not disable the services with location- and GPS tag.
Power Nap
In order to download the app you need to join the alpha testers community in Google+ here to become a Tester. Then you'll be able to download and run the app.
Set the Endurance Mode to Always ON.
To get Push messages you should whitelist this apps.
In my case the whitelisted apps are (Varies according to users):
AndroidSystem
BetterBatteryStats
Greenify
Greenify Donation Package
Amplify
Whatsapp
Xposed Framework
Ebay
Messenger
Adaway
BusyBox
GooglePlaystore
Google Framework services
AppOpsXposed
AppOps is a permission manager in android.
Navigate to Settings/Hacks/Check FIX OP_WAKE_LOCK
Disable the following Permissions of Google Play Services :
OP_ALARM_WAKEUP/Wake Up
Keep Awake
(Location if u dont need google locations)
Disable the following permissons of Google Services Framework
-Keep Awake
-(Location if u don´t need google locations)
Disable the following Permissions of Google Play Store:
-(Location if u dont need google location)
PNF Push Notifications Fixer
If you encounter any delayed Push Notification from any app after using this thread,
try the PNFroot Fix from here. Setup to Mobile 6/WiFi 5 minutes.
Init.d to fix batterydrain
Especially for our G901F with Android 5.0.2.
A few roms already have this fix. (Nova 1.3, SimpleGX 1.4.1)
Your Rom should have init.d support.
Place this script to etc/init.d folder as root and set permissions to 755.
Thanks to
@
chamonix for BetterBatteryStats
@
oasisfeng for Greenify
@
cryptyk for Amplify @
caspase for AppOpsXposed
@
waylaidwanderer for Power Nap @
andQlimax for PNF
@
vaisakh7 for his BatterylifeThread and his great support
And many others