Keep display on while on PLEX when connected to charger.

is there any way we can keep IOS or Android display remain ON when plex is playing music as long as the device is charging. My phone is mounted in the dash of my car while playing music and being charged. I like to continuously view the album art while playing. Thanks.