You can choose to display a dialog box that takes the user through the steps for disabling Doze Mode.
FYI : Doze mode can be simply disabled in settings menu, for specific apps by :
Go to phone Settings. Press Battery. press the Options menu button (in the upper right corner, then press Battery optimization. Press the selector, then press All apps . Battery optimization list appears. After this, press the name of the app for which you want to switch off Doze mode, and in the box that appears, press "Don’t optimize". Once you’re done, select Done.
Edit :
Try this to take the user to battery settings of the phone:
Intent newIntent = new Intent(Intent.ACTION_POWER_USAGE_SUMMARY);
startActivity(newIntent);