Android has a setting under "App Battery usage" that allows you to customize behavior when the app is in the background. I attached a picture of this setting.
When I change this setting I am finding that the LUCID app will automatically switch itself from "Unrestricted" back to "Optimized"...