Android keeps the battery at 80% for most of the night, only charging it to 100% 1-2 hours before your alarm time. That way, you start the day with a full battery, but it isn't needlessly kept at 100% for an extra 6 hours or so where you almost certainly won't need it.
It's hard to say what contributed most (the charging strategy, more durable batteries, better battery life in general) but battery life has not been a concern at all, even on days with heavy use. Even if I forget/fail to charge in one night, I'm usually OK.
The article says that the author ran out because they were "without a charger for most of the day" - is it normal that a new-ish iPhone, even if charged "only" to 80%, needs to be charged during the day?!?