GEX BATTERY SAVER V2

GEX BATTERY SAVER V2

BY GENIUS_CRY

Gex Battery Saver v2 – Full Changelogs


1. Universal Compatibility


Works on any Android device with Magisk.


No hardcoded device or vendor-specific paths.




---


2. Kernel & Governor Tweaks


Forces all CPU cores to use the powersave governor (if supported).


Sets I/O scheduler to noop for reduced disk wakeups and battery drain.


Enables aggressive deep sleep by tweaking /sys/module entries.


Disables wakelocks at boot to prevent unnecessary CPU wakeups.




---


3. Memory & RAM Optimization


Applies highly conservative Low Memory Killer (LMK) thresholds.


Reduces memory usage in background apps to prolong idle state.




---


4. Doze & Background Restrictions


Forces Doze mode with:


persist.sys.doze_enabled=true


persist.sys.deep_sleep=true



Extends Wi-Fi scan intervals to reduce radio wakeups.


Automatically disables GMS (Google Play Services) components when screen is off.




---


5. Dynamic Service Control


Monitors screen state:


When screen is off:


Disables mobile data.


Disables GMS background components.



When screen is on:


Re-enables services for full functionality.




Runs this loop in the background every 60 seconds (adjustable).




---


6. App & Service Disabling


Disables unnecessary system and Google services that impact battery life:


com.google.android.gms (partial)


com.google.android.videos


com.google.android.apps.turbo


com.android.printspooler


com.google.android.feedback


com.android.deskclock


com.google.android.syncadapters.contacts




---


7. System Property Tweaks


Disables logcat in runtime:


logcat.live=disable



Turns off performance profiling and debug telemetry:


profiler.force_disable_err_rpt=1


profiler.force_disable_ulog=1


debug.sf.enable_hwc_vds=0



Optional: Disables log generation for minimal background I/O.




---


8. Clean & Silent Operation


No user input or config needed.


Sends a toast notification once:

"gexbs: Power Saver Mode Enabled"


Logging disabled by default (can be enabled by uncommenting).




---


9. Safe & Reversible


Can be safely removed via Magisk Manager.


Does not modify /system or require a custom kernel.


Respects SELinux policies and boot stages.



Report Page