Make sure you are playing as the home team. You will bat in the bottom of the inning. Get the power up by throwing strikes.
During all your other at bats just bunt the ball so the computer doesn't get power as well.
At the bottom of the last inning, if the score is tied, activate your power and make contact with the ball to hit a home run.