For maintenance, this is a solution that works well if you don't have a repair stand
Adjust the seat height even with the handlebars. Get 2 small sections of 2 x 4's (12" should do fine, but they could be longer or shorter.)
Invert the bike, rest the grips on the 2 x 4's and you're good to go! The 2 x 4's lift the handlebars off the ground to protect the shifter and button controls. Take a look at this photo: