[Xiaomi Mi 5 Guides, News, & Discussion] ikzouhetnietweten:
For most of us, the phone is more asleep than it' s in operation. That's why choosing the correct ROM & Kernel is essential for your battery.

I wanted to figure out which ROM is best regarding battery life when the screen is off and how to reach the best result.

I Started testing with the CM13 as it supports Xposed and Amplify, great batterysavers.

I'll Keep this updated per 1 or 2 days.

BetterBatteryStats Calculation.

The app to calculate the drain is called BetterBatteryStats, a well known app.

If I look at my stats: View attachment 4034216 I can see the voltage went down from 4402 to 4313 (-89) in 1223minutes. That's 60 x 89/ 1223 = 4.366%/hour = 4.4%, which is correctly showing in BBS in the attached file. Now I translate this to percentages: 4.4% voltage decrease x 5% battery decrease / 89 = 0.245%/hour battery. This is again correct according to BBS. I guess this is a fair calculation. the voltages seem to go up and down all the time, so I don't understand how it's an exact calculation but ok.

Settings

Batterysaving settings - Please KEEP IN MIND It's in a TEST Stage, probably things won't work if you Limit everything like I did, but I didn't encounter many problems =)

-Install Amplify and limit as much of crap you can possibly do. I limited the following to 999999 seconds (lol)

The wakelock names differ to every ROM. That's why I won't name them all. I'll update tomorrow the wakelocks , alarms and services I limited in the xiaomi.eu ROM.

Install Greenify: Aggressive Doze, Working mode: Boost, WakeupTime Coalescing, Deep Hibernation, Gcm Push, Greenifying system apps, Reveal Hidden sync.

And then hybernate all crap, except basic stuff the phone needs. I Hybernated for example: AudioFx, Google play services, live lock screen, nfc service, weather service, google service Framework etc.

General Settings: Wifi never keep on during sleep, BT off, NFC off, Sounds off, Vibrate off, Brightness minimal, no adaptive brightness, disable adjustments, no ambient display, no double tap to wake and sleep, sleep after 5 min, no battery and notification lights, % battery in statusbar, no sync accounts, location off, Developer options: 0,0x animation and duration scales, Play store: dont update, deselect app updates available.

Battery History App: I installed it to monitor at what exact time it decreases every percentage. So I noticed that from 100% to 99% it takes mostly 6 hours or so, while the rest is much lower (around 1 to 3 hours) You can save more battery by not installing this as it has many wakelocks.

Testresults

08/02/2017 - 0.2%/hr in the morning to 0,3%/hr in late afternoon: View attachment 4034216 and View attachment 4034217 ROM: CM13 + Flashed the CM13 20/12 snapshot & and the DragonXIA CM based Kernel + Kernel Adiutor. Settings: CPU Governor: Ondemand for the 4 cores. disabled Touch Boost. I/O Scheduler: Noop. GPU Governor: Simple On Demand. Gentle Fair Sleepers disabled.

09/02/2017 - 0.3%/hr ROM: Same as above but I disabled the Battery History app. View attachment 4035553

12/02/2017 - 0,108%/hour ! in the morning and 0,148% in the afternoon! -View attachment 4040213 & View attachment 4040214ROM Used: xiaomi.eu_multi_MI5_6.11.10_v8-6.0 with Xposed, Greenify, Powernap, Amplify, Battery Saver Off.

13/02./2017 - 0.176% in the morning, 0,267%/hour in the afternoon. View attachment 4040218 & View attachment 4040219Same settings as above but limited more wakelocks.