i'm developing a simple music player app using Ionic framework and Apache Cordova. One of the goals of my app it's to allow user to switch songs using volume buttons (volumeup -> next song, volumedown -> prev song); I already achived that but there's a problem : when the smartphone goes in stand by, for example if i press the lock button, the volume buttons start to work as default (volumeup -> increases the volume, volumedown -> decreases the volume). How can i prevent that? I know there are ways to prevent the standby mode, but i think a player that keeps the screen on, would cause a early battery low.