Skip to content

Enable Doze mode immediately after screen off and turn off motion sensing to get best battery life

License

Notifications You must be signed in to change notification settings

farfromrefug/EnforceDoze

 
 

Repository files navigation

EnforceDoze

EnforceDoze is a fork of ForceDoze which is not maintained anymore. Thanks to @theblixguy for all his work on this.

EnforceDoze allows you to forcefully enable Doze right after you turn off your screen, and on top of that, it also disables motion sensors so Doze stays active even if your device is not stationary while screen off. Doze will only deactivate periodically to execute maintenance jobs (like getting notifications, etc), otherwise it will remain active as long as your screen is off. This brings a lot more battery savings than standard Doze functionality, because even with screen off and Doze enabled, Doze is still periodically checking for movement, and disabling motion sensing improves battery life further.

Get it on F-Droid

Coverage:

Features

  • Force Doze mode immediately after screen off or after a user specified delay
  • Add/remove apps or packages directly to system Doze whitelist
  • Disable motion sensors to prevent Doze from kicking in during movement
  • Disable Biometrics in doze mode to further improve battery life
  • Tasker support to turn on/off EnforceDoze and modify other features
  • Disable WiFi and mobile data completely during Doze
  • Enable Doze mode on devices where OEM has disabled it
  • No root mode so you can enjoy the core benefits without rooting your device
  • Free, no ads and open source

Here is a table of features

Feature Non Root Root
Disable Wifi Android < 29
Disable Mobile data
Disable Biometrics Depending on device
Disable Sensors Depending on device
Disable All sensors(equivalent to the dev tile)
Ignore disable with hotspot
Whitelist music app

Android

Requirements for compiling source code and running the app:

  • Android 6.0 (Marshmallow) SDK platform
  • Android smartphone running 6.0 (Marshmallow)
  • Android Studio
  • Root (can work with limited functionality in non-root mode)

License

This code is licensed under GPL v3

Having issues, suggestions and feedback?

You can,

Languages: Übersetzungsstatus

Übersetzungsstatus

The Translations are hosted by Weblate.org.

About

Enable Doze mode immediately after screen off and turn off motion sensing to get best battery life

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 98.7%
  • Kotlin 1.3%