C'mon, it beats out the S3 almost by 4 hours, over 35% improvement.
Anyway, GSM Arena did a deep long comparison test between the S4 and the HTC One with some very interesting results.
GSM Arena | Samsung Galaxy S4 vs. HTC One: Army of two
In design/HW it's a tie, HTC wins for the looks and built, S4 for small size, bigger screen and replaceable battery. It also takes the screen victory due to more contrast, improvement on natural colors and brightness and better outdoor legibility due to less reflectibitly despite the One is brighter. The Galaxy wins the battery race but it's tight if you're a heavy user, TouchWiz & features beat Sense. The HTC takes the audio and video quality W but in a surprise the S4 wins in low light by capturing more details - both needed several shots to get one results sharp and the One's OIS helped, but S4 takes the category as well is normal and good light, it's just a great overall sensor.
Conclusion is: it's not about who won more categories but which matter to you. GSMA review coming later this week.