[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Christoph21x:
Battery treatment

First of all: Pls read more about ROMs and this ROM and IF you really have substantial questions, post information on how and what you installed.

Below you find a few (yes, that's a few!) measures that you can take.

First of all: a Pie ROM optimizes itself and this process takes between 3 - 5, sometimes seven days of usage.

Tips and tricks for S7 flat/edge - ENERGY CONSUMPTION

Installation

- The less the better: install as few modules as possible. You shpould prefer to install needed apps via FDroid/Play Store - so you can uninstall them at any time.

- For LightROM: this IS a LIGHT ROM - unless you pervert it by installing many modules during Aroma Installer. Use as few modules as possible, this has the BIGGEST impact of all measures. Special tip: select "modded Samsung apps" - and then DO NOT install the extra package: you'll get rid of MANY really unneeded energy eaters.

- Pie and later ROMs have learning algorithms. If you made a clean install, allow the ROM to learn! This takes at least 3 days, normally 3-5. Sometimes 7. With every install it will learn again - concerning this newly installed app

Initial setup

- You're asked during the first Play Store download how to handle updates. Select "AUTOMATICALLY DISABLE APPS"

- Allow as many apps as possible to be put to sleep automatically. Pls note: the most messaging & phone (also SIP, if supported by SIP app) apps will use a push method to be woken up on incoming events. Try it out - only take apps from the list if they don't work properly according to your needs

Measurements sorted by battery saving impact.

High Impact:

- Use L-Speed either as an app or as a Magisk module to optimize your device. There are pre-defined profiles. Find attached my own (mainly balanced, on trend energy saving) settings to restore it to your L-Speed installation. Optimize it to your needs. My settings will already lead to energy saving plus higher performance.

- Disable apps & modules (carefully, your device may not start anymore when dealing with system modules). You can do this with system settings on any Pie ROM. Personally I use the app "App Quarantaine" as it provides a useful interface (App Quartantine can be put to sleep by the way).

- Disable autostart for as many apps as possible. The App "Autorun Manager" - a bit outdated and to be paid - can change "on event startup entries" for installed apps and modules. I personally use All-In-One-Toolbox to additionally tweak the system.

Medium impact:

- Switch off auto brightness. Configure your brightness bar to be shown in the upper part of status messages - you'll only need it 2-3 times a day to manually adjust your brightness. Auto brightness consumes quite a larger bit of energy

- Use a Firewall (e.g. AFWall+ / get it through FDroid) to disable communication of as many apps & modules as possible - eg. the GPS module itself communicates a lot :( The settings can be differentiated concerning LAN, WLAN, mobile network and roaming connections - may help you even to reduce bandwidth and potentially restricted data consumtion

Minor impact:

- Prefer to use 2.4 GHz WLAN instead of 5.0 GHz. Energy consumption is slightly lower when you're near the router. The lower signal strength gets (distance, obstacles, walls etc.), the higher the saving effect will be

- Use AdAway (install it via FDroid) - it not only kills ads (especially also in-app ads), it also reduces the internet traffic (and thus saves energy)

Attention: be careful which app shall handle what in your system. Some of the mentioned apps tweak the same parameters. If more than one app srews the same parameters pervert their impact. Decide in advance, which app shall serve for what exactly. I personally use

- L-Speed for tweaking parameters

- App Quarantaine to disable apps

- Autorun Manager and All-in-One-Toolbox to disable auto startup of apps and modules

- AFWall+ to disable internet connectivity of apps / modules

- AdAway to generally block ads and trackers

Battery Stats

If your device turns off without proper shutdown, if the values for the battery shown have nothing to do with realitiy in your eyes: from time to time (once or twice a year only!), your device needs a recalibration of the battery statistics. This is strongly depending on your loading attitude (see pragraph below "Prolonging battery life" - if you handle the battery carefully, you don't need it much often, if you overload often (night) and use it down to zero, it will have a negative impact).

THIS is not a ROM-specific occurance but ONLY depending on your charging habits.

First of all: Resetting the Battery Stats has basically a negative impct on you battery lifetime as you have to drive it down to zero and then you have to overload it. Maybe twice. So do it as few as needed.

I personally use L-Speed (see above and attached) to recalibrate my battery. Find the entry "Battery" in the menu and then select in this section "Wipe battery stats". Sounds easy - BUT: you and your device have to be prepared for this:

When selected "Wipe Battery Stats" you have to...

Drive down your device to ZERO % after this wipe

Then load the device up to 100% (if you use ACC - see above - you have to disable it before)

Let it be connected to the power supply for at least 2-3 more hours (that's what actually harms the battery - see ACC section of this article - do it seldom.)

Run it down to ZERO % again - and again load it up to 100% (and approx. 20 min. above)

From then use it up to your needs

Now your device's battery is recalibrated. You will see the difference.

Once again: it makes no sense and it damages your battery, if you do this every month. Do this, if the device behaves strangely with too much or too few energy left (according to the display), best: once or twice a YEAR (only!)

Very important:

IF you encountered unprogammed shut-offs (not regular shutdowns) of you device on low battery, you HAVE to repair your partitions: Enter TWRP - Delete Section - and repair all partitions you can (not all are able to be "repaired"). If you don't do this, your device may behave more and more strangely - and will not anymore be able to be repaired through this in the future.

Prolonging battery lifetime

There is a tremendous site informing about battery lifetime and resulting treatment proposals.

For a profound article on how to prolong your battery life, read carefully the article under http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries

- There's an easy way to implement the according treatment in your S7: open Magisk Manager, select download section and install the "Advanced Charging Controller (acc)". Reboot.

- As a consequence, your device will then only be loaded to a level of 75-80% and then turn off further charging. You can now safely charge your phone over night without damaging the battery. If you want to have it fully charged (eg. for a long and busy day), charge it while turned off or disable the module temporarily and reboot. (Take care, that there is no over-charging during that time.)

- Parameters can be adjusted with additional commands - this and Q&A see the XDA-Developers' thread under https://xdaforums.com/apps/magisk/module-magic-charging-switch-cs-v2017-9-t3668427

I consider to set up a thread with tips and tricks for our beloved S7 as I'm re-writing always the same things and I'm getting a bit tired of it. People seem to tend to post and ask or even blame without having even tried to find the needed information by themselves.

Kind Greetz from Switzerland - Chris