My phone thinks the down volume button is pressed
I own a xiaomi red mi note 8.
I was listening to music normal and it started lowering the volume by itself. I tried to get the volume higher a few times (pressing the up volume button or using the screen) but it kept going all the way down.
So i turned it off and cleaned it a little bit just in case something was bothering the button from the outside, or if the system was stuck. Then when I opened it and it still thought that the down button was pressed so it sent me to fast boot. Somehow I managed to boot it properly and now it seems to be okay, but i think it will happen again.
Is it a hardware or a software error? if there’s nothing I can do about it I might need to buy a new one.