Root required!
Since Doze was introduced in Android 6.0, it's been a constant source of pain for developers who can't keep background processes running reliably, and users who are constantly missing important notifications because the system automatically decides to kill background services. Some ROMs are worse than others, with MIUI being the worst offender and AOSP being somewhat tolerable.
DozeOff automatically disables Doze when the system is booted on your rooted device, simple as that.
On Android 12L and newer, DozeOff will also disable Phantom Process Killing.
You can also choose keep the CPU and WiFi awake at all times, but this will drain the battery very quickly.
Any rooted device running Android 6.0 and newer.
Tested on LineageOS 17.1 and 18.1
Copyright (C) 2020-2022 Federico Dossena
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.