For Meizu, we recommend you do the following two things:
Device Settings > Advanced Settings > Battery manager > Power plan set to Performance
Device Settings > Advanced Settings > Battery Manager > Protected apps – check your app as Protected
Enable Device Settings > Apps > your app > Battery > Power-intensive prompt and Keep running after screen off
Please note: switching the aforementioned should not change the battery usage in a significant way. Bob is already optimized to use a very low battery power.