ForceDoze 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.
<img src="https://f-droid.org/badge/get-it-on.png" alt="Get it on F-Droid" height="80">
Play Store link: https://play.google.com/store/apps/details?id=com.suyashsrijan.forcedoze&hl=en
This code is licensed under GPL v3