[Xperia SP Android Development] Raienryu:
One of the most improtant things that we look forward to in any ROM we are going to flash would be the Battery Backup.. As this is also a custom rom, it will obviously have lesser battery optimisations. Thus to squeeze out as much battery as possible and yet not forgo much on the performance, the following are some battery saving tips and tricks to help you out. This should be universally applicable for all 5.1.x Roms...

Requirements

Clean Flashed ROM

Tangerine Kernel (Any version you prefer)

Kernel Adiutor

Xposed Installer With Framework (Installation Insructions Later)

Power Nap For Xposed

Instructions

Assuming that you have already clean flashed ROM, SuperSU, GApps and have set up your device.

Open Kernel Adiutor

CPU Governor Set To Conservative (Explanation Later)

Open CPU Governor Tunables

Set values down_threshold = 50, freq_step = 8, up_threshold=70

Then go back, set multicore power saving to Enabled and set Apply On Boot at top

Go to CPU Hotplug and apply MPDecision and Apply On Boot

If heavy gamer skip this step else put GPU Governor to simple and Apply On Boot

Go To I/O Scheduler, there put Internal Scheduler fiops, External Scheduler bfq, external read ahead 256 kB and Apply On Boot

Thanks to [MENTION=4884633]ckrishnakanthc[/MENTION] , my bro for helping me out with these kernel settings...

Now we have completed half of the process. The other half is having a stamina mode like saver in our phone :) which is Power Nap for Xposed.

So, here are the instructions to install Power Nap for Xposed.

First and foremost, instructions to install Xposed. This is the method I've followed.

Download xposed-sdk22-arm-2015*.zip from romracer's thread. Please read original thread also for information.

Then download XposedInstaller_3.0-alpha2.apk from rovo89's thread

Flash the zip file from romracer's thread from recovery and reboot and install xposed apk.

Then refer my previous post and join Power Nap's tester g+ community then opt in to be a tester and download app from playstore.

If you are on Enforcing Kernel, then you might want to download the update from the pinned post to get statistics.

Activate Power Nap Xposed Module, reboot and enjoy..

Now by having those kernel tweaks and this Power Nap for Xposed, we can have a better battery backup on our custom ROMs...

Also as for the explanation for having to use conservative governor(thanks to [MENTION=3615140]HipKat[/MENTION] 's thread . Do read the thread for more information)

This governor prefers the lowest clock speed of the CPU for as often as possible. Which means that it goes to highest frequency only when a huge and persistent load is applied. This is better than the default governor Ondemand because Ondemand simply ramps up to the highest frequency irrespective of what kind of load it is, even a little load and the CPU goes to full speed thus wasting much power. Hence conservative is more preferred.

By following the above two methods I got a screen on time of 6 hours 15 minutes (screenshot it attachments) and my usage comprised mostly of streaming anime, browsing internet, playing tactile and whatsapp (so I would call it medium usage) and had a total of 14 extra apps installed other than micro GApps and default apps.Well anyway hope this helps you people out.

:D

Some beautiful Apps

If you have Xposed installed then go download Serajr Blurred System UI (LP) . It looks very nice!

Also Another app called AcDisplay is awesome. It's like ambient display but much better (Switch of default ambient display if you are going to try this)

DiscoLight Lollipop!!! (It's In Xperia SP Themes And Apps) .. What's Xperia SP Without A Beautiful LED Music Beat!!!!