If you're doing 1-2 hour rides in your local area, the phone will do the job just fine. Start adding sensors to the bike, and going on longer rides, and a dedicated computer is a better solution. I did ~5 hours today, and my phone went through about 30% of it's battery doing nothing but playing Pandora. Ride apps like Strava devour battery.
__________________