[Nexus 5X General] Casey Walt:
Since there are no threads on how to improve battery life I figured I would make one for all the lazy people out there:D:D:D:D

Let me start by saying don't be me! Use elemental x kernel and just freaking pay 3.99 for ex kernel manger its so worth it:p!!! It is an amazing app and kernel combo:good:. On stock rooted I was barely pulling out 2 hours screen on time with battery tweaks and low signal all day (no signal at my school) and 2.5 - 3 hours where i had a good signal. With the tweaks i am going show you I am getting 4 hours consistently and 5 hours on a good day.

THINGS YOU WILL NEED:p

i think this goes without saying but root access...;)

Build.prop editor or knowledge of how to edit it

Ex kernel installed on your current rom

Ex kernel manager (3.99 on google play... just pay for it... no free version exists help the developer out)

Usb cable and computer or a file manager

Greenify

1). add these lines to the build.prop

ro.mot.eri.losalert.delay=1000

ro.config.hw_fast_dormancy=1

persist.cust.tel.eons=1

ro.ril.set.mtu1472 =1

wifi.supplicant_scan_interval=497

pm.sleep_mode=1

power.saving.mode=1

ro.ril.disable.power.collapse=0

ro.vold.umsdirtyratio=20

2). Install ex kernel and wipe cache

3). Verify that you have it installed by going to settings/about phone and look for kernel version it will say elemental x somewhere in it if you installed it

4). Buy ex kernel manger for 3.99 on the play store (believe me it works)

5). Open the app and click the 3 lines on the top left and click cpu.

6). Scroll down to "Governor options..."

7). Now click save and make a name for your stock profile. (yes it is a needed step!!! it makes a folder you add files too):good:

8). Download ghost pepper or butterfly. (or any other one but those two are recommended for better battery life) You can pick which one gives you best battery life. The process is the same for all of them and its very easy to switch between them.

https://docs.google.com/spreadsheets/d/1P1LXnJnUdz9cC_qpcwMpfParUBlaPbIhyLZHOWjknUE/edit#gid=0

9). If you did step 7 right you will see a folder on the root of your internal storage called ElementalX inside that folder is a folder called gov_profiles. If it is not there read step 7 again. Copy the profile you picked here and remove the file extension. (IMPORTANT!) example instead of ghostpepper.txt you would rename it ghostpepper

10). Go back to the ex kernel app and click load. you should see the profile you just put in that folder and check it. If you want your settings to stick click apply on boot

11). Go back to the 3 lines and click miscellaneous this time.

12). Set your i/o scheduler to noop and click the power button on the right. That makes it apply noop on boot

13). Click fsync and disable it then click the power button again.

14). Download greenify from the play store its free

15). Open the app (grant it root) and click the plus button in the top right

16). Add apps that are keeping the phone awake. Snapchat and Instagram are two GREAT apps to put on this list because they eat your battery alive even with the screen off.

17). When your done click the check in the bottom right.

18). Click the 3 dots make sure it says "disable auto-hibernation". if it says "enable auto-hibernation" enable it.

19). Click the 3 dots again and click settings. make sure your working mode is root and check shallow hibernation and aggressive doze

YOUR DONE! If you have anything to add or disagree with me please don't be shy and comment. We can only improve this phones battery life by communicating