The battery needs to be replaced or this MacBook needs to be plugged in to operate past 2 hours.