This appears to be a bug because no application should keep the screen on while the device is charging. In some cases, you have to keep the screen on while the software does its job.
However, if this software is used on a desktop platform, then your display stay opened based on your preferences, but if you use it on mobile, the display should stay open while it's doing its job, else lock your device.