iPad 8th generation rose gold the volume up button and power button stopped working

And some times the iPad goes on and off otherwise

Works perfectly most of the time

So don’t know what’s wrong if you know how to fix it

Can be a great deal for you