[Xperia Z3 Compact General] evildog1:
Hi

i have found other solution to save the battery without xposed framework and without greenify. it have helped a lot and my phone does not drain the battery when in idle or screen off. so this is what i did

In Device Settings

Go to "Wi-Fi" -> press 3 dot on right corner -> Advanced -> Keep Wi-Fi on during sleep and set "Never". Wifi will disconnect home when screen off for 15 minutes (not sure). Wifi will connect again if you unlock the screen. Turn off "Network notification" and "Scanning always avaliable"

Go to "Xperia Connectivity" and turn everything OFF when not in use

Go to "More" -> "Mobile networks" -> "Preferred network type" -> and set to "3G (preferred/GSM)" if you don't watch youtube or movies. 3G/H+ is fast enough for me. Max speed bandwidth is 13 MB/s for H+ (HSDPA+)

Go to "Personalization" -> "Wallpaper" -> "Home screen" or "Lock screen" or "Home and lock screen" -> Choose "Album" or "Xperia wallpapers" and select the wallpaper you want. Using live wallpaper will drain more battery and decrease the performance.

Go to "Display" and turn on "Adaptive brightness". Set "Sleep" as 1 minute. Turn off "Smart backlight control", "Daydream" and "Tap to wake up"

Go to "Sound & notification" -> "Other sounds" and turn off everything

Go to "Apps" -> "All" and disable the following apps. You don't have to disable the apps you are using

- Docs

- Drive (I'm using X-plore to copy files to my Google Drive)

- File commander (i'm using X-plore)

- Google App (Drain a lot of the battery)

- Google Play Books

- Google Play Movies & TV (i would use Netflix instead)

- Google Play Music (i'm using PowerAMP)

- Google Play Newsstand

- Google Text-to-speech Engine

- Google+ (Drain a lot of the battery)

- Hangouts (Drain a lot of the battery. Have stagefright vulnerabilities)

- Movie Creator

- News & Weather (viewing news on the browser is fine)

- Sketch

- Smart Connect (i don't have any Sony tools)

- Support (i don't need help)

- Talkback

Go to "Location" -> Set "Mode" as "Battery saving"

Go to "Accounts" and turn off some sync you don't want it to be synced. I have all enabled

Go to "Language & Input" -> "Xperia keyboard" -> Set "Word suggestions" to "I don't wany any help when writing, not even suggestions". Go to "Sound and vibration" and turn off all

Go to "Developer options" -> Change "Window animation scale", "Transition animation scale" and "Animator duration scale" to "Animation OFF". your phone will feel faster :D

Note: if you can't see "Developer options". Go to "About phone". scroll down and click on "Build number" many times until it says "You are now a developer"

If your device is rooted running Kitkat or lollipop, you can continue to follow optional steps to improve your battery life.

Startup Manager App:

Startup Manager aims at helping disable/enable startup items from system boot for Android devices including smartphones and tablets. Please manage programs only if you know well.

Download it here: https://play.google.com/store/apps/details?id=imoblife.startupmanager&hl=en

and disable some user apps you don't want to boot

Remember: The boot time is fake so don't think your phone is bad

Kernel Adiutor (ROOT):

Kernel Adiutor is an app which you can tweak your phone like change CPU frequences, disable some cores and more.

Download the app: https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor&hl=en

Click on "Menu" button on top-left corner -> CPU Hotplug and disable "MPDecistion"

see below for best settings. if you are an advanced user, you can customize your kernel that is best for you :(

Normal Browsing:

- Core 1 and 2

- CPU max: 1.267 Mhz

- CPU min: 300 Mhz (default)

- GPU max: 200 Mhz

- CPU Governor: powersaver

Faster browsing: (if you want the website to render faster)

- Core 1, 2, 3 and 4

- CPU max: 1.267 Mhz

- CPU min: 300 Mhz (default)

- GPU max: 330 Mhz

- CPU Governor: ondemand

Small gaming (Magic piano, Subway Surfers, Titles games, Flappy bird, etc):

- Core 1 and 2

- CPU max: 1.958 Mhz

- CPU min: 300 Mhz (default)

- GPU max: 330 Mhz

- CPU Governor: ondemand

Graphic gaming (Modern Combat 5, Dungeon Hunter 5, etc):

- Core 1, 2, 3 and 4

- CPU max: 1.958 Mhz

- CPU min: 300 Mhz (default)

- GPU max: 578 Mhz (default)

- CPU Governor: ondemand

Battery saver:

- Core 1 and 2

- CPU max: 1.574 Mhz

- CPU min: 300 Mhz (default)

- CPU Governor: powersaver

- GPU max: 200 Mhz

Battery saver #2:

- Core 1, 2, 3 and 4

- CPU max: 1.036 Mhz

- CPU min: 300 Mhz (default)

- CPU Governor: powersaver

- GPU max: 200 Mhz

Note: i have not tried any other kernel settings than CPU and GPU because i don't know what are other kernel things. i will take a look at it when i have free time

I hope it will help you save the battery. If not helping, i highly recommend you visit this link: http://xdaforums.com/android/general/guide-extreme-battery-life-t3095884/post62264111#post62264111