Was going through Oneplus 7 Pro forum and bumped upon this thread. This definitely worked for my Oneplus 7. My battery last a bit longer and drain is noticeably slower than before.
Enable developers options.
Connect to PC with USB debugging enabled.
Type each line in CMD which CD to the platformtools/adb and press enter:
System Tracing which is automatically enabled when dev options is on.
adb shell pm disable-user com.android.traceur
Oneplus bug reporting
adb shell pm disable-user com.oneplus.opbugreportlite
Zen Mode
adb shell pm disable-user com.oneplus.brickmode
Oneplus logging
adb shell pm disable-user net.oneplus.odm
adb shell pm disable-user net.oneplus.odm.provider
Packages can be re-enabled as below if required.
adb shell pm enable <package_to_enable>
Enable developers options.
Connect to PC with USB debugging enabled.
Type each line in CMD which CD to the platformtools/adb and press enter:
System Tracing which is automatically enabled when dev options is on.
adb shell pm disable-user com.android.traceur
Oneplus bug reporting
adb shell pm disable-user com.oneplus.opbugreportlite
Zen Mode
adb shell pm disable-user com.oneplus.brickmode
Oneplus logging
adb shell pm disable-user net.oneplus.odm
adb shell pm disable-user net.oneplus.odm.provider
Packages can be re-enabled as below if required.
adb shell pm enable <package_to_enable>