I have an AccessibilityService that listens to the volume buttons. It works fine but when the screen is off is does not work at all. Is there a setting or something to make