How you practice matters more than if you practice.
You know the saying, you are what you eat? Well, as you practice so you'll play....
What is your purpose?
1. Are you working out a passage in a new piece of music? Analyze things BEFORE touching the piano! Know what you are about to hear before you play. Know what you are aiming to accomplish.
2 . Are you practicing familiar music to maintain your current repertoire? If practice involves repetitions, prepare mentally before each mindful execution.
3. Are you playing for pleasure? Play artistically, please! No need to allow the ego boast of your abilities. Let the music speak for itself. You are an instrument, after all, the channel for the music.