gergo48 wrote:
When I have GarageBand open in the background on my MacBook (m2 pro), it is draining to 0% from 100% in a couple of hours even if it’s closed down.
i tried revoking the microphone access thinking the constant listening may be the issue, but it didn’t help.
?
Command Q quits the application (or from the drop down menu>Quit)
the red pill button simply closes the active window(?)

The rule of thumb—if you are near the mains leave it plugged in, if you need the portability then run on the battery only—this is how you help optimize your battery charging and extend the working life of your battery by reducing the cycle count.
Learn how to optimize the life of the battery in your Mac notebook, fix battery issues, and get service.
If you see Service Recommended on your MacBook Air or MacBook Pro - Apple Support