On my Xiaomi Mi A1 if I go to Apps & notifications > WhatsApp and tap "force stop", the app seems to stop. But hours later, WhatsApp is strangely on again and I start receiving messages.
If there is a way to safely kill the process associated with WhatsApp so the app does not start again, what is it?
adb shell appops set com.whatsapp RUN_IN_BACKGROUND ignore
. Or if you prefer GUI over CLI you may use my open source app PMX. – Irfan Latif Apr 30 '21 at 12:39