Recently I've been trying to optimize the doze settings for my device. I found many guides that date back to 2015/16. All of them say something similar: To change a deviceidle
setting, I have to input adb shell settings put global device_idle_constants inactive_to=30000,sensing_to=0
(for example) in a terminal. When typing in adb shell settings list global
, device_idle_constants
doesn't get listed tho. Seems to me it's deprecated.
My Problem: This setting doesn't change anything at all. When I change sensing_to
to 0 like I have shown above, it's still at 4m0s0ms
. I can confirm this by putting adb shell dumpsys deviceidle
in the terminal.
Does anyone know how to change those doze parameters in Android 12(L)?
Btw: I have a Poco F3 with LineageOS 19.1
device_idle_constants
was still available in theSettings.Global
on Android 11 but have been migrated toDeviceConfig
in Android 12adb shell device_config
command, and based on the commit, the namespace isdevice_idle
, so the full command would be likeadb shell device_config put device_idle sensing_to=0
, but I haven't tried it yet.adb shell device_config put device_idle sensing_to 0
.