I got a new phone yesterday, Xiaomi Mi A1, and installed Whatsapp on it. Now I only get notifications when the app is open and a few minutes after I turn off the display (or go do some other thing). On my Whatsapp Web it says that the phone isn't connected, and I have to manually reopen the app in order to get any recent messages.
I figured it's some sort of restriction the Android places on background processes, but how do I remove it? I'm pretty sure I haven't messed with any sophisticated settings up until now