To let Daywise app run successfully in the background, make sure your settings look like the following:
Please enable:
Security > Battery > App Battery Saver > Daywise > No restriction
(according to Xiaomi: Open Security app > Permissions > Auto-start Enable Autostart for Daywise.
When you open recent apps tray, drag Daywise app downwards – it will be locked. So even if you clear recent apps it will not clear from the background. Drag downwards again to clear Daywise app from the background.
Sourced from: https://dontkillmyapp.com/xiaomi.html